#include <BTLElectronicsSim.h>
Public Member Functions | |
BTLElectronicsSim (const edm::ParameterSet &pset) | |
void | getEvent (const edm::Event &evt) |
void | getEventSetup (const edm::EventSetup &evt) |
void | run (const mtd::MTDSimHitDataAccumulator &input, BTLDigiCollection &output, CLHEP::HepRandomEngine *hre) const |
void | runTrivialShaper (BTLDataFrame &dataFrame, const mtd::MTDSimHitData &chargeColl, const mtd::MTDSimHitData &toa1, const mtd::MTDSimHitData &toa2) const |
void | updateOutput (BTLDigiCollection &coll, const BTLDataFrame &rawDataFrame) const |
Static Public Attributes | |
static int | dfSIZE = 5 |
Private Member Functions | |
float | sigma2_pe (const float &Q, const float &R) const |
Private Attributes | |
const float | adcLSB_MIP_ |
const uint32_t | adcNbits_ |
const float | adcSaturation_MIP_ |
const float | adcThreshold_MIP_ |
const BTLPulseShape | btlPulseShape_ |
const float | ChannelTimeOffset_ |
const float | DarkCountRate_ |
const float | DCRxRiseTime_ |
const bool | debug_ |
const float | EnergyThreshold_ |
const float | Npe_to_pC_ |
const float | Npe_to_V_ |
const float | ReferencePulseNpe_ |
const float | ScintillatorDecayTime2_ |
const float | ScintillatorDecayTime_ |
const float | ScintillatorRiseTime_ |
const float | SigmaClock2_ |
const float | SigmaClock_ |
const float | SigmaElectronicNoise2_ |
const float | SigmaElectronicNoise_ |
const float | SinglePhotonTimeResolution_ |
const float | smearChannelTimeOffset_ |
const float | SPTR2_ |
const uint32_t | tdcNbits_ |
const float | TimeThreshold1_ |
const float | TimeThreshold2_ |
const float | toaLSB_ns_ |
Definition at line 21 of file BTLElectronicsSim.h.
BTLElectronicsSim::BTLElectronicsSim | ( | const edm::ParameterSet & | pset | ) |
Definition at line 11 of file BTLElectronicsSim.cc.
|
inline |
Definition at line 25 of file BTLElectronicsSim.h.
|
inline |
Definition at line 27 of file BTLElectronicsSim.h.
References coll, input, convertSQLitetoXML_cfg::output, and findQualityFiles::run.
void BTLElectronicsSim::run | ( | const mtd::MTDSimHitDataAccumulator & | input, |
BTLDigiCollection & | output, | ||
CLHEP::HepRandomEngine * | hre | ||
) | const |
Definition at line 41 of file BTLElectronicsSim.cc.
References btlPulseShape_, ChannelTimeOffset_, DCRxRiseTime_, EnergyThreshold_, f, mps_fire::i, Npe_to_pC_, Npe_to_V_, ReferencePulseNpe_, runTrivialShaper(), ScintillatorDecayTime2_, sigma2_pe(), SigmaClock2_, SigmaElectronicNoise2_, smearChannelTimeOffset_, SPTR2_, mathSSE::sqrt(), MTDShapeBase::timeAtThr(), create_public_lumi_plots::times, hcalSimParameters_cfi::timeSmearing, TimeThreshold1_, TimeThreshold2_, and updateOutput().
void BTLElectronicsSim::runTrivialShaper | ( | BTLDataFrame & | dataFrame, |
const mtd::MTDSimHitData & | chargeColl, | ||
const mtd::MTDSimHitData & | toa1, | ||
const mtd::MTDSimHitData & | toa2 | ||
) | const |
Definition at line 129 of file BTLElectronicsSim.cc.
References ecalMGPA::adc(), adcLSB_MIP_, adcSaturation_MIP_, adcThreshold_MIP_, debug, debug_, createfilelist::int, min(), mps_check::msg, FTLDataFrameT< D, S >::print(), BTLSample::set(), FTLDataFrameT< D, S >::setSample(), and toaLSB_ns_.
Referenced by run().
|
private |
Definition at line 183 of file BTLElectronicsSim.cc.
References dttmaxenums::R.
Referenced by run().
void BTLElectronicsSim::updateOutput | ( | BTLDigiCollection & | coll, |
const BTLDataFrame & | rawDataFrame | ||
) | const |
Definition at line 165 of file BTLElectronicsSim.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 74 of file BTLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 70 of file BTLElectronicsSim.h.
|
private |
Definition at line 73 of file BTLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 75 of file BTLElectronicsSim.h.
Referenced by runTrivialShaper().
|
private |
Definition at line 84 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 53 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 62 of file BTLElectronicsSim.h.
|
private |
Definition at line 80 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 49 of file BTLElectronicsSim.h.
Referenced by runTrivialShaper().
|
static |
Definition at line 42 of file BTLElectronicsSim.h.
Referenced by updateOutput().
|
private |
Definition at line 56 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 66 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 67 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 59 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 78 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 52 of file BTLElectronicsSim.h.
|
private |
Definition at line 51 of file BTLElectronicsSim.h.
|
private |
Definition at line 82 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 64 of file BTLElectronicsSim.h.
|
private |
Definition at line 81 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 63 of file BTLElectronicsSim.h.
|
private |
Definition at line 61 of file BTLElectronicsSim.h.
|
private |
Definition at line 54 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 79 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 70 of file BTLElectronicsSim.h.
|
private |
Definition at line 57 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 58 of file BTLElectronicsSim.h.
Referenced by run().
|
private |
Definition at line 76 of file BTLElectronicsSim.h.
Referenced by runTrivialShaper().