test
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 
23 #include <set>
24 
25 class PSimHit;
26 class RPCSimSetUp;
27 
28 namespace edm{
29  class ParameterSet;
30 }
31 
32 namespace CLHEP {
33  class HepRandomEngine;
34 }
35 
37 {
38  public:
41 
42  int getSimHitBx(const PSimHit*, CLHEP::HepRandomEngine*);
43  int getSimHitBxAndTimingForIRPC(const PSimHit*, CLHEP::HepRandomEngine*);
44  void setRPCSimSetUp(RPCSimSetUp *simsetup){theSimSetUp = simsetup;}
46  double getExactTime() const {return the_exact_time;}
47  double getSmearedTime() const {return the_smeared_time;}
48 
49  private:
50  double resRPC;
51  double timOff;
52  double dtimCs;
53  double resEle;
54  double sspeed;
55  double cspeed;
56  double lbGate;
57  double lbGateNew;
58  double cosmicPar;
59  double LHCGate;
60  bool cosmics;
66 };
67 #endif
RPCSimSetUp * theSimSetUp
double getExactTime() const
void setRPCSimSetUp(RPCSimSetUp *simsetup)
RPCSynchronizer(const edm::ParameterSet &config)
int getSimHitBx(const PSimHit *, CLHEP::HepRandomEngine *)
double getSmearedTime() const
RPCSimSetUp * getRPCSimSetUp()
double irpc_electronics_jitter
int getSimHitBxAndTimingForIRPC(const PSimHit *, CLHEP::HepRandomEngine *)