CMS 3D CMS Logo

VertexMonitor.h
Go to the documentation of this file.
1 #ifndef VertexMonitor_H
2 #define VertexMonitor_H
3 // -*- C++ -*-
4 //
5 //
10 // system include files
11 #include <memory>
12 
13 // user include files
18 
21 
23 
25 
28 
29 class GetLumi;
30 
32 public:
35 
38  const edm::InputTag&,
39  const edm::InputTag&,
40  std::string pvLabel,
42 
43  virtual ~VertexMonitor();
44  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
45 
46  virtual void initHisto(DQMStore::IBooker& ibooker);
47  virtual void analyze(const edm::Event&, const edm::EventSetup&);
48 
49  // ----------member data ---------------------------
50 
52 
56 
59 
61 
62  MonitorElement* NumberOfPVtx;
63  MonitorElement* NumberOfPVtxVsBXlumi;
64  MonitorElement* NumberOfPVtxVsGoodPVtx;
65  MonitorElement* NumberOfGoodPVtx;
66  MonitorElement* NumberOfGoodPVtxVsBXlumi;
67  MonitorElement* FractionOfGoodPVtx;
68  MonitorElement* FractionOfGoodPVtxVsBXlumi;
70  MonitorElement* FractionOfGoodPVtxVsPVtx;
71  MonitorElement* NumberOfFakePVtx;
72  MonitorElement* NumberOfFakePVtxVsBXlumi;
73  MonitorElement* NumberOfFakePVtxVsGoodPVtx;
74  MonitorElement* NumberOfBADndofPVtx;
75  MonitorElement* NumberOfBADndofPVtxVsBXlumi;
77 
78  MonitorElement* Chi2oNDFVsGoodPVtx;
79  MonitorElement* Chi2oNDFVsBXlumi;
80  MonitorElement* Chi2ProbVsGoodPVtx;
81  MonitorElement* Chi2ProbVsBXlumi;
82 
83  MonitorElement* GoodPVtxSumPt;
84  MonitorElement* GoodPVtxSumPtVsBXlumi;
85  MonitorElement* GoodPVtxSumPtVsGoodPVtx;
86 
87  MonitorElement* GoodPVtxNumberOfTracks;
91 
92  MonitorElement* GoodPVtxChi2oNDFVsGoodPVtx;
93  MonitorElement* GoodPVtxChi2oNDFVsBXlumi;
94  MonitorElement* GoodPVtxChi2ProbVsGoodPVtx;
95  MonitorElement* GoodPVtxChi2ProbVsBXlumi;
96 
100 
101  std::string histname; //for naming the histograms according to algorithm used
102 };
103 #endif
bool doPlotsVsGoodPVtx_
Definition: VertexMonitor.h:99
edm::EDGetTokenT< reco::VertexCollection > pvToken_
Definition: VertexMonitor.h:57
MonitorElement * GoodPVtxNumberOfTracks
Definition: VertexMonitor.h:87
MonitorElement * Chi2oNDFVsGoodPVtx
Definition: VertexMonitor.h:78
std::string label_
Definition: VertexMonitor.h:55
MonitorElement * GoodPVtxChi2oNDFVsBXlumi
Definition: VertexMonitor.h:93
edm::ParameterSet conf_
Definition: VertexMonitor.h:51
std::string histname
MonitorElement * GoodPVtxSumPtVsBXlumi
Definition: VertexMonitor.h:84
MonitorElement * GoodPVtxNumberOfTracksVsBXlumi
Definition: VertexMonitor.h:88
virtual void initHisto(DQMStore::IBooker &ibooker)
dqm::legacy::DQMStore DQMStore
Definition: VertexMonitor.h:33
MonitorElement * NumberOfFakePVtx
Definition: VertexMonitor.h:71
bool doPlotsVsBXlumi_
Definition: VertexMonitor.h:98
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
MonitorElement * NumberOfBADndofPVtxVsGoodPVtx
Definition: VertexMonitor.h:76
MonitorElement * GoodPVtxNumberOfTracksVsGoodPVtx
Definition: VertexMonitor.h:89
MonitorElement * GoodPVtxChi2oNDFVsGoodPVtx
Definition: VertexMonitor.h:92
MonitorElement * FractionOfGoodPVtxVsPVtx
Definition: VertexMonitor.h:70
MonitorElement * NumberOfFakePVtxVsGoodPVtx
Definition: VertexMonitor.h:73
virtual ~VertexMonitor()
edm::InputTag primaryVertexInputTag_
Definition: VertexMonitor.h:53
dqm::legacy::MonitorElement MonitorElement
Definition: VertexMonitor.h:34
MonitorElement * Chi2oNDFVsBXlumi
Definition: VertexMonitor.h:79
MonitorElement * FractionOfGoodPVtx
Definition: VertexMonitor.h:67
MonitorElement * FractionOfGoodPVtxVsBXlumi
Definition: VertexMonitor.h:68
MonitorElement * GoodPVtxSumPtVsGoodPVtx
Definition: VertexMonitor.h:85
MonitorElement * NumberOfPVtxVsBXlumi
Definition: VertexMonitor.h:63
MonitorElement * NumberOfPVtxVsGoodPVtx
Definition: VertexMonitor.h:64
edm::EDGetTokenT< reco::VertexCollection > selpvToken_
Definition: VertexMonitor.h:58
MonitorElement * FractionOfGoodPVtxVsGoodPVtx
Definition: VertexMonitor.h:69
MonitorElement * NumberOfBADndofPVtx
Definition: VertexMonitor.h:74
MonitorElement * Chi2ProbVsGoodPVtx
Definition: VertexMonitor.h:80
VertexMonitor(const edm::ParameterSet &, const edm::InputTag &, const edm::InputTag &, std::string pvLabel)
MonitorElement * GoodPVtxSumPt
Definition: VertexMonitor.h:83
MonitorElement * Chi2ProbVsBXlumi
Definition: VertexMonitor.h:81
MonitorElement * GoodPVtxChi2ProbVsGoodPVtx
Definition: VertexMonitor.h:94
edm::InputTag selectedPrimaryVertexInputTag_
Definition: VertexMonitor.h:54
MonitorElement * NumberOfGoodPVtxVsBXlumi
Definition: VertexMonitor.h:66
MonitorElement * GoodPVtxChi2ProbVsBXlumi
Definition: VertexMonitor.h:95
MonitorElement * NumberOfBADndofPVtxVsBXlumi
Definition: VertexMonitor.h:75
MonitorElement * NumberOfPVtx
Definition: VertexMonitor.h:62
MonitorElement * GoodPVtxNumberOfTracksVsGoodPVtxNdof
Definition: VertexMonitor.h:90
virtual void analyze(const edm::Event &, const edm::EventSetup &)
GetLumi * lumiDetails_
Definition: VertexMonitor.h:60
MonitorElement * NumberOfGoodPVtx
Definition: VertexMonitor.h:65
MonitorElement * NumberOfFakePVtxVsBXlumi
Definition: VertexMonitor.h:72