CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTEfficiencyTask.h
Go to the documentation of this file.
1 #ifndef DTEfficiencyTask_H
2 #define DTEfficiencyTask_H
3 
4 
24 
29 
30 #include <string>
31 #include <map>
32 #include <vector>
33 
34 class DQMStore;
35 class MonitorElement;
36 class DTGeometry;
37 
39 public:
42 
44  virtual ~DTEfficiencyTask();
45 
47  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
48 
49  // Operations
50  void analyze(const edm::Event& event, const edm::EventSetup& setup);
51 
52 protected:
53 
55  void dqmBeginRun(const edm::Run& , const edm::EventSetup&);
56 
57 // Book the histograms
58 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
59 
60 private:
61 
63 
64  // Switch for verbosity
65  bool debug;
66 
67  // Lable of 4D segments in the event
69 
70  // Lable of 1D rechits in the event
72 
74 
75  // Fill a set of histograms for a given L
76  void fillHistos(DTLayerId lId, int firstWire, int lastWire, int numWire);
77  void fillHistos(DTLayerId lId, int firstWire, int lastWire, int missingWire, bool UnassHit);
78 
79  std::map<DTLayerId, std::vector<MonitorElement*> > histosPerL;
80 
81 };
82 #endif
83 
84 
85 /* Local Variables: */
86 /* show-trailing-whitespace: t */
87 /* truncate-lines: t */
88 /* End: */
edm::ESHandle< DTGeometry > muonGeom
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
To reset the MEs.
std::map< DTLayerId, std::vector< MonitorElement * > > histosPerL
void fillHistos(DTLayerId lId, int firstWire, int lastWire, int numWire)
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
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 ~DTEfficiencyTask()
Destructor.
void analyze(const edm::Event &event, const edm::EventSetup &setup)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
DTEfficiencyTask(const edm::ParameterSet &pset)
Constructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:43
edm::ParameterSet parameters