CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCSynchronizer.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSynchronizer_h
2 #define RPCDigitizer_RPCSynchronizer_h
3 
11 #include<cstring>
12 #include<iostream>
13 #include<fstream>
14 #include<string>
15 #include<vector>
16 #include<stdlib.h>
17 
18 //#include "CLHEP/config/CLHEP.h"
19 #include "CLHEP/Random/Random.h"
20 #include "CLHEP/Random/RandFlat.h"
21 #include "CLHEP/Random/RandGaussQ.h"
22 #include "CLHEP/Random/RandPoissonQ.h"
23 
29 #include <set>
30 
31 class PSimHit;
32 class RPCSimSetUp;
33 
34 namespace edm{
35  class ParameterSet;
36 }
37 
38 namespace CLHEP {
39  class RandGaussianQ;
40  class RandPoissonQ;
41  class RandFlat;
42 }
43 
45 {
46  public:
49 
50  int getSimHitBx(const PSimHit*);
51  void setRPCSimSetUp(RPCSimSetUp *simsetup){theSimSetUp = simsetup;}
53 
54  void setRandomEngine(CLHEP::HepRandomEngine& eng);
55 
56  private:
57 
58  double resRPC;
59  double timOff;
60  double dtimCs;
61  double resEle;
62  double sspeed;
63  double cspeed;
64  double lbGate;
65  double lbGateNew;
66  double cosmicPar;
67 
68  bool cosmics;
69 
70  CLHEP::RandGaussQ *gauss1;
71  CLHEP::RandGaussQ *gauss2;
73 
74 };
75 #endif
76 
RPCSimSetUp * theSimSetUp
CLHEP::RandGaussQ * gauss1
void setRPCSimSetUp(RPCSimSetUp *simsetup)
RPCSynchronizer(const edm::ParameterSet &config)
RPCSimSetUp * getRPCSimSetUp()
CLHEP::RandGaussQ * gauss2
int getSimHitBx(const PSimHit *)
void setRandomEngine(CLHEP::HepRandomEngine &eng)