|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.recon.cluster.radial.cl.CalCellCollection
Collection of hit calorimeter cells (cells arise from a binning of detector elements) used to form clusters. Although formally public, this class is in spirit internal to RadialCluster.
RadialClusterBuilder
Inner Class Summary | |
class |
CalCellCollection.CalCell
Nested class for individual cell in a collection. |
Field Summary | |
protected CalCellCollection.CalCell[] |
m_cells
|
protected Hashtable |
m_table
|
protected boolean |
sorted
|
Constructor Summary | |
CalCellCollection(Calorimeter detBrl,
Calorimeter detEc,
CellWidths widths)
Constructor for case when cell binning and detector segmentation can all be supplied at once. |
|
CalCellCollection(CellWidths widths)
Save cell binning information supplied in |
Method Summary | |
void |
addToCell(CalorimeterHit hit)
Find appropriate cell; add argument hit to it |
void |
clearAll()
Get ready for next event |
void |
SetDetectors(Calorimeter detBrl,
Calorimeter detEc)
Once detector segmentation is known, can do a bunch of initialization. |
void |
setFileOutput(PrintWriter pw)
Determine if we write to a file or not Method for setting file for diagnostic output. |
void |
setOutput(PrintWriter jasOut)
Method for allowing diagnostic output, typically to console |
void |
showDetectorDerived()
Diagnostic |
void |
sortByEnergy()
Sort each cell subcollection (i.e., one subcollection per layer bin) w.r.t energy. |
void |
sortByEnergy(int layerBin)
Sorts one of the subcollections (for single layer bin) by energy |
void |
sortCells()
For each layer group, sort cells by energy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Hashtable m_table
protected CalCellCollection.CalCell[] m_cells
protected boolean sorted
Constructor Detail |
public CalCellCollection(CellWidths widths)
widths
- CellWidths
public CalCellCollection(Calorimeter detBrl, Calorimeter detEc, CellWidths widths)
Method Detail |
public void SetDetectors(Calorimeter detBrl, Calorimeter detEc)
public void showDetectorDerived()
public void setFileOutput(PrintWriter pw)
public void setOutput(PrintWriter jasOut)
public void sortByEnergy()
public void sortByEnergy(int layerBin)
public void addToCell(CalorimeterHit hit)
public void sortCells()
public void clearAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |