#include <ETLElectronicsSim.h>
Public Member Functions | |
ETLElectronicsSim (const edm::ParameterSet &pset) | |
void | getEvent (const edm::Event &evt) |
void | getEventSetup (const edm::EventSetup &evt) |
void | run (const mtd::MTDSimHitDataAccumulator &input, ETLDigiCollection &output, CLHEP::HepRandomEngine *hre) const |
void | runTrivialShaper (ETLDataFrame &dataFrame, const mtd::MTDSimHitData &chargeColl, const mtd::MTDSimHitData &toa) const |
void | updateOutput (ETLDigiCollection &coll, const ETLDataFrame &rawDataFrame) const |
Static Public Attributes | |
static int | dfSIZE = 5 |
Private Attributes | |
const float | adcLSB_MIP_ |
const uint32_t | adcNbits_ |
const float | adcSaturation_MIP_ |
const float | adcThreshold_MIP_ |
const float | bxTime_ |
const bool | debug_ |
const reco::FormulaEvaluator | sigmaEta_ |
const uint32_t | tdcNbits_ |
const float | toaLSB_ns_ |
Definition at line 21 of file ETLElectronicsSim.h.
ETLElectronicsSim::ETLElectronicsSim | ( | const edm::ParameterSet & | pset | ) |
Definition at line 8 of file ETLElectronicsSim.cc.
|
inline |
Definition at line 25 of file ETLElectronicsSim.h.
|
inline |
Definition at line 27 of file ETLElectronicsSim.h.
References coll, input, convertSQLitetoXML_cfg::output, and findQualityFiles::run.
void ETLElectronicsSim::run | ( | const mtd::MTDSimHitDataAccumulator & | input, |
ETLDigiCollection & | output, | ||
CLHEP::HepRandomEngine * | hre | ||
) | const |
Definition at line 21 of file ETLElectronicsSim.cc.
References adcThreshold_MIP_, bxTime_, PVValHelper::eta, reco::FormulaEvaluator::evaluate(), f, mps_fire::i, runTrivialShaper(), sigmaEta_, and updateOutput().
void ETLElectronicsSim::runTrivialShaper | ( | ETLDataFrame & | dataFrame, |
const mtd::MTDSimHitData & | chargeColl, | ||
const mtd::MTDSimHitData & | toa | ||
) | const |
Definition at line 73 of file ETLElectronicsSim.cc.
References ecalMGPA::adc(), adcLSB_MIP_, adcSaturation_MIP_, adcThreshold_MIP_, debug, debug_, createfilelist::int, min(), mps_check::msg, FTLDataFrameT< D, S >::print(), ETLSample::set(), FTLDataFrameT< D, S >::setSample(), and toaLSB_ns_.
Referenced by run().
void ETLElectronicsSim::updateOutput | ( | ETLDigiCollection & | coll, |
const ETLDataFrame & | rawDataFrame | ||
) | const |
Definition at line 103 of file ETLElectronicsSim.cc.
References dfSIZE, FTLDataFrameT< D, S >::id(), edm::SortedCollection< T, SORT >::push_back(), FTLDataFrameT< D, S >::resize(), and FTLDataFrameT< D, S >::size().
Referenced by run().
|
private |
Definition at line 53 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 49 of file ETLElectronicsSim.h.
|
private |
Definition at line 52 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 54 of file ETLElectronicsSim.h.
Referenced by run(), and runTrivialShaper().
|
private |
Definition at line 45 of file ETLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 44 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
static |
Definition at line 40 of file ETLElectronicsSim.h.
Referenced by updateOutput().
|
private |
Definition at line 46 of file ETLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 49 of file ETLElectronicsSim.h.
|
private |
Definition at line 55 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().