|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.util.driver.AbstractProcessor | +--hep.lcd.recon.cluster.radial.RadialClusterBuilder
RadialClusterBuilder first assigns all hits with energy above a settable "ignore" threshold to a cell (size of cells is configurable, but default is four layers deep and two detector elements wide in phi and theta). Then clusters of cells are built radially outward by looking for touching cells - in preceding radial slice - in same slice as current cell It is possible to discard clusters none of whose hits are above another settable threshold ("nucleus" threshold energy). All energy thresholds default to 0.0.
Fields inherited from class hep.lcd.util.driver.AbstractProcessor |
context |
Constructor Summary | |
RadialClusterBuilder()
Default (and only) constructor for class RadialClusterBuilder. |
Method Summary | |
int |
checkMC(Enumeration eClus,
String label,
boolean dbg)
Make some statistics on how many MC particles are included in a single cluster. |
ClusterList |
getEMClusterRejects()
Return list of EM cluster rejects which did not make the EMNucleusEnergy cut. |
ClusterList |
getEMClusterRejects(double hitEnergyCut)
Return list of EM cluster rejects as the parameter cut value. |
ClusterList |
getEMClusters()
Returns the list of EM clusters satisfying the nucleus energy cut as configured. |
ClusterList |
getEMClusters(double hitEnergyCut)
Returns the list of EM clusters satisfying the specified nucleus energy cut. |
double |
getEMIgnoreEnergy()
|
ClusterList |
getHADClusterRejects()
Return list of HAD cluster rejects which did not make the HADNucleusEnergy cut. |
ClusterList |
getHADClusterRejects(double hitEnergyCut)
Return list of HAD cluster rejects as the parameter cut value. |
ClusterList |
getHADClusters()
Returns the list of HAD clusters satisfying the nucleus energy cut as configured. |
ClusterList |
getHADClusters(double hitEnergyCut)
Returns the list of HAD clusters satisfying the specified nucleus energy cut. |
double |
getHADIgnoreEnergy()
|
void |
process(LCDEvent header)
Build clusters from calorimeter hits in event header. |
void |
Reinit()
Get detector parameters. |
void |
setEMBinning(int phi,
int theta,
int layer)
Set cell size for EM clustering. |
void |
setEMIgnoreEnergy(double energy)
Set EM threshold that hits below this energy will be ignored by clustering process. |
void |
setEMNucleusEnergy(double energy)
Set EM threshold such that clusters with no hit above the threshold are not included in the list of good EM clusters. |
void |
setFileOutput(PrintWriter prWr)
Write diagnostic output |
void |
setHADBinning(int phi,
int theta,
int layer)
Set cell size for HAD clustering. |
void |
setHADIgnoreEnergy(double energy)
Set HAD threshold that hits below this energy will be ignored by clustering process. |
void |
setHADNucleusEnergy(double energy)
Set HAD threshold such that clusters with no hit above the threshold are not included in the list of good HAD clusters. |
void |
setPutToEvent(boolean put)
Set whether or not clusters should be added to event. |
Methods inherited from class hep.lcd.util.driver.AbstractProcessor |
clearContext, getDebugLevel, getDebugStream, getHistogramLevel, getName, getParameterFile, getParameters, getParameters, getRandom, histogram, init, setContext, setDetector, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RadialClusterBuilder()
Method Detail |
public void Reinit()
public void process(LCDEvent header)
header
- event header for current eventpublic int checkMC(Enumeration eClus, String label, boolean dbg)
eClus
- An enumeration of clusterslabel
- Used in title string for histogramsdbg
- If true additional output is writtenpublic double getEMIgnoreEnergy()
public double getHADIgnoreEnergy()
public void setFileOutput(PrintWriter prWr)
prWr
- PrintWriter to which output will be writtenpublic void setEMBinning(int phi, int theta, int layer)
public void setHADBinning(int phi, int theta, int layer)
public void setEMIgnoreEnergy(double energy)
public void setHADIgnoreEnergy(double energy)
public void setEMNucleusEnergy(double energy)
public void setHADNucleusEnergy(double energy)
public void setPutToEvent(boolean put)
put
- If true clusters are added to event.public ClusterList getEMClusters()
public ClusterList getEMClusters(double hitEnergyCut)
public ClusterList getHADClusters()
public ClusterList getHADClusters(double hitEnergyCut)
public ClusterList getEMClusterRejects()
public ClusterList getEMClusterRejects(double hitEnergyCut)
hitEnergyCut
- Only candidate clusters with no hits above
this value are returned.public ClusterList getHADClusterRejects()
public ClusterList getHADClusterRejects(double hitEnergyCut)
hitEnergyCut
- Only candidate clusters with no hits above
this value are returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |