CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCSimParam.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSimParam_h
2 #define RPCDigitizer_RPCSimParam_h
3 
13 
14 class RPCGeometry;
15 
16 namespace CLHEP {
17  class HepRandomEngine;
18  class RandFlat;
19  class RandPoissonQ;
20 }
21 
22 class RPCSimParam : public RPCSim
23 {
24  public:
26  ~RPCSimParam();
27 
28  void simulate(const RPCRoll* roll,
29  const edm::PSimHitContainer& rpcHits);
30 
31  void simulateNoise(const RPCRoll*);
32 
33  void setRandomEngine(CLHEP::HepRandomEngine& eng);
34 
35  private:
36  void init(){};
37  private:
38  double aveEff;
39  double aveCls;
40  double resRPC;
41  double timOff;
42  double dtimCs;
43  double resEle;
44  double sspeed;
45  double lbGate;
47 
48  int N_hits;
49  int nbxing;
50  double rate;
51  double gate;
52 
54 
55  // CLHEP::HepRandomEngine* rndEngine;
56  CLHEP::RandFlat* flatDistribution_;
57  CLHEP::RandFlat* flatDistribution1;
58  CLHEP::RandFlat* flatDistribution2;
59  CLHEP::RandPoissonQ *poissonDistribution;
60 };
61 #endif
bool rpcdigiprint
Definition: RPCSimParam.h:46
double resEle
Definition: RPCSimParam.h:43
CLHEP::RandFlat * flatDistribution1
Definition: RPCSimParam.h:57
double aveEff
Definition: RPCSimParam.h:36
double gate
Definition: RPCSimParam.h:51
CLHEP::RandPoissonQ * poissonDistribution
Definition: RPCSimParam.h:59
double aveCls
Definition: RPCSimParam.h:39
double resRPC
Definition: RPCSimParam.h:40
void simulateNoise(const RPCRoll *)
Definition: RPCSimParam.cc:138
Definition: RPCSim.h:27
double dtimCs
Definition: RPCSimParam.h:42
void setRandomEngine(CLHEP::HepRandomEngine &eng)
Definition: RPCSimParam.cc:48
double timOff
Definition: RPCSimParam.h:41
double lbGate
Definition: RPCSimParam.h:45
CLHEP::RandFlat * flatDistribution2
Definition: RPCSimParam.h:58
CLHEP::RandFlat * flatDistribution_
Definition: RPCSimParam.h:56
void init()
Definition: RPCSimParam.h:36
std::vector< PSimHit > PSimHitContainer
RPCSynchronizer * _rpcSync
Definition: RPCSimParam.h:53
RPCSimParam(const edm::ParameterSet &config)
Definition: RPCSimParam.cc:19
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits)
Definition: RPCSimParam.cc:67
double rate
Definition: RPCSimParam.h:50
double sspeed
Definition: RPCSimParam.h:44