CMS 3D CMS Logo

OuterTrackerMonitorTrackingParticles.h
Go to the documentation of this file.
1 #ifndef SiOuterTrackerV_OuterTrackerMonitorTrackingParticles_h
2 #define SiOuterTrackerV_OuterTrackerMonitorTrackingParticles_h
3 
19 #include <memory>
20 #include <string>
21 #include <vector>
22 
24 public:
27  void analyze(const edm::Event &, const edm::EventSetup &) override;
28  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
29 
30  // Tracking particle distributions
34 
35  // pT and eta for efficiency plots
36  MonitorElement *tp_pt = nullptr; // denominator
37  MonitorElement *tp_pt_zoom = nullptr; // denominator
38  MonitorElement *tp_eta = nullptr; // denominator
39  MonitorElement *tp_d0 = nullptr; // denominator
40  MonitorElement *tp_VtxR = nullptr; // denominator (also known as vxy)
41  MonitorElement *tp_VtxZ = nullptr; // denominator
42  MonitorElement *match_tp_pt = nullptr; // numerator
43  MonitorElement *match_tp_pt_zoom = nullptr; // numerator
44  MonitorElement *match_tp_eta = nullptr; // numerator
45  MonitorElement *match_tp_d0 = nullptr; // numerator
46  MonitorElement *match_tp_VtxR = nullptr; // numerator (also known as vxy)
47  MonitorElement *match_tp_VtxZ = nullptr; // numerator
48 
49  // 1D intermediate resolution plots (pT and eta)
50  MonitorElement *res_eta = nullptr; // for all eta and pT
51  MonitorElement *res_pt = nullptr; // for all eta and pT
52  MonitorElement *res_ptRel = nullptr; // for all eta and pT (delta(pT)/pT)
89 
90  // For d0
97 
98 private:
103  ttClusterMCTruthToken_; // MC truth association map for clusters
105  ttStubMCTruthToken_; // MC truth association map for stubs
107  ttTrackMCTruthToken_; // MC truth association map for tracks
112  double TP_minPt;
113  double TP_maxEta;
114  double TP_maxVtxZ;
116 };
117 #endif
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< std::vector< TrackingParticle > > trackingParticleToken_
edm::EDGetTokenT< TTTrackAssociationMap< Ref_Phase2TrackerDigi_ > > ttTrackMCTruthToken_
edm::EDGetTokenT< TTClusterAssociationMap< Ref_Phase2TrackerDigi_ > > ttClusterMCTruthToken_
edm::EDGetTokenT< TTStubAssociationMap< Ref_Phase2TrackerDigi_ > > ttStubMCTruthToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > m_topoToken
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: Run.h:45