#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 | |
float | bxTime_ |
const MTDGeometry * | geom_ |
const edm::ESGetToken < MTDGeometry, MTDDigiGeometryRecord > | geomToken_ |
float | MIPPerMeV_ |
float | tofDelay_ |
Definition at line 21 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 25 of file ETLDeviceSim.h.
void ETLDeviceSim::getEventSetup | ( | const edm::EventSetup & | evt | ) |
Definition at line 22 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 24 of file ETLDeviceSim.cc.
References bxTime_, RecoTauCleanerPlugins::charge, cuy::col, angle_units::operators::convertGeVToMeV(), angle_units::operators::convertMmToCm(), TauDecayModes::dec, Exception, DetId::Forward, geom_, mps_fire::i, MTDGeometry::idToDet(), RectangularMTDTopology::isInPixel(), MIPPerMeV_, ETLDetId::modType(), ETLDetId::module(), MTDDetId::mtdRR(), MTDDetId::mtdSide(), RectangularMTDTopology::pixel(), DetId::rawId(), ProxyMTDTopology::specificTopology(), and tofDelay_.
|
private |
Definition at line 39 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 36 of file ETLDeviceSim.h.
Referenced by getEventSetup(), and getHitsResponse().
|
private |
Definition at line 35 of file ETLDeviceSim.h.
Referenced by getEventSetup().
|
private |
Definition at line 38 of file ETLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 40 of file ETLDeviceSim.h.
Referenced by getHitsResponse().