Hall-D Software
alpha
|
class DFDCCathodeCluster_factory: defines a JFactory for producing groups of cathode strips that form a cluster More...
#include <DFDCCathodeCluster_factory.h>
Public Member Functions | |
DFDCCathodeCluster_factory () | |
DFDCCathodeCluster_factory::DFDCCathodeCluster_factory(): default constructor–initializes log file. More... | |
~DFDCCathodeCluster_factory () | |
DFDCCathodeCluster_factory::~DFDCCathodeCluster_factory(): default destructor–closes log file. More... | |
void | pique (vector< const DFDCHit * > &h) |
DFDCCathodeCluster_factory::pique(): takes a single layer's worth of cathode hits and attempts to create DFDCCathodeClusters by grouping together hits with consecutive strip numbers. More... | |
Protected Member Functions | |
jerror_t | evnt (JEventLoop *eventLoop, uint64_t eventNo) |
DFDCCathodeCluster_factory::evnt(): This (along with DFDCCathodeCluster_factory::pique()) is the place cathode hits are associated into cathode clusters. This function should eventually be modified to do more sophisticated peak finding. More... | |
jerror_t | init (void) |
Initialization. More... | |
Private Attributes | |
JStreamLog * | _log |
double | TIME_SLICE |
class DFDCCathodeCluster_factory: defines a JFactory for producing groups of cathode strips that form a cluster
Definition at line 27 of file DFDCCathodeCluster_factory.h.
DFDCCathodeCluster_factory::DFDCCathodeCluster_factory | ( | ) |
DFDCCathodeCluster_factory::DFDCCathodeCluster_factory(): default constructor–initializes log file.
Definition at line 67 of file DFDCCathodeCluster_factory.cc.
References _log.
DFDCCathodeCluster_factory::~DFDCCathodeCluster_factory | ( | ) |
DFDCCathodeCluster_factory::~DFDCCathodeCluster_factory(): default destructor–closes log file.
Definition at line 75 of file DFDCCathodeCluster_factory.cc.
References _log.
|
protected |
DFDCCathodeCluster_factory::evnt(): This (along with DFDCCathodeCluster_factory::pique()) is the place cathode hits are associated into cathode clusters. This function should eventually be modified to do more sophisticated peak finding.
DFDCCathodeCluster_factory::evnt(): This (along with DFDCCathodeCluster_factory::pique()) is the place cathode hits are associated into cathode clusters.
Definition at line 93 of file DFDCCathodeCluster_factory.cc.
References DFDCCathodeCluster_gPlane_cmp(), DFDCHit_cmp(), DFDCHit_element_cmp(), pique(), and TIME_SLICE.
|
protected |
void DFDCCathodeCluster_factory::pique | ( | vector< const DFDCHit * > & | h | ) |
DFDCCathodeCluster_factory::pique(): takes a single layer's worth of cathode hits and attempts to create DFDCCathodeClusters by grouping together hits with consecutive strip numbers.
Find clusters within cathode plane.
Upon entry, the vector "H" should already be sorted by strip number and should only contains hits from the same plane that are in time with each other. This will form clusters from all contiguous strips.
Definition at line 208 of file DFDCCathodeCluster_factory.cc.
References DFDCCathodeCluster::gLayer, DFDCHit::gLayer, DFDCHit::gPlane, DFDCCathodeCluster::gPlane, DFDCCathodeCluster::members, DFDCHit::plane, DFDCCathodeCluster::plane, and DFDCCathodeCluster::q_tot.
Referenced by evnt().
|
private |
Definition at line 59 of file DFDCCathodeCluster_factory.h.
Referenced by DFDCCathodeCluster_factory(), and ~DFDCCathodeCluster_factory().
|
private |
Definition at line 60 of file DFDCCathodeCluster_factory.h.