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
ConfigurationDescriptions.h
GEMRecHitProducer::applyMasking_
bool applyMasking_
Definition: GEMRecHitProducer.h:59
GEMRecHitProducer::deadSource_
enum GEMRecHitProducer::MaskSource deadSource_
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< GEMDigiCollection >
GEMRecHitProducer::MaskSource::File
EDProducer.h
GEMRecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition: GEMRecHitProducer.cc:128
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
GEMRecHitProducer
Definition: GEMRecHitProducer.h:23
config
Definition: config.py:1
edm::ESHandle< GEMGeometry >
ParameterSetDescription.h
GEMRecHitBaseAlgo.h
GEMDeadStrips.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
GEMRecHitProducer::gemGeom_
edm::ESHandle< GEMGeometry > gemGeom_
Definition: GEMRecHitProducer.h:54
GEMRecHitProducer::maskSource_
enum GEMRecHitProducer::MaskSource maskSource_
edm::stream::EDProducer
Definition: EDProducer.h:38
GEMRecHitProducer::theGEMDeadStripsObj
std::unique_ptr< GEMDeadStrips > theGEMDeadStripsObj
Definition: GEMRecHitProducer.h:50
edm::EventSetup
Definition: EventSetup.h:57
GEMRecHitProducer::theGEMMaskedStripsObj
std::unique_ptr< GEMMaskedStrips > theGEMMaskedStripsObj
Definition: GEMRecHitProducer.h:47
GEMRecHitProducer::~GEMRecHitProducer
~GEMRecHitProducer() override
Destructor.
InputTag.h
GEMRecHitProducer::gemMask_
std::map< GEMDetId, EtaPartitionMask > gemMask_
Definition: GEMRecHitProducer.h:57
GEMGeometry.h
GEMMaskedStrips.h
GEMRecHitProducer::MaskSource
MaskSource
Definition: GEMRecHitProducer.h:52
GEMRecHitProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: GEMRecHitProducer.cc:85
GEMRecHitProducer::theGEMDigiToken
edm::EDGetTokenT< GEMDigiCollection > theGEMDigiToken
Definition: GEMRecHitProducer.h:41
GEMDigiCollection.h
EventSetup
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
GEMRecHitProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: GEMRecHitProducer.cc:73
GEMRecHitProducer::GEMRecHitProducer
GEMRecHitProducer(const edm::ParameterSet &config)
Constructor.
Definition: GEMRecHitProducer.cc:25
GEMRecHitProducer::theAlgo
std::unique_ptr< GEMRecHitBaseAlgo > theAlgo
Definition: GEMRecHitProducer.h:44