#include <BTLDeviceSim.h>
Public Member Functions | |
BTLDeviceSim (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 float | bxTime_ |
const MTDGeometry * | geom_ |
const edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > | geomToken_ |
const float | LightCollEff_ |
const float | LightCollSlopeL_ |
const float | LightCollSlopeR_ |
const float | LightYield_ |
const float | PDE_ |
const MTDTopology * | topo_ |
const edm::ESGetToken< MTDTopology, MTDTopologyRcd > | topoToken_ |
Definition at line 23 of file BTLDeviceSim.h.
BTLDeviceSim::BTLDeviceSim | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 15 of file BTLDeviceSim.cc.
|
inline |
Definition at line 27 of file BTLDeviceSim.h.
void BTLDeviceSim::getEventSetup | ( | const edm::EventSetup & | evt | ) |
Definition at line 27 of file BTLDeviceSim.cc.
References geom_, geomToken_, edm::EventSetup::getData(), topo_, and topoToken_.
void BTLDeviceSim::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 32 of file BTLDeviceSim.cc.
References bxTime_, cuy::col, BTLDetId::column(), geant_units::operators::convertGeVToMeV(), geant_units::operators::convertMmToCm(), MTDTopologyMode::crysLayoutFromTopoMode(), TauDecayModes::dec, DetId::det(), Exception, DetId::Forward, BTLDetId::geographicalId(), geom_, MTDTopology::getMTDTopologyMode(), hfClusterShapes_cfi::hits, MTDGeometry::idToDet(), mtd_digitizer::kInTimeBX, mtd_digitizer::kNumberOfBX, LightCollEff_, LightCollSlopeL_, LightCollSlopeR_, LightYield_, MTDDetId::mtdSubDetector(), PDE_, DetId::rawId(), BTLDetId::row(), ProxyMTDTopology::specificTopology(), topo_, GeomDet::topology(), and hit::x.
|
private |
Definition at line 42 of file BTLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 39 of file BTLDeviceSim.h.
Referenced by getEventSetup(), and getHitsResponse().
|
private |
Definition at line 37 of file BTLDeviceSim.h.
Referenced by getEventSetup().
|
private |
Definition at line 44 of file BTLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 47 of file BTLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 46 of file BTLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 43 of file BTLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 48 of file BTLDeviceSim.h.
Referenced by getHitsResponse().
|
private |
Definition at line 40 of file BTLDeviceSim.h.
Referenced by getEventSetup(), and getHitsResponse().
|
private |
Definition at line 38 of file BTLDeviceSim.h.
Referenced by getEventSetup().