CMS 3D CMS Logo

ME0ReDigiProducer.h
Go to the documentation of this file.
1 #ifndef SimMuon_GEMDigitizer_ME0ReDigiProducer_h
2 #define SimMuon_GEMDigitizer_ME0ReDigiProducer_h
3 
4 /*
5  * This module smears and discretizes the timing and position of the
6  * ME0 pseudo digis.
7  */
8 
15 
16 #include <string>
17 
18 class ME0Geometry;
19 class ME0EtaPartition;
20 
21 namespace CLHEP {
22  class HepRandomEngine;
23 }
24 
26 {
27 public:
28 
29  explicit ME0ReDigiProducer(const edm::ParameterSet& ps);
30 
31  virtual ~ME0ReDigiProducer();
32 
33  virtual void beginRun(const edm::Run&, const edm::EventSetup&) override;
34 
35  virtual void produce(edm::Event&, const edm::EventSetup&) override;
36 
37  void buildDigis(const ME0DigiPreRecoCollection &, ME0DigiPreRecoCollection &, CLHEP::HepRandomEngine* engine);
38 
39 private:
40 
41  double correctSigmaU(const ME0EtaPartition* roll, double y);
42 
46  int minBunch_;
47  int maxBunch_;
58  bool verbose_;
62  double rateFact_;
63  double instLumi_;
64  std::vector<double> centralTOF_;
66 };
67 
68 #endif
69 
const ME0Geometry * geometry_
edm::EDGetTokenT< ME0DigiPreRecoCollection > token_
std::vector< double > centralTOF_
Definition: Run.h:42