#include <RPCDigitizer.h>
Public Types | |
typedef edm::DetSetVector< RPCDigiSimLink > | RPCDigiSimLinks |
Public Member Functions | |
void | doAction (MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink, CLHEP::HepRandomEngine *) |
const RPCRoll * | findDet (int detId) const |
finds the rpc det unit in the geometry associated with this det ID More... | |
RPCSimSetUp * | getRPCSimSetUp () |
RPCDigitizer (const edm::ParameterSet &config) | |
void | setGeometry (const RPCGeometry *geom) |
sets geometry More... | |
void | setRPCSimSetUp (RPCSimSetUp *simsetup) |
~RPCDigitizer () | |
Private Attributes | |
const RPCGeometry * | theGeometry |
bool | theNoise |
std::unique_ptr< RPCSim > | theRPCSim |
RPCSimSetUp * | theSimSetUp |
Digitizer class for RPC
Definition at line 33 of file RPCDigitizer.h.
Definition at line 35 of file RPCDigitizer.h.
RPCDigitizer::RPCDigitizer | ( | const edm::ParameterSet & | config | ) |
Definition at line 12 of file RPCDigitizer.cc.
References get, and AlCaHLTBitMon_QueryRunRegistry::string.
|
default |
void RPCDigitizer::doAction | ( | MixCollection< PSimHit > & | simHits, |
RPCDigiCollection & | rpcDigis, | ||
RPCDigiSimLinks & | rpcDigiSimLink, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 19 of file RPCDigitizer.cc.
References Exception, l1ctLayer2EG_cff::id, edm::DetSetVector< T >::insert(), alignCSCRings::r, RPCGeometry::rolls(), FastTrackerRecHitCombiner_cfi::simHits, theGeometry, theNoise, theRPCSim, and theSimSetUp.
Referenced by RPCDigiProducer::produce(), and RPCandIRPCDigiProducer::produce().
const RPCRoll * RPCDigitizer::findDet | ( | int | detId | ) | const |
finds the rpc det unit in the geometry associated with this det ID
Definition at line 55 of file RPCDigitizer.cc.
References cms::cuda::assert(), hcalRecHitTable_cff::detId, RPCGeometry::idToDetUnit(), and theGeometry.
|
inline |
|
inline |
sets geometry
Definition at line 46 of file RPCDigitizer.h.
References relativeConstraints::geom, and theGeometry.
Referenced by RPCDigiProducer::beginRun(), and RPCandIRPCDigiProducer::beginRun().
|
inline |
Definition at line 48 of file RPCDigitizer.h.
References theSimSetUp.
Referenced by RPCDigiProducer::beginRun(), and RPCandIRPCDigiProducer::beginRun().
|
private |
Definition at line 56 of file RPCDigitizer.h.
Referenced by doAction(), findDet(), and setGeometry().
|
private |
Definition at line 59 of file RPCDigitizer.h.
Referenced by doAction().
|
private |
Definition at line 57 of file RPCDigitizer.h.
Referenced by doAction().
|
private |
Definition at line 58 of file RPCDigitizer.h.
Referenced by doAction(), getRPCSimSetUp(), and setRPCSimSetUp().