CMS 3D CMS Logo

RPCRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_RPCRecHitProducer_h
2 #define RecoLocalMuon_RPCRecHitProducer_h
3 
18 
20 
21 public:
24 
26  ~RPCRecHitProducer() override {};
27 
28  // Method that access the EventSetup for each run
29  void beginRun(const edm::Run&, const edm::EventSetup& ) override;
30 
32  void produce(edm::Event& event, const edm::EventSetup& setup) override;
33 
34 private:
35  // The label to be used to retrieve RPC digis from the event
37  // edm::InputTag theRPCDigiLabel;
38 
39  // The reconstruction algorithm
40  std::unique_ptr<RPCRecHitBaseAlgo> theAlgo;
41 
42  std::unique_ptr<RPCMaskedStrips> theRPCMaskedStripsObj;
43  // Object with mask-strips-vector for all the RPC Detectors
44 
45  std::unique_ptr<RPCDeadStrips> theRPCDeadStripsObj;
46  // Object with dead-strips-vector for all the RPC Detectors
47 
49 
50  std::vector<RPCMaskedStrips::MaskItem> MaskVec;
51  std::vector<RPCDeadStrips::DeadItem> DeadVec;
52 
53 };
54 
55 #endif
56 
std::unique_ptr< RPCRecHitBaseAlgo > theAlgo
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
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.
enum RPCRecHitProducer::MaskSource maskSource_
std::vector< RPCMaskedStrips::MaskItem > MaskVec
~RPCRecHitProducer() override
Destructor.
std::unique_ptr< RPCDeadStrips > theRPCDeadStripsObj
Definition: event.py:1
Definition: Run.h:44