CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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>
21 
22 class RPCGeometry;
23 //class RPCSimSetUp;
24 
25 namespace CLHEP {
26  class HepRandomEngine;
27 }
28 
30 {
31  public:
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  int getClSize(uint32_t id,float posX, CLHEP::HepRandomEngine*);
44  unsigned int slice(float posX); //??? CLHEP::HepRandomEngine*);
45 
46  private:
47  void init(){};
48  private:
49  double aveEff;
50  double aveCls;
51  double resRPC;
52  double timOff;
53  double dtimCs;
54  double resEle;
55  double sspeed;
56  double lbGate;
58 
59  int N_hits;
60  int nbxing;
61  double rate;
62  double gate;
63  double frate;
64 
65  std::map< int, std::vector<double> > clsMap;
66  std::vector<double> sum_clsize;
67  std::vector<double> clsForDetId;
68  std::ifstream *infile;
69 
71 };
72 #endif
void simulateNoise(const RPCRoll *, CLHEP::HepRandomEngine *) override
std::map< int, std::vector< double > > clsMap
std::vector< double > clsForDetId
std::vector< double > sum_clsize
Definition: RPCSim.h:30
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override
std::ifstream * infile
int getClSize(float posX, CLHEP::HepRandomEngine *)
RPCSynchronizer * _rpcSync
RPCSimAsymmetricCls(const edm::ParameterSet &config)
std::vector< PSimHit > PSimHitContainer
unsigned int slice(float posX)