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