CMS 3D CMS Logo

RPCSimAverageNoiseEff.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSimAverageNoiseEff_h
2 #define RPCDigitizer_RPCSimAverageNoiseEff_h
3 
12 
13 #include<cstring>
14 #include<iostream>
15 #include<fstream>
16 #include<string>
17 #include<vector>
18 #include<cstdlib>
21 
22 class RPCGeometry;
23 //class RPCSimSetUp;
24 
25 namespace CLHEP {
26  class HepRandomEngine;
27 }
28 
30 {
31  public:
33  ~RPCSimAverageNoiseEff() override;
34 
35  void simulate(const RPCRoll* roll,
36  const edm::PSimHitContainer& rpcHits,
37  CLHEP::HepRandomEngine*) override;
38 
39  void simulateNoise(const RPCRoll*,
40  CLHEP::HepRandomEngine*) override;
41 
42  int getClSize(float posX, CLHEP::HepRandomEngine*);
43 
44  private:
45  void init() override{};
46  private:
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 
57  int N_hits;
58  int nbxing;
59  double rate;
60  double gate;
61  double frate;
62 
63  std::map< int, std::vector<double> > clsMap;
64  std::vector<double> sum_clsize;
65  std::ifstream *infile;
66 
68 };
69 #endif
std::vector< double > sum_clsize
Definition: config.py:1
Definition: RPCSim.h:30
RPCSynchronizer * _rpcSync
std::vector< PSimHit > PSimHitContainer
std::map< int, std::vector< double > > clsMap