CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PrimaryVertexMonitor.h
Go to the documentation of this file.
1 #ifndef PrimaryVertexMonitor_H
2 #define PrimaryVertexMonitor_H
3 
5 
11 
14 
18 
19 
26  public:
27  explicit PrimaryVertexMonitor(const edm::ParameterSet& pSet);
28 
30 
31  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
32  virtual void analyze(const edm::Event &, const edm::EventSetup &) override;
33 
34  private:
35 
36  void pvTracksPlots(const reco::Vertex & v);
37  void vertexPlots(const reco::Vertex & v, const reco::BeamSpot& beamSpot, int i);
38 
41 
43 
45 
47 
50 
51  // the histos
54  MonitorElement *xrec[2] , *yrec[2], *zrec[2], *xDiff[2] , *yDiff[2], *xerr[2] , *yerr[2], *zerr[2] ;
56  MonitorElement *vtxchi2[2] , *vtxndf[2], *vtxprob[2] , *nans[2];
59 
66 
67 
68 };
69 
70 
71 #endif
type
Definition: HCALResponse.h:21
MonitorElement * xerrVsTrks[2]
MonitorElement * xerr[2]
int i
Definition: DBlmapReader.cc:9
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_
MonitorElement * chi2ndf
MonitorElement * tt[2]
MonitorElement * dxyVsPhi_pt10
MonitorElement * xDiff[2]
MonitorElement * dzVsEta_pt1
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 * yDiff[2]
MonitorElement * trksWeight[2]
PrimaryVertexMonitor(const edm::ParameterSet &pSet)
Definition: Run.h:41
MonitorElement * bsBeamWidthX
MonitorElement * dxyVsPhi_pt1