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 };
69 #endif
ConfigurationDescriptions.h
GEMRecHitProducer::applyMasking_
bool applyMasking_
Definition: GEMRecHitProducer.h:67
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:130
ESGetToken.h
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
GEMRecHitProducer
Definition: GEMRecHitProducer.h:27
config
Definition: config.py:1
GEMDeadStripsRcd.h
edm::ESHandle< GEMGeometry >
GEMRecHitProducer::gemGeomToken_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > gemGeomToken_
Definition: GEMRecHitProducer.h:60
GEMMaskedStripsRcd.h
ParameterSetDescription.h
GEMRecHitBaseAlgo.h
GEMDeadStrips.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
GEMRecHitProducer::gemGeom_
edm::ESHandle< GEMGeometry > gemGeom_
Definition: GEMRecHitProducer.h:58
GEMRecHitProducer::deadStripsToken_
edm::ESGetToken< GEMDeadStrips, GEMDeadStripsRcd > deadStripsToken_
Definition: GEMRecHitProducer.h:62
GEMRecHitProducer::maskSource_
enum GEMRecHitProducer::MaskSource maskSource_
edm::stream::EDProducer
Definition: EDProducer.h:38
GEMRecHitProducer::theGEMDeadStripsObj
std::unique_ptr< GEMDeadStrips > theGEMDeadStripsObj
Definition: GEMRecHitProducer.h:54
edm::EventSetup
Definition: EventSetup.h:58
GEMRecHitProducer::theGEMMaskedStripsObj
std::unique_ptr< GEMMaskedStrips > theGEMMaskedStripsObj
Definition: GEMRecHitProducer.h:51
edm::ESGetToken< GEMGeometry, MuonGeometryRecord >
GEMRecHitProducer::~GEMRecHitProducer
~GEMRecHitProducer() override
Destructor.
InputTag.h
GEMRecHitProducer::gemMask_
std::map< GEMDetId, EtaPartitionMask > gemMask_
Definition: GEMRecHitProducer.h:65
GEMGeometry.h
GEMMaskedStrips.h
GEMRecHitProducer::MaskSource
MaskSource
Definition: GEMRecHitProducer.h:56
GEMRecHitProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: GEMRecHitProducer.cc:89
GEMRecHitProducer::theGEMDigiToken
edm::EDGetTokenT< GEMDigiCollection > theGEMDigiToken
Definition: GEMRecHitProducer.h:45
GEMDigiCollection.h
EventSetup
ParameterSet.h
MuonGeometryRecord.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
GEMRecHitProducer::maskedStripsToken_
edm::ESGetToken< GEMMaskedStrips, GEMMaskedStripsRcd > maskedStripsToken_
Definition: GEMRecHitProducer.h:61
GEMRecHitProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: GEMRecHitProducer.cc:77
GEMRecHitProducer::GEMRecHitProducer
GEMRecHitProducer(const edm::ParameterSet &config)
Constructor.
Definition: GEMRecHitProducer.cc:22
GEMRecHitProducer::theAlgo
std::unique_ptr< GEMRecHitBaseAlgo > theAlgo
Definition: GEMRecHitProducer.h:48