#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 |
std::string | theName |
bool | theNoise |
RPCSim * | theRPCSim |
RPCSimSetUp * | theSimSetUp |
Digitizer class for RPC
Definition at line 33 of file RPCDigitizer.h.
Definition at line 36 of file RPCDigitizer.h.
RPCDigitizer::RPCDigitizer | ( | const edm::ParameterSet & | config | ) |
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, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
digitize
Definition at line 24 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 50 of file RPCDigitizer.h.
References relativeConstraints::geom, and theGeometry.
Referenced by RPCDigiProducer::beginRun().
|
inline |
Definition at line 52 of file RPCDigitizer.h.
References theSimSetUp.
Referenced by RPCDigiProducer::beginRun().
|
private |
Definition at line 60 of file RPCDigitizer.h.
Referenced by doAction(), findDet(), and setGeometry().
|
private |
Definition at line 63 of file RPCDigitizer.h.
Referenced by RPCDigitizer().
|
private |
Definition at line 64 of file RPCDigitizer.h.
Referenced by doAction(), and RPCDigitizer().
|
private |
Definition at line 61 of file RPCDigitizer.h.
Referenced by doAction(), RPCDigitizer(), and ~RPCDigitizer().
|
private |
Definition at line 62 of file RPCDigitizer.h.
Referenced by doAction(), getRPCSimSetUp(), and setRPCSimSetUp().