#include <RPCDigitizer.h>
Public Types | |
typedef edm::DetSetVector < RPCDigiSimLink > | RPCDigiSimLinks |
Public Member Functions | |
void | doAction (MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink) |
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, CLHEP::HepRandomEngine &) | |
void | setGeometry (const RPCGeometry *geom) |
sets geometry More... | |
void | setRPCSimSetUp (RPCSimSetUp *simsetup) |
~RPCDigitizer () | |
Private Attributes | |
const RPCGeometry * | theGeometry |
std::string | theName |
bool | theNoise |
RPCSim * | theRPCSim |
RPCSimSetUp * | theSimSetUp |
Digitizer class for RPC
Definition at line 28 of file RPCDigitizer.h.
Definition at line 31 of file RPCDigitizer.h.
RPCDigitizer::RPCDigitizer | ( | const edm::ParameterSet & | config, |
CLHEP::HepRandomEngine & | eng | ||
) |
Definition at line 12 of file RPCDigitizer.cc.
References reco::get(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theName, theNoise, and theRPCSim.
RPCDigitizer::~RPCDigitizer | ( | ) |
void RPCDigitizer::doAction | ( | MixCollection< PSimHit > & | simHits, |
RPCDigiCollection & | rpcDigis, | ||
RPCDigiSimLinks & | rpcDigiSimLink | ||
) |
digitize
Definition at line 25 of file RPCDigitizer.cc.
References MixCollection< T >::begin(), MixCollection< T >::end(), edm::hlt::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 RPCDigiProducer::produce().
const RPCRoll * RPCDigitizer::findDet | ( | int | detId | ) | const |
finds the rpc det unit in the geometry associated with this det ID
Definition at line 64 of file RPCDigitizer.cc.
References RPCGeometry::idToDetUnit(), RPCDetId, and theGeometry.
|
inline |
|
inline |
sets geometry
Definition at line 44 of file RPCDigitizer.h.
References relativeConstraints::geom, and theGeometry.
Referenced by RPCDigiProducer::beginRun().
|
inline |
Definition at line 46 of file RPCDigitizer.h.
References theSimSetUp.
Referenced by RPCDigiProducer::beginRun().
|
private |
Definition at line 54 of file RPCDigitizer.h.
Referenced by doAction(), findDet(), and setGeometry().
|
private |
Definition at line 57 of file RPCDigitizer.h.
Referenced by RPCDigitizer().
|
private |
Definition at line 58 of file RPCDigitizer.h.
Referenced by doAction(), and RPCDigitizer().
|
private |
Definition at line 55 of file RPCDigitizer.h.
Referenced by doAction(), RPCDigitizer(), and ~RPCDigitizer().
|
private |
Definition at line 56 of file RPCDigitizer.h.
Referenced by doAction(), getRPCSimSetUp(), and setRPCSimSetUp().