CMS 3D CMS Logo

GEMSimpleModel.h
Go to the documentation of this file.
1 #ifndef SimMuon_GEMDigitizer_GEMSimpleModel_h
2 #define SimMuon_GEMDigitizer_GEMSimpleModel_h
3 
14 
15 class GEMGeometry;
16 
17 namespace CLHEP
18 {
19  class HepRandomEngine;
20 }
21 
23 {
24 public:
25 
27 
28  ~GEMSimpleModel();
29 
30  void setup() override;
31 
32  void simulateSignal(const GEMEtaPartition*, const edm::PSimHitContainer&, CLHEP::HepRandomEngine*) override;
33 
34  int getSimHitBx(const PSimHit*, CLHEP::HepRandomEngine*);
35 
36  void simulateNoise(const GEMEtaPartition*, CLHEP::HepRandomEngine*) override;
37 
38  std::vector<std::pair<int,int> >
39  simulateClustering(const GEMEtaPartition*, const PSimHit*, const int, CLHEP::HepRandomEngine*) override;
40 
41 private:
42 
46  double timeJitter_;
49  bool cosmics_;
50  int bxwidth_;
51  int minBunch_;
52  int maxBunch_;
60 //parameters from the fit:
61 //params for pol3 model of electron bkg for GE1/1:
66 //params for expo of electron bkg for GE2/1:
67  double constElecGE21;
68  double slopeElecGE21;
69 //Neutral Bkg
70 //Low Rate model L=10^{34}cm^{-2}s^{-1}
71 //const and slope for expo model of neutral bkg for GE1/1:
72  double constNeuGE11;
73  double slopeNeuGE11;
74 //params for pol5 model of neutral bkg for GE2/1:
81 //High Rate model L=5x10^{34}cm^{-2}s^{-1}
82 //params for expo model of neutral bkg for GE1/1:
85 //params for pol5 model of neutral bkg for GE2/1:
92 
93  double instLumi_;
94  double rateFact_;
95 
96  const double referenceInstLumi = 5; //In units of 10^34 Hz/cm^2. Internally the functions based on the FLUKA+GEANT simulation are normalized to 5x10^34 Hz/cm^2, this is needed to rescale them properly
97 };
98 #endif
99 
100 
double GE21ModNeuBkgParam1
double signalPropagationSpeed_
double GE21ModNeuBkgParam4
double slopeNeuGE11_highRate
double constNeuGE11_highRate
double averageNoiseRate_
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
double slopeElecGE21
double GE21ModNeuBkgParam5
double GE11ElecBkgParam2
double GE11ElecBkgParam0
bool simulateIntrinsicNoise_
double GE11ElecBkgParam3
double averageEfficiency_
double GE11ElecBkgParam1
bool simulateLowNeutralRate_
double GE21NeuBkgParam2
bool simulateElectronBkg_
double GE21ModNeuBkgParam2
double GE21ModNeuBkgParam0
double constElecGE21
double GE21NeuBkgParam4
double GE21ModNeuBkgParam3
double GE21NeuBkgParam3
double GE21NeuBkgParam0
double GE21NeuBkgParam5
double averageShapingTime_
double timeResolution_
std::vector< PSimHit > PSimHitContainer
double GE21NeuBkgParam1