CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GEMSimAverage.h
Go to the documentation of this file.
1 #ifndef GEMDigitizer_GEMSimAverage_h
2 #define GEMDigitizer_GEMSimAverage_h
3 
13 
14 class GEMGeometry;
15 class GEMSynchronizer;
16 
17 namespace CLHEP
18 {
19  class HepRandomEngine;
20  class RandFlat;
21  class RandPoissonQ;
22 }
23 
24 class GEMSimAverage: public GEMSim
25 {
26 public:
27 
29 
31 
32  void simulate(const GEMEtaPartition* roll, const edm::PSimHitContainer& rpcHits);
33 
34  void simulateNoise(const GEMEtaPartition* roll);
35 
36  void setRandomEngine(CLHEP::HepRandomEngine& eng);
37 
38 private:
39 
40  void init() {}
41 
46  double bxwidth_;
47  int minBunch_;
48  int maxBunch_;
49 
50  // CLHEP::HepRandomEngine* rndEngine;
51  CLHEP::RandFlat* flatDistr1_;
52  CLHEP::RandFlat* flatDistr2_;
53  CLHEP::RandPoissonQ *poissonDistr_;
54 };
55 
56 #endif
CLHEP::RandFlat * flatDistr2_
Definition: GEMSimAverage.h:52
Definition: GEMSim.h:26
double averageNoiseRate_
Definition: GEMSimAverage.h:45
void setRandomEngine(CLHEP::HepRandomEngine &eng)
double averageEfficiency_
Definition: GEMSimAverage.h:43
CLHEP::RandFlat * flatDistr1_
Definition: GEMSimAverage.h:51
void simulateNoise(const GEMEtaPartition *roll)
double averageShapingTime_
Definition: GEMSimAverage.h:44
CLHEP::RandPoissonQ * poissonDistr_
Definition: GEMSimAverage.h:53
std::vector< PSimHit > PSimHitContainer
GEMSynchronizer * sync_
Definition: GEMSimAverage.h:42
void simulate(const GEMEtaPartition *roll, const edm::PSimHitContainer &rpcHits)
GEMSimAverage(const edm::ParameterSet &config)