#include <DTAGHHit_factory_Calib.h>
|
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...
|
|
Definition at line 15 of file DTAGHHit_factory_Calib.h.
DTAGHHit_factory_Calib::DTAGHHit_factory_Calib |
( |
| ) |
|
|
inline |
DTAGHHit_factory_Calib::~DTAGHHit_factory_Calib |
( |
| ) |
|
|
inline |
jerror_t DTAGHHit_factory_Calib::brun |
( |
jana::JEventLoop * |
eventLoop, |
|
|
int32_t |
runnumber |
|
) |
| |
|
private |
jerror_t DTAGHHit_factory_Calib::erun |
( |
void |
| ) |
|
|
private |
jerror_t DTAGHHit_factory_Calib::evnt |
( |
jana::JEventLoop * |
eventLoop, |
|
|
uint64_t |
eventnumber |
|
) |
| |
|
private |
Called every event.
Generate DTAGHHit object for each DTAGHDigiHit 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 118 of file DTAGHHit_factory_Calib.cc.
References c0, c1, c2, c3, DTTabUtilities::CheckFADC250_NoErrors(), DTTabUtilities::CheckFADC250_PedestalOK(), DTTabUtilities::Convert_DigiTimeToNs_F1TDC(), counter, DTAGHDigiHit::counter_id, DTAGHTDCDigiHit::counter_id, DTAGHHit::counter_id, DTAGHHit::E, DTAGHGeometry::getEhigh(), DTAGHGeometry::getElow(), DTAGHHit::has_fADC, DTAGHHit::has_TDC, DTAGHHit::integral, DTAGHHit::is_double, DTAGHHit::npe_fadc, DTAGHDigiHit::nsamples_integral, DTAGHDigiHit::nsamples_pedestal, DTAGHDigiHit::pedestal, pedestal, DTAGHDigiHit::pulse_integral, DTAGHHit::pulse_peak, DTAGHDigiHit::pulse_peak, DTAGHDigiHit::pulse_time, DTAGHDigiHit::QF, DTAGHHit::t, t_base, t_tdc_base, tdc_time_offsets, DTAGHHit::time_fadc, and DTAGHHit::time_tdc.
jerror_t DTAGHHit_factory_Calib::fini |
( |
void |
| ) |
|
|
private |
jerror_t DTAGHHit_factory_Calib::init |
( |
void |
| ) |
|
|
private |
bool DTAGHHit_factory_Calib::load_ccdb_constants |
( |
std::string |
table_name, |
|
|
std::string |
column_name, |
|
|
double |
table[TAGH_MAX_COUNTER+1] |
|
) |
| |
const char* DTAGHHit_factory_Calib::Tag |
( |
void |
| ) |
|
|
inline |
double DTAGHHit_factory_Calib::ADC_THRESHOLD |
bool DTAGHHit_factory_Calib::CHECK_FADC_ERRORS |
|
private |
double DTAGHHit_factory_Calib::DELTA_T_ADC_TDC_MAX |
double DTAGHHit_factory_Calib::fadc_a_scale |
double DTAGHHit_factory_Calib::fadc_t_scale |
const int DTAGHHit_factory_Calib::k_counter_bad = 2 |
|
static |
const int DTAGHHit_factory_Calib::k_counter_dead = 0 |
|
static |
const int DTAGHHit_factory_Calib::k_counter_good = 1 |
|
static |
const int DTAGHHit_factory_Calib::k_counter_noisy = 3 |
|
static |
double DTAGHHit_factory_Calib::t_base |
double DTAGHHit_factory_Calib::t_tdc_base |
The documentation for this class was generated from the following files: