CMS 3D CMS Logo

GEMRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_GEMRecHit_GEMRecHitProducer_h
2 #define RecoLocalMuon_GEMRecHit_GEMRecHitProducer_h
3 
22 
24 public:
27 
29  ~GEMRecHitProducer() override;
30 
31  // Method that access the EventSetup for each run
32  void beginRun(const edm::Run&, const edm::EventSetup&) override;
33 
35  void produce(edm::Event& event, const edm::EventSetup& setup) override;
36 
37  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
38 
39 private:
40  // The token to be used to retrieve GEM digis from the event
42 
43  // The reconstruction algorithm
44  std::unique_ptr<GEMRecHitBaseAlgo> theAlgo;
45 
46  // Object with mask-strips-vector for all the GEM Detectors
47  std::unique_ptr<GEMMaskedStrips> theGEMMaskedStripsObj;
48 
49  // Object with dead-strips-vector for all the GEM Detectors
50  std::unique_ptr<GEMDeadStrips> theGEMDeadStripsObj;
51 
53 
55 
56  // map of mask and dead strips
57  std::map<GEMDetId, EtaPartitionMask> gemMask_;
58 
60 };
61 #endif
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
GEMRecHitProducer(const edm::ParameterSet &config)
Constructor.
enum GEMRecHitProducer::MaskSource deadSource_
Definition: config.py:1
edm::ESHandle< GEMGeometry > gemGeom_
std::unique_ptr< GEMDeadStrips > theGEMDeadStripsObj
std::map< GEMDetId, EtaPartitionMask > gemMask_
std::unique_ptr< GEMMaskedStrips > theGEMMaskedStripsObj
~GEMRecHitProducer() override
Destructor.
enum GEMRecHitProducer::MaskSource maskSource_
std::unique_ptr< GEMRecHitBaseAlgo > theAlgo
Definition: event.py:1
Definition: Run.h:45
edm::EDGetTokenT< GEMDigiCollection > theGEMDigiToken
void beginRun(const edm::Run &, const edm::EventSetup &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)