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

#include <DTAGHHit_factory.h>

+ Inheritance diagram for DTAGHHit_factory:

Public Member Functions

 DTAGHHit_factory ()
 
 ~DTAGHHit_factory ()
 

Private Member Functions

bool IsDoubleHit (double tdiff)
 
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, if brun has been called. More...
 
jerror_t fini (void)
 Called after last event of last event source has been processed. More...
 

Private Attributes

bool MERGE_DOUBLES
 
double DELTA_T_DOUBLES_MAX
 
size_t DELTA_ID_DOUBLES_MAX
 
int ID_DOUBLES_MAX
 
bool USE_SIDEBAND_DOUBLES
 
double dBeamBunchPeriod
 

Detailed Description

Definition at line 14 of file DTAGHHit_factory.h.

Constructor & Destructor Documentation

DTAGHHit_factory::DTAGHHit_factory ( )
inline

Definition at line 16 of file DTAGHHit_factory.h.

DTAGHHit_factory::~DTAGHHit_factory ( )
inline

Definition at line 17 of file DTAGHHit_factory.h.

Member Function Documentation

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

Called everytime a new run number is detected.

Definition at line 55 of file DTAGHHit_factory.cc.

jerror_t DTAGHHit_factory::erun ( void  )
private

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

Definition at line 126 of file DTAGHHit_factory.cc.

jerror_t DTAGHHit_factory::evnt ( jana::JEventLoop *  eventLoop,
uint64_t  eventnumber 
)
private

Called every event.

Definition at line 67 of file DTAGHHit_factory.cc.

References DTAGHHit::counter_id, DTAGHHit_SortByID(), DTAGHHit::has_fADC, DTAGHHit::is_double, and DTAGHHit::t.

jerror_t DTAGHHit_factory::fini ( void  )
private

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

Definition at line 134 of file DTAGHHit_factory.cc.

jerror_t DTAGHHit_factory::init ( void  )
private

Called once at program start.

Definition at line 26 of file DTAGHHit_factory.cc.

bool DTAGHHit_factory::IsDoubleHit ( double  tdiff)
private

Definition at line 113 of file DTAGHHit_factory.cc.

Member Data Documentation

double DTAGHHit_factory::dBeamBunchPeriod
private

Definition at line 27 of file DTAGHHit_factory.h.

size_t DTAGHHit_factory::DELTA_ID_DOUBLES_MAX
private

Definition at line 23 of file DTAGHHit_factory.h.

double DTAGHHit_factory::DELTA_T_DOUBLES_MAX
private

Definition at line 22 of file DTAGHHit_factory.h.

int DTAGHHit_factory::ID_DOUBLES_MAX
private

Definition at line 24 of file DTAGHHit_factory.h.

bool DTAGHHit_factory::MERGE_DOUBLES
private

Definition at line 17 of file DTAGHHit_factory.h.

bool DTAGHHit_factory::USE_SIDEBAND_DOUBLES
private

Definition at line 25 of file DTAGHHit_factory.h.


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