#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 bool | debug_ |
const uint32_t | tdcNbits_ |
const float | toaLSB_ns_ |
Definition at line 19 of file ETLElectronicsSim.h.
ETLElectronicsSim::ETLElectronicsSim | ( | const edm::ParameterSet & | pset | ) |
Definition at line 7 of file ETLElectronicsSim.cc.
|
inline |
Definition at line 23 of file ETLElectronicsSim.h.
|
inline |
Definition at line 25 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 18 of file ETLElectronicsSim.cc.
References f, mps_fire::i, runTrivialShaper(), and updateOutput().
void ETLElectronicsSim::runTrivialShaper | ( | ETLDataFrame & | dataFrame, |
const mtd::MTDSimHitData & | chargeColl, | ||
const mtd::MTDSimHitData & | toa | ||
) | const |
Definition at line 51 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 81 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 49 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 45 of file ETLElectronicsSim.h.
|
private |
Definition at line 48 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 50 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 42 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().
|
static |
Definition at line 38 of file ETLElectronicsSim.h.
Referenced by updateOutput().
|
private |
Definition at line 45 of file ETLElectronicsSim.h.
|
private |
Definition at line 51 of file ETLElectronicsSim.h.
Referenced by runTrivialShaper().