CMS 3D CMS Logo

DTSegmentsTask.h
Go to the documentation of this file.
1 #ifndef DTSegmentsTask_H
2 #define DTSegmentsTask_H
3 
12 
13 //RecHit
17 
20 
21 #include <string>
22 #include <vector>
23 
24 class DTSegmentsTask : public DQMEDAnalyzer {
25 public:
28 
30  ~DTSegmentsTask() override;
31 
33  void analyze(const edm::Event &, const edm::EventSetup &) override;
34  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
35 
36 protected:
37 private:
38  // Switch for verbosity
39  bool debug;
42 
44 
45  // the histos
46  std::vector<MonitorElement *> phiHistos;
47  std::vector<MonitorElement *> thetaHistos;
48 
49  // Label of 4D segments in the event
51 };
52 #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