CMS 3D CMS Logo

PrimaryVertexMonitor.h
Go to the documentation of this file.
1 #ifndef DQMOffline_RecoB_PrimaryVertexMonitor_H
2 #define DQMOffline_RecoB_PrimaryVertexMonitor_H
3 
17 
24 public:
25  explicit PrimaryVertexMonitor(const edm::ParameterSet &pSet);
26  ~PrimaryVertexMonitor() override = default;
27 
28  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
29 
30  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
31  void analyze(const edm::Event &, const edm::EventSetup &) override;
32 
33  struct IPMonitoring {
35  float pTcut_;
40 
42 
43  private:
46  };
47 
48 private:
49  void pvTracksPlots(const reco::Vertex &v);
50  void vertexPlots(const reco::Vertex &v, const reco::BeamSpot &beamSpot, int i);
51 
52  // event data
53 
60 
61  // configuration
62 
67  const int ndof_;
70 
71  static constexpr int cmToUm = 10000;
72 
73  // the histos
76  MonitorElement *xrec[2], *yrec[2], *zrec[2], *xDiff[2], *yDiff[2], *xerr[2], *yerr[2], *zerr[2];
82 
86 
88 
89  // IP monitoring structs
92 
95 };
96 
97 #endif
MonitorElement * xerrVsTrks[2]
const std::string AlignmentLabel_
MonitorElement * xerr[2]
MonitorElement * vtxndf[2]
void pvTracksPlots(const reco::Vertex &v)
dqm::reco::MonitorElement * IPErrVsEta_
void vertexPlots(const reco::Vertex &v, const reco::BeamSpot &beamSpot, int i)
MonitorElement * bsSigmaZ
~PrimaryVertexMonitor() override=default
MonitorElement * eta_pt1
const edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
const std::string dqmLabel
dqm::reco::MonitorElement * IPPull_
MonitorElement * chi2ndf
dqm::reco::MonitorElement * IPVsEtaVsPhi_
void bookIPMonitor(DQMStore::IBooker &, const edm::ParameterSet &)
MonitorElement * xDiff[2]
const edm::InputTag vertexInputTag_
dqm::reco::MonitorElement * IP_
MonitorElement * ntracksVsZ[2]
const edm::EDGetTokenT< VertexScore > scoreToken_
MonitorElement * zerrVsTrks[2]
MonitorElement * nans[2]
MonitorElement * phi_pt10
Definition: TTTypes.h:54
dqm::reco::MonitorElement * IPVsEta_
dqm::reco::MonitorElement * IPErrVsPhi_
MonitorElement * yerrVsTrks[2]
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * zerr[2]
MonitorElement * yrec[2]
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
dqm::reco::MonitorElement * IPErr_
MonitorElement * zrec[2]
MonitorElement * vtxchi2[2]
MonitorElement * eta_pt10
dqm::reco::MonitorElement * IPErrVsEtaVsPhi_
MonitorElement * chi2prob
const edm::ParameterSet conf_
const std::string TopFolderName_
MonitorElement * nbtksinvtx[2]
dqm::reco::MonitorElement * IPVsPhi_
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]
const edm::EDGetTokenT< reco::VertexCollection > vertexToken_
MonitorElement * ntracks
MonitorElement * bsBeamWidthY
MonitorElement * score[2]
MonitorElement * yDiff[2]
MonitorElement * trksWeight[2]
PrimaryVertexMonitor(const edm::ParameterSet &pSet)
Definition: Run.h:45
MonitorElement * bsBeamWidthX
const edm::InputTag beamSpotInputTag_