Hall-D Software
alpha
|
#include <DDIRCPmtHit_factory.h>
Public Types | |
enum | dirc_status_state { GOOD, BAD, NOISY } |
Public Member Functions | |
DDIRCPmtHit_factory () | |
~DDIRCPmtHit_factory () | |
Public Attributes | |
vector< dirc_digi_constants_t > | time_offsets |
vector< dirc_digi_constants_s > | channel_status |
Static Public Attributes | |
static const int | DIRC_MAX_CHANNELS = 6912 |
Private Member Functions | |
jerror_t | init (void) |
Called once at program start.2. 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 | |
double | t_base [2] |
bool | applyTimeOffset |
bool | applyTimewalk |
Definition at line 21 of file DDIRCPmtHit_factory.h.
Enumerator | |
---|---|
GOOD | |
BAD | |
NOISY |
Definition at line 28 of file DDIRCPmtHit_factory.h.
|
inline |
Definition at line 23 of file DDIRCPmtHit_factory.h.
|
inline |
Definition at line 24 of file DDIRCPmtHit_factory.h.
|
private |
Called everytime a new run number is detected.
Definition at line 34 of file DDIRCPmtHit_factory.cc.
References t_base.
|
private |
Called everytime run number changes, provided brun has been called.
Definition at line 173 of file DDIRCPmtHit_factory.cc.
|
private |
Called every event.
Generate DDIRCPmtHit object for each DDIRCDigiHit object. This is where the first set of calibration constants is applied to convert from digitzed units into natural units.
Note that this code does NOT get called for simulated data in HDDM format. The HDDM event source will copy the precalibrated values directly into the _data vector.
Definition at line 76 of file DDIRCPmtHit_factory.cc.
References DDIRCPmtHit::ch, DDIRCTDCDigiHit::channel, DDIRCTDCDigiHit::edge, DDIRCPmtHit::t, t_base, DDIRCTDCDigiHit::time, and DDIRCPmtHit::tot.
|
private |
Called after last event of last event source has been processed.
Definition at line 181 of file DDIRCPmtHit_factory.cc.
|
private |
Called once at program start.2.
Definition at line 19 of file DDIRCPmtHit_factory.cc.
|
private |
Definition at line 46 of file DDIRCPmtHit_factory.h.
|
private |
Definition at line 46 of file DDIRCPmtHit_factory.h.
vector<dirc_digi_constants_s> DDIRCPmtHit_factory::channel_status |
Definition at line 36 of file DDIRCPmtHit_factory.h.
|
static |
Definition at line 26 of file DDIRCPmtHit_factory.h.
|
private |
Definition at line 45 of file DDIRCPmtHit_factory.h.
vector<dirc_digi_constants_t> DDIRCPmtHit_factory::time_offsets |
Definition at line 35 of file DDIRCPmtHit_factory.h.