#include <DTACHit_factory.h>
Definition at line 24 of file DTACHit_factory.h.
DTACHit_factory::DTACHit_factory |
( |
| ) |
|
|
inline |
virtual DTACHit_factory::~DTACHit_factory |
( |
| ) |
|
|
inlinevirtual |
static bool DTACHit_factory::addRun |
( |
int |
runNumber | ) |
|
|
inlinestatic |
virtual void DTACHit_factory::AppendData |
( |
DTACHit * |
hit | ) |
|
|
inlinevirtual |
jerror_t DTACHit_factory::brun |
( |
jana::JEventLoop * |
eventLoop, |
|
|
int32_t |
runnumber |
|
) |
| |
|
overridevirtual |
Called everytime a new run number is detected.
Read in calibration constants
Definition at line 63 of file DTACHit_factory.cc.
static bool DTACHit_factory::errorCheckIsNeededForFADC |
( |
| ) |
|
|
inlinestatic |
jerror_t DTACHit_factory::erun |
( |
void |
| ) |
|
|
overridevirtual |
Called everytime run number changes, if brun has been called.
Definition at line 334 of file DTACHit_factory.cc.
jerror_t DTACHit_factory::evnt |
( |
jana::JEventLoop * |
eventLoop, |
|
|
uint64_t |
eventnumber |
|
) |
| |
|
overridevirtual |
DTACHit * DTACHit_factory::findMatch |
( |
double |
tdcTime | ) |
|
|
virtual |
jerror_t DTACHit_factory::fini |
( |
void |
| ) |
|
|
overridevirtual |
Called after last event of last event source has been processed.
Definition at line 341 of file DTACHit_factory.cc.
double DTACHit_factory::getADCPedestal |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getADCTimeOffset |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getEnergyGain |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getEnergyScale |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getTDCTimeOffsets |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getTimeBaseADC |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getTimeBaseTDC |
( |
| ) |
const |
|
inline |
double DTACHit_factory::getTimeScaleADC |
( |
| ) |
const |
|
inline |
const std::vector<double>& DTACHit_factory::getTimeWalkParameters |
( |
| ) |
const |
|
inline |
jerror_t DTACHit_factory::init |
( |
void |
| ) |
|
|
overridevirtual |
void DTACHit_factory::makeFADCHits |
( |
jana::JEventLoop * |
loop, |
|
|
uint64_t |
eventnumber |
|
) |
| |
|
virtual |
Definition at line 146 of file DTACHit_factory.cc.
References DTTabUtilities::CheckFADC250_NoErrors(), DTTabUtilities::CheckFADC250_PedestalOK(), DTACHit::getTimeFADC(), pedestal, DTACHit::setE(), DTACHit::setFADCPresent(), DTACHit::setPulsePeak(), DTACHit::setT(), DTACHit::setTDCPresent(), DTACHit::setTimeFADC(), and DTACHit::setTimeTDC().
void DTACHit_factory::makeTDCHits |
( |
jana::JEventLoop * |
loop, |
|
|
uint64_t |
eventnumber |
|
) |
| |
|
virtual |
jerror_t DTACHit_factory::readCCDB |
( |
jana::JEventLoop * |
loop | ) |
|
|
virtual |
void DTACHit_factory::Reset_Data |
( |
void |
| ) |
|
|
virtual |
void DTACHit_factory::setADCPedestal |
( |
double |
adcPedestal = 100 | ) |
|
|
inline |
void DTACHit_factory::setADCTimeOffset |
( |
double |
adcTimeOffset = 0 | ) |
|
|
inline |
void DTACHit_factory::setEnergyGain |
( |
double |
energyGain = 1.0 | ) |
|
|
inline |
void DTACHit_factory::setEnergyScale |
( |
double |
energyScale = 1.0 | ) |
|
|
inline |
void DTACHit_factory::setTDCTimeOffsets |
( |
double |
tdcTimeOffsets = 0 | ) |
|
|
inline |
void DTACHit_factory::setTimeBaseADC |
( |
double |
timeBaseAdc = -130.0 | ) |
|
|
inline |
void DTACHit_factory::setTimeBaseTDC |
( |
double |
timeBaseTdc = -130 | ) |
|
|
inline |
void DTACHit_factory::setTimeScaleADC |
( |
double |
timeScaleAdc = 0.0625 | ) |
|
|
inline |
void DTACHit_factory::setTimeWalkParameters |
( |
const std::vector< double > & |
timeWalkParameters | ) |
|
|
inline |
double DTACHit_factory::adcPedestal = 100 |
|
protected |
double DTACHit_factory::adcTimeOffset = 0 |
|
protected |
set< int > DTACHit_factory::announcedRuns |
|
staticprotected |
bool DTACHit_factory::checkErrorsOnFADC = true |
|
staticprotected |
double DTACHit_factory::energyGain = 1.0 |
|
protected |
double DTACHit_factory::energyScale = 1.0 |
|
protected |
double DTACHit_factory::tdcTimeOffsets = 0 |
|
protected |
double DTACHit_factory::timeBaseADC = -130.0 |
|
protected |
double DTACHit_factory::timeBaseTDC = -130 |
|
protected |
double DTACHit_factory::timeDifferencInADCandTDC = 100 |
|
staticprotected |
double DTACHit_factory::timeScaleADC = 0.0625 |
|
protected |
vector<double> DTACHit_factory::timeWalkParameters { 9.27503, -0.548155, 20.48000, 328.0000 } |
|
protected |
double DTACHit_factory::timeWindowTDC = 50 |
|
staticprotected |
bool DTACHit_factory::useTimeWalkCorrections = false |
|
staticprotected |
The documentation for this class was generated from the following files: