CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTResolutionAnalysisTask.h
Go to the documentation of this file.
1 #ifndef DTResolutionAnalysisTask_H
2 #define DTResolutionAnalysisTask_H
3 
17 
22 
24 
25 
26 #include <string>
27 #include <map>
28 #include <vector>
29 
30 class DQMStore;
31 class MonitorElement;
32 class DTGeometry;
33 
35 public:
38 
40  virtual ~DTResolutionAnalysisTask();
41 
43  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
44 
46  void dqmBeginRun(const edm::Run&, const edm::EventSetup&);
47 
49  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
50 
51  // Operations
52  void analyze(const edm::Event& event, const edm::EventSetup& setup);
53 
54 
55 protected:
56 
57 private:
58 
60 
63 
64  u_int32_t thePhiHitsCut;
65  u_int32_t theZHitsCut;
66 
67  // Lable of 4D segments in the event
69 
70  // Book a set of histograms for a give chamber
71  void bookHistos(DQMStore::IBooker & ibooker, DTSuperLayerId slId);
72  // Fill a set of histograms for a give chamber
73  void fillHistos(DTSuperLayerId slId,
74  float distExtr,
75  float residual);
76 
77  std::map<DTSuperLayerId, std::vector<MonitorElement*> > histosPerSL;
78 
79  // top folder for the histograms in DQMStore
81 
82 };
83 #endif
84 
85 
86 /* Local Variables: */
87 /* show-trailing-whitespace: t */
88 /* truncate-lines: t */
89 /* End: */
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
void analyze(const edm::Event &event, const edm::EventSetup &setup)
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
To reset the MEs.
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
std::map< DTSuperLayerId, std::vector< MonitorElement * > > histosPerSL
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
BookHistograms.
void bookHistos(DQMStore::IBooker &ibooker, DTSuperLayerId slId)
void fillHistos(DTSuperLayerId slId, float distExtr, float residual)
DTResolutionAnalysisTask(const edm::ParameterSet &pset)
Constructor.
virtual ~DTResolutionAnalysisTask()
Destructor.
edm::ESHandle< DTGeometry > dtGeom
Definition: Run.h:43