test
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 
12 
15 
19 
20 
27  public:
28  explicit PrimaryVertexMonitor(const edm::ParameterSet& pSet);
29 
31 
32  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
33  virtual void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup);
34 
35  virtual void endJob();
36 
37  private:
38 
39  void pvTracksPlots(const reco::Vertex & v);
40  void vertexPlots(const reco::Vertex & v, const reco::BeamSpot& beamSpot, int i);
41 
44 
46 
48 
51 
54 
55  // the histos
58  MonitorElement *xrec[2] , *yrec[2], *zrec[2], *xDiff[2] , *yDiff[2], *xerr[2] , *yerr[2], *zerr[2] ;
60  MonitorElement *vtxchi2[2] , *vtxndf[2], *vtxprob[2] , *nans[2];
63 
70 
71 
72 };
73 
74 
75 #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]
int iEvent
Definition: GenABIO.cc:230
MonitorElement * yerrVsTrks[2]
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
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * chi2prob
MonitorElement * nbtksinvtx[2]
MonitorElement * yerr[2]
MonitorElement * xrec[2]
MonitorElement * vtxprob[2]
MonitorElement * ntracks
MonitorElement * bsBeamWidthY
MonitorElement * yDiff[2]
MonitorElement * trksWeight[2]
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
PrimaryVertexMonitor(const edm::ParameterSet &pSet)
Definition: Run.h:41
MonitorElement * bsBeamWidthX
MonitorElement * dxyVsPhi_pt1