test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_RPCRecHitProducer_h
2 #define RecoLocalMuon_RPCRecHitProducer_h
3 
11 #include <memory>
12 #include <fstream>
13 #include <iostream>
14 #include <stdint.h>
15 #include <cstdlib>
16 #include <bitset>
17 #include <map>
18 
22 
28 
29 
30 #include "RPCRollMask.h"
31 
32 
33 namespace edm {
34  class ParameterSet;
35  class Event;
36  class EventSetup;
37 }
38 
39 class RPCRecHitBaseAlgo;
40 
42 
43 public:
46 
48  virtual ~RPCRecHitProducer();
49 
50  // Method that access the EventSetup for each run
51  virtual void beginRun(const edm::Run&, const edm::EventSetup& ) override;
52 
54  virtual void produce(edm::Event& event, const edm::EventSetup& setup) override;
55 
56 private:
57 
58  // The label to be used to retrieve RPC digis from the event
60  // edm::InputTag theRPCDigiLabel;
61 
62  // The reconstruction algorithm
64 
66  // Object with mask-strips-vector for all the RPC Detectors
67 
69  // Object with dead-strips-vector for all the RPC Detectors
70 
73 
74  std::vector<RPCMaskedStrips::MaskItem> MaskVec;
75  std::vector<RPCDeadStrips::DeadItem> DeadVec;
76 
77 };
78 
79 #endif
80 
std::string maskSource
edm::EDGetTokenT< RPCDigiCollection > theRPCDigiLabel
std::string deadSource
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
virtual void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
RPCMaskedStrips * RPCMaskedStripsObj
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual ~RPCRecHitProducer()
Destructor.
std::vector< RPCDeadStrips::DeadItem > DeadVec
RPCRecHitProducer(const edm::ParameterSet &config)
Constructor.
RPCRecHitBaseAlgo * theAlgo
RPCDeadStrips * RPCDeadStripsObj
std::vector< RPCMaskedStrips::MaskItem > MaskVec
Definition: Run.h:43