CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCSimSimple.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSimSimple_h
2 #define RPCDigitizer_RPCSimSimple_h
3 
12 
13 class RPCGeometry;
14 
15 namespace CLHEP {
16  class HepRandomEngine;
17  class RandFlat;
18  class RandPoissonQ;
19 }
20 
21 class RPCSimSimple : public RPCSim
22 {
23  public:
25  ~RPCSimSimple();
26 
27  void simulate(const RPCRoll* roll,
28  const edm::PSimHitContainer& rpcHits);
29 
30  void simulateNoise(const RPCRoll*);
31 
32  void setRandomEngine(CLHEP::HepRandomEngine& eng);
33 
34  private:
35  void init(){};
36 
38  int N_hits;
39  int nbxing;
40  double rate;
41  double gate;
42 
43  CLHEP::RandFlat* flatDistribution1;
44  CLHEP::RandFlat* flatDistribution2;
45  CLHEP::RandPoissonQ *poissonDistribution;
46 };
47 #endif
CLHEP::RandFlat * flatDistribution2
Definition: RPCSimSimple.h:44
void setRandomEngine(CLHEP::HepRandomEngine &eng)
Definition: RPCSimSimple.cc:37
RPCSynchronizer * _rpcSync
Definition: RPCSimSimple.h:35
void simulateNoise(const RPCRoll *)
Definition: RPCSimSimple.cc:81
CLHEP::RandPoissonQ * poissonDistribution
Definition: RPCSimSimple.h:45
RPCSimSimple(const edm::ParameterSet &config)
Definition: RPCSimSimple.cc:28
Definition: RPCSim.h:27
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits)
Definition: RPCSimSimple.cc:54
std::vector< PSimHit > PSimHitContainer
CLHEP::RandFlat * flatDistribution1
Definition: RPCSimSimple.h:43