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

#include <JEventProcessor_BCAL_TDC_Timing.h>

+ Inheritance diagram for JEventProcessor_BCAL_TDC_Timing:

Classes

class  readout_channel
 
class  timewalk_coefficients
 

Public Member Functions

 JEventProcessor_BCAL_TDC_Timing ()
 
 ~JEventProcessor_BCAL_TDC_Timing ()
 
const char * className (void)
 

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

uint32_t VERBOSE
 
uint32_t VERBOSEHISTOGRAMS
 
double Z_TARGET
 
map< readout_channel,
timewalk_coefficients
tdc_timewalk_map
 

Detailed Description

Definition at line 15 of file JEventProcessor_BCAL_TDC_Timing.h.

Constructor & Destructor Documentation

JEventProcessor_BCAL_TDC_Timing::JEventProcessor_BCAL_TDC_Timing ( )

Definition at line 49 of file JEventProcessor_BCAL_TDC_Timing.cc.

References VERBOSE.

JEventProcessor_BCAL_TDC_Timing::~JEventProcessor_BCAL_TDC_Timing ( )

Definition at line 64 of file JEventProcessor_BCAL_TDC_Timing.cc.

Member Function Documentation

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

Called everytime a new run number is detected.

Read in initial calibration constants and write to root file for use in later calibration

Definition at line 82 of file JEventProcessor_BCAL_TDC_Timing.cc.

References counter, Fill1DWeightedHistogram(), DApplication::GetDGeometry(), DGeometry::GetTargetZ(), japp, printf(), and Z_TARGET.

const char* JEventProcessor_BCAL_TDC_Timing::className ( void  )
inline

Definition at line 19 of file JEventProcessor_BCAL_TDC_Timing.h.

jerror_t JEventProcessor_BCAL_TDC_Timing::erun ( void  )
private

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

Definition at line 1049 of file JEventProcessor_BCAL_TDC_Timing.cc.

jerror_t JEventProcessor_BCAL_TDC_Timing::fini ( void  )
private

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

Definition at line 1060 of file JEventProcessor_BCAL_TDC_Timing.cc.

References SortDirectories().

jerror_t JEventProcessor_BCAL_TDC_Timing::init ( void  )
private

Called once at program start.

Definition at line 72 of file JEventProcessor_BCAL_TDC_Timing.cc.

Member Data Documentation

map<readout_channel,timewalk_coefficients> JEventProcessor_BCAL_TDC_Timing::tdc_timewalk_map
private

Definition at line 61 of file JEventProcessor_BCAL_TDC_Timing.h.

uint32_t JEventProcessor_BCAL_TDC_Timing::VERBOSE
private

Definition at line 28 of file JEventProcessor_BCAL_TDC_Timing.h.

uint32_t JEventProcessor_BCAL_TDC_Timing::VERBOSEHISTOGRAMS
private

Definition at line 29 of file JEventProcessor_BCAL_TDC_Timing.h.

double JEventProcessor_BCAL_TDC_Timing::Z_TARGET
private

Definition at line 31 of file JEventProcessor_BCAL_TDC_Timing.h.


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