CMS 3D CMS Logo

RPCSimAsymmetricCls.h
Go to the documentation of this file.
1 #ifndef RPCDigitizer_RPCSimAsymmetricCls_h
2 #define RPCDigitizer_RPCSimAsymmetricCls_h
3 
12 
13 #include<cstring>
14 #include<iostream>
15 #include<fstream>
16 #include<string>
17 #include<vector>
18 #include<stdlib.h>
22 
23 class RPCGeometry;
24 //class RPCSimSetUp;
25 
26 namespace CLHEP {
27  class HepRandomEngine;
28 }
29 
31 {
32  public:
35 
36  void simulate(const RPCRoll* roll,
37  const edm::PSimHitContainer& rpcHits,
38  CLHEP::HepRandomEngine*) override;
39 
40  void simulateNoise(const RPCRoll*,
41  CLHEP::HepRandomEngine*) override;
42 
43  int getClSize(float posX, CLHEP::HepRandomEngine*);
44  int getClSize(uint32_t id,float posX, CLHEP::HepRandomEngine*);
45  unsigned int slice(float posX); //??? CLHEP::HepRandomEngine*);
46 
47  private:
48  void init() override{};
49  private:
50  double aveEff;
51  double aveCls;
52  double resRPC;
53  double timOff;
54  double dtimCs;
55  double resEle;
56  double sspeed;
57  double lbGate;
59 
60  int N_hits;
61  int nbxing;
62  double rate;
63  double gate;
64  double frate;
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
std::vector< double > sum_clsize
Definition: RPCSim.h:30
std::ifstream * infile
RPCSynchronizer * _rpcSync
std::vector< PSimHit > PSimHitContainer