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

#include <DCDCHit_factory.h>

+ Inheritance diagram for DCDCHit_factory:

Classes

struct  cdchit_info_t
 

Public Member Functions

 DCDCHit_factory ()
 
 ~DCDCHit_factory ()
 

Public Attributes

int RemoveCorrelationHits
 
double CorrelationHitsCut
 
double CorrelatedHitPeak
 
int Disable_CDC_TimingCuts
 
double LowTCut
 
double HighTCut
 

Private Member Functions

jerror_t init (void)
 Called once at program start. More...
 
jerror_t brun (jana::JEventLoop *eventLoop, int32_t runnumber)
 Called everytime a new run number is detected. More...
 
jerror_t evnt (jana::JEventLoop *eventLoop, uint64_t eventnumber)
 Called every event. More...
 
jerror_t erun (void)
 Called everytime run number changes, provided brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 

Private Attributes

vector< const DTranslationTable * > ttab
 

Detailed Description

Definition at line 20 of file DCDCHit_factory.h.

Constructor & Destructor Documentation

DCDCHit_factory::DCDCHit_factory ( )
inline

Definition at line 22 of file DCDCHit_factory.h.

DCDCHit_factory::~DCDCHit_factory ( )
inline

Definition at line 23 of file DCDCHit_factory.h.

Member Function Documentation

jerror_t DCDCHit_factory::brun ( jana::JEventLoop *  eventLoop,
int32_t  runnumber 
)
private

Called everytime a new run number is detected.

Read in calibration constants

Definition at line 60 of file DCDCHit_factory.cc.

References Disable_CDC_TimingCuts, HighTCut, LowTCut, and ttab.

jerror_t DCDCHit_factory::erun ( void  )
private

Called everytime run number changes, provided brun has been called.

Definition at line 221 of file DCDCHit_factory.cc.

jerror_t DCDCHit_factory::fini ( void  )
private

Called after last event of last event source has been processed.

Definition at line 229 of file DCDCHit_factory.cc.

jerror_t DCDCHit_factory::init ( void  )
private

Called once at program start.

Definition at line 21 of file DCDCHit_factory.cc.

References CorrelatedHitPeak, CorrelationHitsCut, DIGI_THRESHOLD, Disable_CDC_TimingCuts, HighTCut, LowTCut, and RemoveCorrelationHits.

Member Data Documentation

double DCDCHit_factory::CorrelatedHitPeak

Definition at line 42 of file DCDCHit_factory.h.

Referenced by evnt(), and init().

double DCDCHit_factory::CorrelationHitsCut

Definition at line 41 of file DCDCHit_factory.h.

Referenced by evnt(), and init().

int DCDCHit_factory::Disable_CDC_TimingCuts

Definition at line 43 of file DCDCHit_factory.h.

Referenced by brun(), and init().

double DCDCHit_factory::HighTCut

Definition at line 47 of file DCDCHit_factory.h.

Referenced by brun(), evnt(), and init().

double DCDCHit_factory::LowTCut

Definition at line 46 of file DCDCHit_factory.h.

Referenced by brun(), evnt(), and init().

int DCDCHit_factory::RemoveCorrelationHits

Definition at line 40 of file DCDCHit_factory.h.

Referenced by evnt(), and init().

vector<const DTranslationTable *> DCDCHit_factory::ttab
private

Definition at line 56 of file DCDCHit_factory.h.

Referenced by brun(), and evnt().


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