CMS 3D CMS Logo

PixelVTXMonitor.h
Go to the documentation of this file.
1 /*
2  * \class PixelVTXMonitor
3  *
4  * DQM FED Client
5  *
6  * \author S. Dutta
7  *
8 */
9 
10 #ifndef PIXELVTXMONITOR_H
11 #define PIXELVTXMONITOR_H
12 
13 #include <string>
14 #include <vector>
15 #include <map>
16 
25 
26 //
27 // class declaration
28 //
29 
31 public:
35  ~PixelVTXMonitor() override;
36 
37 protected:
38  void beginJob() override;
39  void beginRun(edm::Run const& iRun, edm::EventSetup const& iSetup) override;
40  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
41  void endRun(edm::Run const& iRun, edm::EventSetup const& iSetup) override;
42  void endJob() override;
43 
44 private:
45  void bookHistograms();
46 
48 
57  float minVtxDoF_;
58 
59  DQMStore* dbe_;
61 
62  struct PixelMEs {
63  MonitorElement* clusME;
64  MonitorElement* vtxME;
65  };
66 
67  std::map<std::string, PixelMEs> histoMap_;
68 };
69 
70 #endif // PIXELVTXMONITOR_H
71 
72 // Local Variables:
73 // show-trailing-whitespace: t
74 // truncate-lines: t
75 // End:
edm::EDGetTokenT< reco::VertexCollection > pixelVertexInputTagToken_
dqm::legacy::DQMStore DQMStore
edm::EDGetTokenT< edm::TriggerResults > hltInputTagToken_
dqm::legacy::MonitorElement MonitorElement
edm::ParameterSet parameters_
void beginJob() override
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
void endJob() override
HLTConfigProvider hltConfig_
edm::InputTag pixelClusterInputTag_
int iEvent
Definition: GenABIO.cc:224
std::map< std::string, PixelMEs > histoMap_
void endRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
edm::InputTag pixelVertexInputTag_
~PixelVTXMonitor() override
std::string folderName_
edm::InputTag hltInputTag_
edm::EDGetTokenT< SiPixelClusterCollectionNew > pixelClusterInputTagToken_
std::string moduleName_
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
PixelVTXMonitor(const edm::ParameterSet &)
Definition: Run.h:45