#include <ETLDeviceSim.h>
Public Member Functions | |
ETLDeviceSim (const edm::ParameterSet &pset, edm::ConsumesCollector iC) | |
void | getEvent (const edm::Event &evt) |
void | getEventSetup (const edm::EventSetup &evt) |
void | getHitsResponse (const std::vector< std::tuple< int, uint32_t, float > > &hitRefs, const edm::Handle< edm::PSimHitContainer > &hits, mtd_digitizer::MTDSimHitDataAccumulator *simHitAccumulator, CLHEP::HepRandomEngine *hre) |
Private Attributes | |
const bool | applyDegradation_ |
float | bxTime_ |
const reco::FormulaEvaluator | fluence_ |
const MTDGeometry * | geom_ |
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > | geomToken_ |
const float | integratedLum_ |
const reco::FormulaEvaluator | lgadGain_ |
const reco::FormulaEvaluator | lgadGainDegradation_ |
float | MIPPerMeV_ |
const reco::FormulaEvaluator | MPVElectron_ |
const reco::FormulaEvaluator | MPVKaon_ |
const reco::FormulaEvaluator | MPVMuon_ |
const reco::FormulaEvaluator | MPVPion_ |
const reco::FormulaEvaluator | MPVProton_ |
float | tofDelay_ |
Definition at line 23 of file ETLDeviceSim.h.
ETLDeviceSim::ETLDeviceSim | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 15 of file ETLDeviceSim.cc.
|
inline |
Definition at line 27 of file ETLDeviceSim.h.
void ETLDeviceSim::getEventSetup | ( | const edm::EventSetup & | evt | ) |
Definition at line 32 of file ETLDeviceSim.cc.
References geom_, geomToken_, and edm::EventSetup::getData().
void ETLDeviceSim::getHitsResponse | ( | const std::vector< std::tuple< int, uint32_t, float > > & | hitRefs, |
const edm::Handle< edm::PSimHitContainer > & | hits, | ||
mtd_digitizer::MTDSimHitDataAccumulator * | simHitAccumulator, | ||
CLHEP::HepRandomEngine * | hre | ||
) |
Definition at line 34 of file ETLDeviceSim.cc.
References funct::abs(), applyDegradation_, bxTime_, ALCARECOTkAlJpsiMuMu_cff::charge, cuy::col, angle_units::operators::convertGeVToMeV(), angle_units::operators::convertMmToCm(), TauDecayModes::dec, hcalRecHitTable_cff::detId, reco::FormulaEvaluator::evaluate(), Exception, fluence_, DetId::Forward, PedestalClient_cfi::gain, geom_, hfClusterShapes_cfi::hits, mps_fire::i, MTDGeometry::idToDet(), integratedLum_, RectangularMTDTopology::isInPixel(), lgadGain_, lgadGainDegradation_, LogTrace, METSkim_cff::Max, MIPPerMeV_, MPVElectron_, MPVKaon_, MPVMuon_, MPVPion_, MPVProton_, PbPb_ZMuSkimMuonDPG_cff::particleType, RectangularMTDTopology::pixelIndex(), position, CosmicsPD_Skims::radius, DetId::rawId(), ProxyMTDTopology::specificTopology(), tofDelay_, GeomDet::toGlobal(), GeomDet::topology(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 44 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 45 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 41 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 38 of file ETLDeviceSim.h.
Referenced by getEventSetup(), and getHitsResponse().
|
private |
Definition at line 37 of file ETLDeviceSim.h.
Referenced by getEventSetup().
|
private |
Definition at line 40 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 42 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 43 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 39 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 50 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 49 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 47 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 48 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 51 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 46 of file ETLDeviceSim.h.
Referenced by getHitsResponse().