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){
66 std::pair<int, int> digi(topology.channel(entr)+1,
90 area = striplength*(xmax-xmin);
98 area = striplength*(xmax-xmin);
110 std::pair<int, int> digi(strip,time_hit);
T getParameter(std::string const &) const
const Topology & topology() const
CLHEP::RandPoissonQ * poissonDistribution
virtual float stripLength() const
RPCSimTriv(const edm::ParameterSet &config)
DetectorHitMap theDetectorHitMap
void setRPCSimSetUp(RPCSimSetUp *simsetup)
void simulateNoise(const RPCRoll *)
void setRandomEngine(CLHEP::HepRandomEngine &eng)
RPCSimSetUp * getRPCSimSetUp()
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
int getSimHitBx(const PSimHit *)
void setRandomEngine(CLHEP::HepRandomEngine &eng)
RPCSynchronizer * _rpcSync
virtual LocalPoint localPosition(float strip) const
std::vector< PSimHit > PSimHitContainer
virtual LocalPoint localPosition(float strip) const
virtual float stripLength() const
det heigth (strip length in the middle)
RPCDigiSimLinks theRpcDigiSimLinks
CLHEP::RandFlat * flatDistribution2
const Topology & topology() const
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.