public final class EmcalMipStubs extends Driver
MipStub
which is
filled into the event. Name of event entry is in emcalMipStubsListName
.
The default is EmcalMipStubs
.MipStub
,
GarfieldTrackFinder
Driver.AbortRunException, Driver.NextEventException
Modifier and Type | Field and Description |
---|---|
private AIDA |
aida |
(package private) static double |
alphaFactor |
(package private) static double |
barrelRadius |
private CircleFromPoints |
cir |
(package private) static double |
cosThetaEndcap |
(package private) boolean |
createStubTrackList |
private int |
debugLevel |
private double |
deltaR |
(package private) static String |
emcalMipStubsListName |
private double[] |
endP |
private int |
evtNo |
(package private) static double |
k_cm |
private double |
lmax |
private double |
lmin |
private double[] |
mdlP |
private int |
minEcalHits |
private int |
minLayer |
private int |
minLayerCut |
(package private) static double |
rotationalKappaCompensation |
private double[] |
strtP |
private double[] |
tempBase |
private double[] |
tempDir |
private boolean |
useSecondMipStub |
private boolean |
useThirdMipStub |
HLEVEL_DEFAULT, HLEVEL_FULL, HLEVEL_HIGH, HLEVEL_NORMAL, HLEVEL_OFF
Constructor and Description |
---|
EmcalMipStubs(String listName,
int debugL) |
Modifier and Type | Method and Description |
---|---|
MipStub |
createMipStub(IDDecoder theCell,
Cluster c)
KSU default algorithm to create a MipStub from an ECAL cluster.
|
MipStub |
createMipStubFromFit(IDDecoder theCell,
Cluster c) |
MipStub |
createMipStubKyoko(IDDecoder theCell,
Cluster c) |
MipStub |
createMipStubSimple(IDDecoder theCell,
Cluster c)
simple approach to create a MipStub from an ECAL cluster uses Start and Endpoint of cluster
|
MipStub |
createMipStubStraight(IDDecoder theCell,
Cluster c) |
MipStub |
createUIowaMipstub(IDDecoder theCell,
Cluster c)
Interface to U.
|
private double |
getAngleBaseDir(double[] base,
double[] dir) |
boolean |
isEndcap(Cluster c) |
boolean |
isMipStub(EventHeader event,
Cluster c)
returns true if c is deemed to contain a MipStub
|
private double |
norm(double[] x) |
void |
process(EventHeader event)
process event and create list of Mipstubs.
|
void |
setCreateStubTrackList(boolean val) |
void |
setDebugLevel(int i)
controls amount of debug text output and test histograms, =0 not output, >0 debug output
|
void |
setMinEcalHits(int i)
Minimum number of ECAL hits needed to accept a cluster as a MipStub candidate.
|
void |
setMinLayerCut(int val) |
private void |
setStartEndPoint(IDDecoder theCell,
Cluster c,
boolean isEndcap) |
void |
setUseSecondMipStub(boolean val) |
void |
setUseThirdMipStub(boolean val) |
static void |
sort(double[] x,
double[] y,
double[] z,
int n) |
add, clearStatistics, contains, detectorChanged, drivers, endOfData, getConditionsManager, getHistogramLevel, getLogger, getName, getRandom, printStatistics, processChildren, remove, resume, setHistogramLevel, setLogLevel, setRandom, startOfData, suspend
private AIDA aida
private int debugLevel
private int minEcalHits
private int evtNo
private boolean useSecondMipStub
private boolean useThirdMipStub
private double[] tempBase
private double[] tempDir
private double[] strtP
private double[] mdlP
private double[] endP
private double lmax
private double lmin
private double deltaR
private int minLayer
private CircleFromPoints cir
static final double k_cm
static final double barrelRadius
static final double rotationalKappaCompensation
private int minLayerCut
boolean createStubTrackList
static final double cosThetaEndcap
static final double alphaFactor
static String emcalMipStubsListName
public EmcalMipStubs(String listName, int debugL)
debugL
- debugLevel. =0 not debug Output, =3 some outputpublic void setMinEcalHits(int i)
public void setDebugLevel(int i)
public boolean isMipStub(EventHeader event, Cluster c)
public boolean isEndcap(Cluster c)
public void process(EventHeader event)
process
in class Driver
event
- The event to be processedDriver.NextEventException
,
Driver.AbortRunException
public MipStub createUIowaMipstub(IDDecoder theCell, Cluster c)
public MipStub createMipStub(IDDecoder theCell, Cluster c)
public MipStub createMipStubSimple(IDDecoder theCell, Cluster c)
private double norm(double[] x)
public static void sort(double[] x, double[] y, double[] z, int n)
private double getAngleBaseDir(double[] base, double[] dir)
public void setMinLayerCut(int val)
public void setCreateStubTrackList(boolean val)
public void setUseSecondMipStub(boolean val)
public void setUseThirdMipStub(boolean val)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.