CMS 3D CMS Logo

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 <cstdlib>
17 
22 #include <set>
23 
24 class PSimHit;
25 class RPCSimSetUp;
26 
27 namespace edm {
28  class ParameterSet;
29 }
30 
31 namespace CLHEP {
32  class HepRandomEngine;
33 }
34 
36 public:
39 
40  int getSimHitBx(const PSimHit*, CLHEP::HepRandomEngine*);
41  int getSimHitBxAndTimingForIRPC(const PSimHit*, CLHEP::HepRandomEngine*);
42  void setRPCSimSetUp(RPCSimSetUp* simsetup) { theSimSetUp = simsetup; }
44  double getExactTime() const { return the_exact_time; }
45  double getSmearedTime() const { return the_smeared_time; }
46 
47 private:
48  double resRPC;
49  double timOff;
50  double dtimCs;
51  double resEle;
52  double sspeed;
53  double cspeed;
54  double lbGate;
55  double lbGateNew;
56  double cosmicPar;
57  double LHCGate;
58  bool cosmics;
64  int N_BX;
65 };
66 #endif
RPCSimSetUp * theSimSetUp
double getSmearedTime() const
double getExactTime() const
void setRPCSimSetUp(RPCSimSetUp *simsetup)
Definition: config.py:1
RPCSynchronizer(const edm::ParameterSet &config)
int getSimHitBx(const PSimHit *, CLHEP::HepRandomEngine *)
RPCSimSetUp * getRPCSimSetUp()
double irpc_electronics_jitter
HLT enums.
int getSimHitBxAndTimingForIRPC(const PSimHit *, CLHEP::HepRandomEngine *)