#include <HcalTDC.h>
Public Member Functions | |
unsigned int | getThresholdDAC () |
HcalTDC (unsigned int thresholdDAC=12) | |
void | setDbService (const HcalDbService *service) |
the Producer will probably update this every event More... | |
void | setThresholdDAC (unsigned int DAC) |
template<class Digi > | |
void | timing (const CaloSamples &lf, Digi &digi, CLHEP::HepRandomEngine *) const |
adds timing information to the digi More... | |
~HcalTDC () | |
Private Member Functions | |
double | getHysteresisThreshold (double nominal) const |
double | getThreshold (const HcalGenericDetId &detId, CLHEP::HepRandomEngine *) const |
Private Attributes | |
double const | lsb |
unsigned int | theDAC |
const HcalDbService * | theDbService |
HcalTDCParameters | theTDCParameters |
HcalTDC::HcalTDC | ( | unsigned int | thresholdDAC = 12 | ) |
Definition at line 8 of file HcalTDC.cc.
HcalTDC::~HcalTDC | ( | ) |
Definition at line 13 of file HcalTDC.cc.
|
private |
|
private |
Definition at line 109 of file HcalTDC.cc.
References HcalTDCParameters::deltaT(), HcalDbService::getHcalCalibrations(), HcalDbService::getHcalCalibrationWidths(), lsb, HcalTDCParameters::nbins(), HcalCalibrationWidths::pedestal(), HcalCalibrations::pedestal(), EcalCondDBWriter_cfi::pedestal, theDAC, theDbService, and theTDCParameters.
Referenced by timing().
|
inline |
void HcalTDC::setDbService | ( | const HcalDbService * | service | ) |
the Producer will probably update this every event
Definition at line 133 of file HcalTDC.cc.
References theDbService.
Referenced by HcalElectronicsSim::setDbService().
|
inline |
void HcalTDC::timing | ( | const CaloSamples & | lf, |
Digi & | digi, | ||
CLHEP::HepRandomEngine * | engine | ||
) | const |
adds timing information to the digi
Definition at line 17 of file HcalTDC.cc.
References HcalTDCParameters::alreadyTransitionCode(), getThreshold(), i, HcalTDCParameters::nbins(), HcalTDCParameters::noTransitionCode(), CaloSamples::preciseAt(), CaloSamples::preciseSize(), CaloSamples::size(), and theTDCParameters.
|
private |
Definition at line 40 of file HcalTDC.h.
Referenced by getHysteresisThreshold(), and getThreshold().
|
private |
Definition at line 38 of file HcalTDC.h.
Referenced by getThreshold(), getThresholdDAC(), and setThresholdDAC().
|
private |
Definition at line 36 of file HcalTDC.h.
Referenced by getThreshold(), and setDbService().
|
private |
Definition at line 35 of file HcalTDC.h.
Referenced by getThreshold(), and timing().