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 
22 
23 #include <string>
24 #include <vector>
25 
27 
28 public:
31 
33  ~DTSegmentsTask() override;
34 
36  void analyze(const edm::Event&, const edm::EventSetup&) override;
37  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
38 
39 protected:
40 
41 private:
42 
43 
44  // Switch for verbosity
45  bool debug;
48 
49  // the histos
50  std::vector<MonitorElement*> phiHistos;
51  std::vector<MonitorElement*> thetaHistos;
52 
53  // Label of 4D segments in the event
55 };
56 #endif
57 
edm::EDGetTokenT< DTRecSegment4DCollection > theRecHits4DLabel_
std::vector< MonitorElement * > thetaHistos
void analyze(const edm::Event &, const edm::EventSetup &) override
book the histos
DTSegmentsTask(const edm::ParameterSet &pset)
Constructor.
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