CMS 3D CMS Logo

PrimaryVertexMonitor.h
Go to the documentation of this file.
1 #ifndef PrimaryVertexMonitor_H
2 #define PrimaryVertexMonitor_H
3 
5 
13 
16 
20 
27 public:
28  explicit PrimaryVertexMonitor(const edm::ParameterSet &pSet);
29 
30  ~PrimaryVertexMonitor() override = default;
31 
32  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
33  void analyze(const edm::Event &, const edm::EventSetup &) override;
34 
35 private:
36  void pvTracksPlots(const reco::Vertex &v);
37  void vertexPlots(const reco::Vertex &v, const reco::BeamSpot &beamSpot, int i);
38 
43 
45 
47 
49 
52  int ndof_;
55 
56  static constexpr int cmToUm = 10000;
57 
58  // the histos
61  MonitorElement *xrec[2], *yrec[2], *zrec[2], *xDiff[2], *yDiff[2], *xerr[2], *yerr[2], *zerr[2];
67 
78 };
79 
80 #endif
MonitorElement * xerrVsTrks[2]
MonitorElement * xerr[2]
MonitorElement * vtxndf[2]
MonitorElement * dxyVsEta_pt1
MonitorElement * dzVsPhi_pt10
MonitorElement * dzVsPhi_pt1
void pvTracksPlots(const reco::Vertex &v)
void vertexPlots(const reco::Vertex &v, const reco::BeamSpot &beamSpot, int i)
MonitorElement * bsSigmaZ
~PrimaryVertexMonitor() override=default
edm::InputTag beamSpotInputTag_
MonitorElement * eta_pt1
edm::EDGetTokenT< VertexScore > scoreToken_
MonitorElement * dxyVsEtaVsPhi_pt10
MonitorElement * dzVsEtaVsPhi_pt1
MonitorElement * chi2ndf
MonitorElement * tt[2]
MonitorElement * dxyVsPhi_pt10
MonitorElement * xDiff[2]
MonitorElement * dzVsEta_pt1
MonitorElement * ntracksVsZ[2]
edm::ParameterSet conf_
MonitorElement * zerrVsTrks[2]
MonitorElement * nans[2]
MonitorElement * phi_pt10
MonitorElement * yerrVsTrks[2]
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * dxyVsEta_pt10
MonitorElement * zerr[2]
MonitorElement * yrec[2]
MonitorElement * zrec[2]
MonitorElement * vtxchi2[2]
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
MonitorElement * eta_pt10
MonitorElement * dzVsEta_pt10
MonitorElement * dxyVsEtaVsPhi_pt1
MonitorElement * chi2prob
MonitorElement * nbtksinvtx[2]
MonitorElement * phi_pt1
static constexpr int cmToUm
MonitorElement * yerr[2]
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * xrec[2]
MonitorElement * vtxprob[2]
MonitorElement * ntracks
MonitorElement * bsBeamWidthY
MonitorElement * score[2]
MonitorElement * dzVsEtaVsPhi_pt10
MonitorElement * yDiff[2]
MonitorElement * trksWeight[2]
PrimaryVertexMonitor(const edm::ParameterSet &pSet)
Definition: Run.h:45
MonitorElement * bsBeamWidthX
MonitorElement * dxyVsPhi_pt1