#include <HcalTDC.h>
Public Member Functions | |
double | getThreshold () const |
unsigned int | getThresholdDAC () |
HcalTDC (double threshold_currentTDC=0.) | |
std::vector< int > | leadingEdgeTDC (const CaloSamples &lf) const |
void | setDbService (const HcalDbService *service) |
the Producer will probably update this every event More... | |
void | setThresholdDAC (unsigned int DAC) |
void | timing (const CaloSamples &lf, QIE11DataFrame &digi) const |
void | timing (const CaloSamples &lf, QIE10DataFrame &digi) const |
~HcalTDC () | |
Private Attributes | |
double const | lsb |
unsigned int | theDAC |
const HcalDbService * | theDbService |
HcalTDCParameters | theTDCParameters |
double | threshold_currentTDC_ |
HcalTDC::HcalTDC | ( | double | threshold_currentTDC = 0. | ) |
Definition at line 7 of file HcalTDC.cc.
HcalTDC::~HcalTDC | ( | ) |
Definition at line 10 of file HcalTDC.cc.
|
inline |
|
inline |
std::vector< int > HcalTDC::leadingEdgeTDC | ( | const CaloSamples & | lf | ) | const |
Definition at line 33 of file HcalTDC.cc.
References HcalTDCParameters::alreadyTransitionCode(), HcalTDCParameters::deltaT(), getThreshold(), mps_fire::i, HcalTDCParameters::nbins(), HcalTDCParameters::noTransitionCode(), CaloSamples::preciseAt(), CaloSamples::preciseSize(), mps_fire::result, CaloSamples::size(), and theTDCParameters.
Referenced by timing().
void HcalTDC::setDbService | ( | const HcalDbService * | service | ) |
the Producer will probably update this every event
Definition at line 99 of file HcalTDC.cc.
References theDbService.
Referenced by HcalElectronicsSim::setDbService().
|
inline |
void HcalTDC::timing | ( | const CaloSamples & | lf, |
QIE11DataFrame & | digi | ||
) | const |
adds timing information to the digi template <class digi>="">
Definition at line 13 of file HcalTDC.cc.
References gpuClustering::adc, leadingEdgeTDC(), QIE11DataFrame::setSample(), and CaloSamples::size().
Referenced by HcalElectronicsSim::analogToDigital().
void HcalTDC::timing | ( | const CaloSamples & | lf, |
QIE10DataFrame & | digi | ||
) | const |
Definition at line 22 of file HcalTDC.cc.
References QIE10DataFrame::Sample::adc(), QIE10DataFrame::Sample::capid(), leadingEdgeTDC(), QIE10DataFrame::Sample::ok(), QIE10DataFrame::setSample(), CaloSamples::size(), and QIE10DataFrame::Sample::soi().
|
private |
Definition at line 41 of file HcalTDC.h.
Referenced by getThresholdDAC(), and setThresholdDAC().
|
private |
Definition at line 39 of file HcalTDC.h.
Referenced by setDbService().
|
private |
Definition at line 35 of file HcalTDC.h.
Referenced by leadingEdgeTDC().