#include <SimpleElectronicsSimInMIPs.h>
Public Member Functions | |
void | getEvent (const edm::Event &evt) |
void | getEventSetup (const edm::EventSetup &evt) |
void | run (const ftl::FTLSimHitDataAccumulator &input, FTLDigiCollection &output) const |
void | runTrivialShaper (FTLDataFrame &dataFrame, const ftl::FTLSimHitData &chargeColl, const ftl::FTLSimHitData &toa) const |
SimpleElectronicsSimInMIPs (const edm::ParameterSet &pset) | |
void | updateOutput (FTLDigiCollection &coll, const FTLDataFrame &rawDataFrame) const |
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 15 of file SimpleElectronicsSimInMIPs.h.
SimpleElectronicsSimInMIPs::SimpleElectronicsSimInMIPs | ( | const edm::ParameterSet & | pset | ) |
Definition at line 7 of file SimpleElectronicsSimInMIPs.cc.
|
inline |
Definition at line 19 of file SimpleElectronicsSimInMIPs.h.
|
inline |
Definition at line 21 of file SimpleElectronicsSimInMIPs.h.
References coll, input, convertSQLitetoXML_cfg::output, run(), runTrivialShaper(), and updateOutput().
void SimpleElectronicsSimInMIPs::run | ( | const ftl::FTLSimHitDataAccumulator & | input, |
FTLDigiCollection & | output | ||
) | const |
Definition at line 17 of file SimpleElectronicsSimInMIPs.cc.
References f, mps_fire::i, runTrivialShaper(), and updateOutput().
Referenced by getEventSetup().
void SimpleElectronicsSimInMIPs::runTrivialShaper | ( | FTLDataFrame & | dataFrame, |
const ftl::FTLSimHitData & | chargeColl, | ||
const ftl::FTLSimHitData & | toa | ||
) | const |
Definition at line 49 of file SimpleElectronicsSimInMIPs.cc.
References ecalMGPA::adc(), adcLSB_MIP_, adcSaturation_MIP_, adcThreshold_MIP_, debug, debug_, createfilelist::int, min(), mps_alisetup::msg, FTLDataFrameT< D, S >::print(), FTLSample::set(), FTLDataFrameT< D, S >::setSample(), and toaLSB_ns_.
Referenced by getEventSetup(), and run().
void SimpleElectronicsSimInMIPs::updateOutput | ( | FTLDigiCollection & | coll, |
const FTLDataFrame & | rawDataFrame | ||
) | const |
Definition at line 79 of file SimpleElectronicsSimInMIPs.cc.
References FTLDataFrameT< D, S >::id(), edm::SortedCollection< T, SORT >::push_back(), FTLDataFrameT< D, S >::resize(), and FTLDataFrameT< D, S >::size().
Referenced by getEventSetup(), and run().
|
private |
Definition at line 42 of file SimpleElectronicsSimInMIPs.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 38 of file SimpleElectronicsSimInMIPs.h.
|
private |
Definition at line 41 of file SimpleElectronicsSimInMIPs.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 43 of file SimpleElectronicsSimInMIPs.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 35 of file SimpleElectronicsSimInMIPs.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 38 of file SimpleElectronicsSimInMIPs.h.
|
private |
Definition at line 44 of file SimpleElectronicsSimInMIPs.h.
Referenced by runTrivialShaper().