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 
21 
28  public:
29  explicit PrimaryVertexMonitor(const edm::ParameterSet& pSet);
30 
32 
33  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
34  virtual void analyze(const edm::Event &, const edm::EventSetup &) override;
35 
36  private:
37 
38  void pvTracksPlots(const reco::Vertex & v);
39  void vertexPlots(const reco::Vertex & v, const reco::BeamSpot& beamSpot, int i);
40 
45 
47 
49 
51 
54  int ndof_;
56 
57  // the histos
60  MonitorElement *xrec[2] , *yrec[2], *zrec[2], *xDiff[2] , *yDiff[2], *xerr[2] , *yerr[2], *zerr[2] ;
63  MonitorElement *vtxchi2[2] , *vtxndf[2], *vtxprob[2] , *nans[2];
66 
73 
74 
75 };
76 
77 
78 #endif
type
Definition: HCALResponse.h:21
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
edm::InputTag beamSpotInputTag_
edm::EDGetTokenT< VertexScore > scoreToken_
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 * yerrVsTrks[2]
virtual 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 * dzVsEta_pt10
MonitorElement * chi2prob
MonitorElement * nbtksinvtx[2]
MonitorElement * yerr[2]
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * xrec[2]
MonitorElement * vtxprob[2]
MonitorElement * ntracks
MonitorElement * bsBeamWidthY
MonitorElement * score[2]
MonitorElement * yDiff[2]
MonitorElement * trksWeight[2]
PrimaryVertexMonitor(const edm::ParameterSet &pSet)
Definition: Run.h:42
MonitorElement * bsBeamWidthX
MonitorElement * dxyVsPhi_pt1