CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCSimTriv.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSimTriv_h
2 #define RPCDigitizer_RPCSimTriv_h
3 
12 
13 class RPCGeometry;
14 
15 namespace CLHEP {
16  class HepRandomEngine;
17  class RandFlat;
18  class RandPoissonQ;
19 }
20 
21 class RPCSimTriv : public RPCSim
22 {
23  public:
25  ~RPCSimTriv();
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 
39  int N_hits;
40  int nbxing;
41  double rate;
42  double gate;
43 
44  // CLHEP::HepRandomEngine* rndEngine;
45  CLHEP::RandFlat* flatDistribution1;
46  CLHEP::RandFlat* flatDistribution2;
47  CLHEP::RandPoissonQ *poissonDistribution;
48 };
49 #endif
CLHEP::RandPoissonQ * poissonDistribution
Definition: RPCSimTriv.h:47
RPCSimTriv(const edm::ParameterSet &config)
Definition: RPCSimTriv.cc:24
void simulateNoise(const RPCRoll *)
Definition: RPCSimTriv.cc:76
void setRandomEngine(CLHEP::HepRandomEngine &eng)
Definition: RPCSimTriv.cc:33
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits)
Definition: RPCSimTriv.cc:48
int N_hits
Definition: RPCSimTriv.h:39
void init()
Definition: RPCSimTriv.h:35
Definition: RPCSim.h:27
CLHEP::RandFlat * flatDistribution1
Definition: RPCSimTriv.h:45
double gate
Definition: RPCSimTriv.h:42
RPCSynchronizer * _rpcSync
Definition: RPCSimTriv.h:35
int nbxing
Definition: RPCSimTriv.h:40
tuple config
Definition: cmsDriver.py:17
std::vector< PSimHit > PSimHitContainer
double rate
Definition: RPCSimTriv.h:41
CLHEP::RandFlat * flatDistribution2
Definition: RPCSimTriv.h:46