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 
25  public:
28 
30  ~GEMRecHitProducer() override;
31 
32  // Method that access the EventSetup for each run
33  void beginRun(const edm::Run&, const edm::EventSetup& ) override;
34 
36  void produce(edm::Event& event, const edm::EventSetup& setup) override;
37 
38  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
39 
40  private:
41 
42  // The token to be used to retrieve GEM digis from the event
44 
45  // The reconstruction algorithm
46  std::unique_ptr<GEMRecHitBaseAlgo> theAlgo;
47 
48  // Object with mask-strips-vector for all the GEM Detectors
49  std::unique_ptr<GEMMaskedStrips> theGEMMaskedStripsObj;
50 
51  // Object with dead-strips-vector for all the GEM Detectors
52  std::unique_ptr<GEMDeadStrips> theGEMDeadStripsObj;
53 
55 
57 
58  // map of mask and dead strips
59  std::map<GEMDetId,EtaPartitionMask> gemMask_;
60 
62 
63 };
64 #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_
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
Definition: config.py:1
edm::ESHandle< GEMGeometry > gemGeom_
std::unique_ptr< GEMDeadStrips > theGEMDeadStripsObj
std::unique_ptr< GEMMaskedStrips > theGEMMaskedStripsObj
~GEMRecHitProducer() override
Destructor.
enum GEMRecHitProducer::MaskSource maskSource_
std::map< GEMDetId, EtaPartitionMask > gemMask_
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)