#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 |
RPCSim * | theRPCSim |
RPCSimSetUp * | theSimSetUp |
Digitizer class for RPC
Definition at line 33 of file IRPCDigitizer.h.
Definition at line 36 of file IRPCDigitizer.h.
IRPCDigitizer::IRPCDigitizer | ( | const edm::ParameterSet & | config | ) |
Definition at line 12 of file IRPCDigitizer.cc.
References reco::get(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theName, theNoise, and theRPCSim.
IRPCDigitizer::~IRPCDigitizer | ( | ) |
void IRPCDigitizer::doAction | ( | MixCollection< PSimHit > & | simHits, |
RPCDigiCollection & | rpcDigis, | ||
RPCDigiSimLinks & | rpcDigiSimLink, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 24 of file IRPCDigitizer.cc.
References MixCollection< T >::begin(), MixCollection< T >::end(), Exception, RPCSim::fillDigis(), edm::DetSetVector< T >::insert(), alignCSCRings::r, RPCGeometry::rolls(), RPCSim::rpcDigiSimLinks(), RPCSim::setRPCSimSetUp(), RPCSim::simulate(), RPCSim::simulateNoise(), 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 67 of file IRPCDigitizer.cc.
References assert(), RPCGeometry::idToDetUnit(), RPCDetId, and theGeometry.
|
inline |
|
inline |
sets geometry
Definition at line 47 of file IRPCDigitizer.h.
References relativeConstraints::geom, and theGeometry.
Referenced by RPCandIRPCDigiProducer::beginRun().
|
inline |
Definition at line 49 of file IRPCDigitizer.h.
References theSimSetUp.
Referenced by RPCandIRPCDigiProducer::beginRun().
|
private |
Definition at line 57 of file IRPCDigitizer.h.
Referenced by doAction(), findDet(), and setGeometry().
|
private |
Definition at line 60 of file IRPCDigitizer.h.
Referenced by IRPCDigitizer().
|
private |
Definition at line 61 of file IRPCDigitizer.h.
Referenced by doAction(), and IRPCDigitizer().
|
private |
Definition at line 58 of file IRPCDigitizer.h.
Referenced by doAction(), IRPCDigitizer(), and ~IRPCDigitizer().
|
private |
Definition at line 59 of file IRPCDigitizer.h.
Referenced by doAction(), getRPCSimSetUp(), and setRPCSimSetUp().