12 #include "CLHEP/Random/RandomEngine.h"
13 #include "CLHEP/Random/RandFlat.h"
19 #include "CLHEP/Random/Random.h"
20 #include "CLHEP/Random/RandFlat.h"
21 #include "CLHEP/Random/RandPoissonQ.h"
58 for (edm::PSimHitContainer::const_iterator _hit = rpcHits.begin();
59 _hit != rpcHits.end(); ++_hit){
61 int type = _hit->particleType();
62 if (type == 13 || type == -13){
68 std::pair<int, int> digi(topology.channel(entr)+1,
T getParameter(std::string const &) const
CLHEP::RandPoissonQ * poissonDistribution
RPCSimTriv(const edm::ParameterSet &config)
DetectorHitMap theDetectorHitMap
void simulateNoise(const RPCRoll *)
void setRandomEngine(CLHEP::HepRandomEngine &eng)
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits)
const RPCRollSpecs * specs() const
std::set< std::pair< int, int > > strips
uint32_t rawId() const
get the raw id
edm::DetSet< RPCDigiSimLink > RPCDigiSimLinks
Container::value_type value_type
CLHEP::RandFlat * flatDistribution1
void setRandomEngine(CLHEP::HepRandomEngine &eng)
RPCSynchronizer * _rpcSync
std::vector< PSimHit > PSimHitContainer
RPCDigiSimLinks theRpcDigiSimLinks
CLHEP::RandFlat * flatDistribution2
const Topology & topology() const