#include <GEMDigitizer.h>
Public Types | |
typedef edm::DetSetVector < StripDigiSimLink > | StripDigiSimLinks |
Public Member Functions | |
void | digitize (MixCollection< PSimHit > &simHits, GEMDigiCollection &rpcDigis, StripDigiSimLinks &digiSimLinks) |
const GEMEtaPartition * | findDet (int detId) const |
finds the GEM det unit in the geometry associated with this det ID More... | |
GEMDigitizer (const edm::ParameterSet &config, CLHEP::HepRandomEngine &) | |
GEMSimSetUp * | getGEMSimSetUp () |
void | setGEMSimSetUp (GEMSimSetUp *simsetup) |
void | setGeometry (const GEMGeometry *geom) |
sets geometry More... | |
~GEMDigitizer () | |
Private Attributes | |
GEMSim * | gemSim_ |
const GEMGeometry * | geometry_ |
std::string | modelName_ |
GEMSimSetUp * | simSetUp_ |
Digitizer for GEM
Definition at line 28 of file GEMDigitizer.h.
Definition at line 32 of file GEMDigitizer.h.
GEMDigitizer::GEMDigitizer | ( | const edm::ParameterSet & | config, |
CLHEP::HepRandomEngine & | eng | ||
) |
Definition at line 11 of file GEMDigitizer.cc.
References gemSim_, reco::get(), edm::ParameterSet::getParameter(), modelName_, and AlCaHLTBitMon_QueryRunRegistry::string.
GEMDigitizer::~GEMDigitizer | ( | ) |
void GEMDigitizer::digitize | ( | MixCollection< PSimHit > & | simHits, |
GEMDigiCollection & | rpcDigis, | ||
StripDigiSimLinks & | digiSimLinks | ||
) |
Definition at line 25 of file GEMDigitizer.cc.
References GEMGeometry::etaPartitions(), edm::hlt::Exception, GEMSim::fillDigis(), gemSim_, geometry_, edm::DetSetVector< T >::insert(), AlCaHLTBitMon_ParallelJobs::p, GEMSim::setGEMSimSetUp(), simSetUp_, GEMSim::simulate(), GEMSim::simulateNoise(), and GEMSim::stripDigiSimLinks().
Referenced by GEMDigiProducer::produce().
const GEMEtaPartition * GEMDigitizer::findDet | ( | int | detId | ) | const |
finds the GEM det unit in the geometry associated with this det ID
Definition at line 60 of file GEMDigitizer.cc.
References geometry_, and GEMGeometry::idToDetUnit().
|
inline |
|
inline |
Definition at line 45 of file GEMDigitizer.h.
References simSetUp_.
Referenced by GEMDigiProducer::beginRun().
|
inline |
sets geometry
Definition at line 43 of file GEMDigitizer.h.
References relativeConstraints::geom, and geometry_.
Referenced by GEMDigiProducer::beginRun().
|
private |
Definition at line 55 of file GEMDigitizer.h.
Referenced by digitize(), GEMDigitizer(), and ~GEMDigitizer().
|
private |
Definition at line 54 of file GEMDigitizer.h.
Referenced by digitize(), findDet(), and setGeometry().
|
private |
Definition at line 57 of file GEMDigitizer.h.
Referenced by GEMDigitizer().
|
private |
Definition at line 56 of file GEMDigitizer.h.
Referenced by digitize(), getGEMSimSetUp(), and setGEMSimSetUp().