Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DFDCCathodeCluster_factory Class Reference

class DFDCCathodeCluster_factory: defines a JFactory for producing groups of cathode strips that form a cluster More...

#include <DFDCCathodeCluster_factory.h>

+ Inheritance diagram for DFDCCathodeCluster_factory:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

jerror_t DFDCCathodeCluster_factory::evnt ( JEventLoop *  eventLoop,
uint64_t  eventNo 
)
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.

jerror_t DFDCCathodeCluster_factory::init ( void  )
protected

Initialization.

Definition at line 82 of file DFDCCathodeCluster_factory.cc.

References TIME_SLICE.

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().

Member Data Documentation

JStreamLog* DFDCCathodeCluster_factory::_log
private
double DFDCCathodeCluster_factory::TIME_SLICE
private

Definition at line 60 of file DFDCCathodeCluster_factory.h.

Referenced by evnt(), and init().


The documentation for this class was generated from the following files: