CMS 3D CMS Logo

RPCRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_RPCRecHitProducer_h
2 #define RecoLocalMuon_RPCRecHitProducer_h
3 
21 #include "RPCRecHitBaseAlgo.h"
22 
24 public:
27 
29  ~RPCRecHitProducer() 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 private:
38  // The label to be used to retrieve RPC digis from the event
40  // edm::InputTag theRPCDigiLabel;
44 
45  // The reconstruction algorithm
46  std::unique_ptr<RPCRecHitBaseAlgo> theAlgo;
47 
48  std::unique_ptr<RPCMaskedStrips> theRPCMaskedStripsObj;
49  // Object with mask-strips-vector for all the RPC Detectors
50 
51  std::unique_ptr<RPCDeadStrips> theRPCDeadStripsObj;
52  // Object with dead-strips-vector for all the RPC Detectors
53 
55 
56  std::vector<RPCMaskedStrips::MaskItem> MaskVec;
57  std::vector<RPCDeadStrips::DeadItem> DeadVec;
58 };
59 
60 #endif
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > theRPCGeomToken
edm::ESGetToken< RPCDeadStrips, RPCDeadStripsRcd > theReadoutDeadStripsToken
std::unique_ptr< RPCRecHitBaseAlgo > theAlgo
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: config.py:1
enum RPCRecHitProducer::MaskSource deadSource_
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
const edm::EDGetTokenT< RPCDigiCollection > theRPCDigiLabel
std::unique_ptr< RPCMaskedStrips > theRPCMaskedStripsObj
std::vector< RPCDeadStrips::DeadItem > DeadVec
RPCRecHitProducer(const edm::ParameterSet &config)
Constructor.
edm::ESGetToken< RPCMaskedStrips, RPCMaskedStripsRcd > theReadoutMaskedStripsToken
enum RPCRecHitProducer::MaskSource maskSource_
std::vector< RPCMaskedStrips::MaskItem > MaskVec
~RPCRecHitProducer() override
Destructor.
std::unique_ptr< RPCDeadStrips > theRPCDeadStripsObj
Definition: event.py:1
Definition: Run.h:45