CMS 3D CMS Logo

DTSegmentsTask.h
Go to the documentation of this file.
1 #ifndef DTSegmentsTask_H
2 #define DTSegmentsTask_H
3 
13 
14 //RecHit
18 
21 
22 #include <string>
23 #include <vector>
24 
25 class DTSegmentsTask : public DQMEDAnalyzer {
26 public:
29 
31  ~DTSegmentsTask() override;
32 
34  void analyze(const edm::Event &, const edm::EventSetup &) override;
35  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
36 
37 protected:
38 private:
39  // Switch for verbosity
40  bool debug;
43 
45 
46  // the histos
47  std::vector<MonitorElement *> phiHistos;
48  std::vector<MonitorElement *> thetaHistos;
49 
50  // Label of 4D segments in the event
52 };
53 #endif
const edm::ESGetToken< DTStatusFlag, DTStatusFlagRcd > statusMapToken_
edm::EDGetTokenT< DTRecSegment4DCollection > theRecHits4DLabel_
void analyze(const edm::Event &, const edm::EventSetup &) override
book the histos
DTSegmentsTask(const edm::ParameterSet &pset)
Constructor.
std::vector< MonitorElement * > thetaHistos
std::vector< MonitorElement * > phiHistos
edm::ParameterSet parameters
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
~DTSegmentsTask() override
Destructor.
Definition: Run.h:45