Go to the documentation of this file.
15 theNoise =
config.getParameter<
bool>(
"doBkgNoise");
23 CLHEP::HepRandomEngine* engine) {
27 std::map<int, edm::PSimHitContainer> hitMap;
29 hitMap[hitItr->detUnitId()].push_back(*hitItr);
34 <<
"IRPCDigitizer requires the RPCGeometry \n which is not present in the configuration file. You must add "
35 "the service\n in the configuration file or remove the modules that require it.";
39 for (
auto r = rpcRolls.begin();
r != rpcRolls.end();
r++) {
51 theRPCSim->fillDigis((*r)->id(), rpcDigis);
59 return dynamic_cast<const RPCRoll*>(detUnit);
const RPCRoll * findDet(int detId) const
finds the rpc det unit in the geometry associated with this det ID
const RPCGeometry * theGeometry
IRPCDigitizer(const edm::ParameterSet &config)
RPCSimSetUp * theSimSetUp
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
void insert(detset const &s)
Insert the given DetSet.
std::unique_ptr< RPCSim > theRPCSim
std::vector< PSimHit > PSimHitContainer
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
void doAction(MixCollection< PSimHit > &simHits, RPCDigiCollection &rpcDigis, RPCDigiSimLinks &rpcDigiSimLink, CLHEP::HepRandomEngine *)