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 public:
34  ~RPCSimModelTiming() override;
35  void simulate(const RPCRoll* roll, const edm::PSimHitContainer& rpcHits, CLHEP::HepRandomEngine*) override;
36  void simulateNoise(const RPCRoll*, CLHEP::HepRandomEngine*) override;
37  int getClSize(uint32_t id, float posX, CLHEP::HepRandomEngine*);
38  int LeftRightNeighbour(const RPCRoll& roll, const LocalPoint& hit_pos, int strip);
39 
40 protected:
41  void init() override{};
42 
43  double aveEff;
44  double aveCls;
45  double resRPC;
46  double timOff;
47  double dtimCs;
48  double resEle;
49  double sspeed;
50  double lbGate;
52  bool eledig;
53 
54  int N_hits;
55  int nbxing;
56  double rate;
57  double gate;
58  double frate;
59  bool do_Y;
60  double sigmaY;
61 
62  std::map<int, std::vector<double> > clsMap;
63  std::vector<double> sum_clsize;
64  std::vector<double> clsForDetId;
65  std::ifstream* infile;
66 
68 };
69 #endif
RPCSimModelTiming::frate
double frate
Definition: RPCSimModelTiming.h:58
RPCRoll
Definition: RPCRoll.h:12
RPCSimModelTiming::rpcdigiprint
bool rpcdigiprint
Definition: RPCSimModelTiming.h:51
RPCSimModelTiming::resRPC
double resRPC
Definition: RPCSimModelTiming.h:45
MessageLogger.h
RPCSimModelTiming::simulate
void simulate(const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *) override
Definition: RPCSimModelTiming.cc:76
RPCSimModelTiming::_rpcSync
RPCSynchronizer * _rpcSync
Definition: RPCSimModelTiming.h:67
RPCSimModelTiming::simulateNoise
void simulateNoise(const RPCRoll *, CLHEP::HepRandomEngine *) override
Definition: RPCSimModelTiming.cc:166
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
RPCSynchronizer
Definition: RPCSynchronizer.h:36
RPCSimModelTiming::sspeed
double sspeed
Definition: RPCSimModelTiming.h:49
RPCSimModelTiming::clsMap
std::map< int, std::vector< double > > clsMap
Definition: RPCSimModelTiming.h:62
RPCSim.h
RPCSimModelTiming::LeftRightNeighbour
int LeftRightNeighbour(const RPCRoll &roll, const LocalPoint &hit_pos, int strip)
Definition: RPCSimModelTiming.cc:260
RPCSimModelTiming::resEle
double resEle
Definition: RPCSimModelTiming.h:48
RPCSimModelTiming::rate
double rate
Definition: RPCSimModelTiming.h:56
config
Definition: config.py:1
RPCSimModelTiming::getClSize
int getClSize(uint32_t id, float posX, CLHEP::HepRandomEngine *)
Definition: RPCSimModelTiming.cc:214
RPCSimModelTiming
Definition: RPCSimModelTiming.h:31
RPCSimModelTiming::timOff
double timOff
Definition: RPCSimModelTiming.h:46
RecoTauValidation_cfi.posX
posX
Definition: RecoTauValidation_cfi.py:287
Point3DBase< float, LocalTag >
CLHEP
Definition: CocoaGlobals.h:27
edm::ParameterSet
Definition: ParameterSet.h:47
RPCSimModelTiming::sigmaY
double sigmaY
Definition: RPCSimModelTiming.h:60
RPCSimModelTiming::aveCls
double aveCls
Definition: RPCSimModelTiming.h:44
RPCSim
Definition: RPCSim.h:30
RPCSimModelTiming::do_Y
bool do_Y
Definition: RPCSimModelTiming.h:59
RPCSimModelTiming::eledig
bool eledig
Definition: RPCSimModelTiming.h:52
RPCSimModelTiming::gate
double gate
Definition: RPCSimModelTiming.h:57
RPCSimModelTiming::nbxing
int nbxing
Definition: RPCSimModelTiming.h:55
RPCSimModelTiming::infile
std::ifstream * infile
Definition: RPCSimModelTiming.h:65
RPCSimAsymmetricCls.h
RPCSimModelTiming::sum_clsize
std::vector< double > sum_clsize
Definition: RPCSimModelTiming.h:63
RPCSimModelTiming::clsForDetId
std::vector< double > clsForDetId
Definition: RPCSimModelTiming.h:64
EventSetup.h
RPCSimModelTiming::lbGate
double lbGate
Definition: RPCSimModelTiming.h:50
RPCSimSetUp.h
RPCGeometry
Definition: RPCGeometry.h:20
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
RPCSimModelTiming::aveEff
double aveEff
Definition: RPCSimModelTiming.h:41
RPCSimModelTiming::RPCSimModelTiming
RPCSimModelTiming(const edm::ParameterSet &config)
Definition: RPCSimModelTiming.cc:41
RPCSimModelTiming::~RPCSimModelTiming
~RPCSimModelTiming() override
Definition: RPCSimModelTiming.cc:74
RPCSimModelTiming::dtimCs
double dtimCs
Definition: RPCSimModelTiming.h:47
RPCSimModelTiming::init
void init() override
Definition: RPCSimModelTiming.h:41
RPCSynchronizer.h
RPCSimModelTiming::N_hits
int N_hits
Definition: RPCSimModelTiming.h:54
RPCSimAverageNoiseEffCls.h