CMS 3D CMS Logo

RPCSimModelTiming.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSimModelTiming_h
2 #define RPCDigitizer_RPCSimModelTiming_h
3 
14 
15 #include<cstring>
16 #include<iostream>
17 #include<fstream>
18 #include<string>
19 #include<vector>
20 #include<cstdlib>
24 
25 class RPCGeometry;
26 
27 namespace CLHEP {
28  class HepRandomEngine;
29 }
30 
31 class RPCSimModelTiming : public RPCSim
32 {
33  public:
35  ~RPCSimModelTiming() override;
36  void simulate(const RPCRoll* roll,
37  const edm::PSimHitContainer& rpcHits,
38  CLHEP::HepRandomEngine*) override;
39  void simulateNoise(const RPCRoll*,
40  CLHEP::HepRandomEngine*) override;
41  int getClSize(uint32_t id,float posX, CLHEP::HepRandomEngine*);
42  int LeftRightNeighbour(const RPCRoll& roll, const LocalPoint & hit_pos, int strip);
43 
44  protected:
45  void init() override{};
46 
47  double aveEff;
48  double aveCls;
49  double resRPC;
50  double timOff;
51  double dtimCs;
52  double resEle;
53  double sspeed;
54  double lbGate;
56  bool eledig;
57 
58  int N_hits;
59  int nbxing;
60  double rate;
61  double gate;
62  double frate;
63  bool do_Y;
64  double sigmaY;
65 
66  std::map< int, std::vector<double> > clsMap;
67  std::vector<double> sum_clsize;
68  std::vector<double> clsForDetId;
69  std::ifstream *infile;
70 
72 };
73 #endif
std::map< int, std::vector< double > > clsMap
Definition: config.py:1
std::vector< double > clsForDetId
void init() override
std::vector< double > sum_clsize
Definition: RPCSim.h:30
std::ifstream * infile
RPCSynchronizer * _rpcSync
std::vector< PSimHit > PSimHitContainer