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 
26 
28 public:
31 
33  ~GEMRecHitProducer() override;
34 
35  // Method that access the EventSetup for each run
36  void beginRun(const edm::Run&, const edm::EventSetup&) override;
37 
39  void produce(edm::Event& event, const edm::EventSetup& setup) override;
40 
41  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
42 
43 private:
44  // The token to be used to retrieve GEM digis from the event
46 
47  // The reconstruction algorithm
48  std::unique_ptr<GEMRecHitBaseAlgo> theAlgo;
49 
50  // Object with mask-strips-vector for all the GEM Detectors
51  std::unique_ptr<GEMMaskedStrips> theGEMMaskedStripsObj;
52 
53  // Object with dead-strips-vector for all the GEM Detectors
54  std::unique_ptr<GEMDeadStrips> theGEMDeadStripsObj;
55 
57 
59 
63 
64  // map of mask and dead strips
65  std::map<GEMDetId, EtaPartitionMask> gemMask_;
66 
68  bool ge21Off_;
69 };
70 #endif
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
edm::ESGetToken< GEMMaskedStrips, GEMMaskedStripsRcd > maskedStripsToken_
GEMRecHitProducer(const edm::ParameterSet &config)
Constructor.
enum GEMRecHitProducer::MaskSource deadSource_
Definition: config.py:1
edm::ESGetToken< GEMDeadStrips, GEMDeadStripsRcd > deadStripsToken_
edm::ESHandle< GEMGeometry > gemGeom_
std::unique_ptr< GEMDeadStrips > theGEMDeadStripsObj
std::map< GEMDetId, EtaPartitionMask > gemMask_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > gemGeomToken_
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)