#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 | setRandomEngine (CLHEP::HepRandomEngine &engine) |
void | setThresholdDAC (unsigned int DAC) |
void | timing (const CaloSamples &lf, HcalUpgradeDataFrame &digi) const |
adds timing information to the digi More... | |
~HcalTDC () | |
Private Member Functions | |
double | getThreshold (const HcalGenericDetId &detId) const |
Private Attributes | |
unsigned int | theDAC |
const HcalDbService * | theDbService |
CLHEP::RandGaussQ * | theRandGaussQ |
HcalTDCParameters | theTDCParameters |
HcalTDC::HcalTDC | ( | unsigned int | thresholdDAC = 12 | ) |
Definition at line 6 of file HcalTDC.cc.
HcalTDC::~HcalTDC | ( | ) |
|
private |
Definition at line 88 of file HcalTDC.cc.
References HcalTDCParameters::deltaT(), HcalDbService::getHcalCalibrations(), HcalDbService::getHcalCalibrationWidths(), HcalTDCParameters::nbins(), HcalCalibrationWidths::pedestal(), HcalCalibrations::pedestal(), theDAC, theDbService, theRandGaussQ, and theTDCParameters.
Referenced by timing().
|
inline |
void HcalTDC::setDbService | ( | const HcalDbService * | service | ) |
the Producer will probably update this every event
Definition at line 108 of file HcalTDC.cc.
References theDbService.
Referenced by HcalElectronicsSim::setDbService().
void HcalTDC::setRandomEngine | ( | CLHEP::HepRandomEngine & | engine | ) |
Definition at line 104 of file HcalTDC.cc.
References theRandGaussQ.
Referenced by HcalElectronicsSim::setRandomEngine().
|
inline |
void HcalTDC::timing | ( | const CaloSamples & | lf, |
HcalUpgradeDataFrame & | digi | ||
) | const |
adds timing information to the digi
Definition at line 15 of file HcalTDC.cc.
References HcalUpgradeDataFrame::adc(), HcalTDCParameters::alreadyTransitionCode(), getThreshold(), i, HcalUpgradeDataFrame::id(), HcalTDCParameters::nbins(), HcalTDCParameters::noTransitionCode(), CaloSamples::preciseAt(), CaloSamples::preciseSize(), HcalUpgradeDataFrame::setSample(), CaloSamples::size(), and theTDCParameters.
Referenced by HcalElectronicsSim::analogToDigital().
|
private |
Definition at line 32 of file HcalTDC.h.
Referenced by getThreshold(), getThresholdDAC(), and setThresholdDAC().
|
private |
Definition at line 30 of file HcalTDC.h.
Referenced by getThreshold(), and setDbService().
|
mutableprivate |
Definition at line 34 of file HcalTDC.h.
Referenced by getThreshold(), setRandomEngine(), and ~HcalTDC().
|
private |
Definition at line 29 of file HcalTDC.h.
Referenced by getThreshold(), and timing().