CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OuterTrackerMonitorTrackingParticles.h
Go to the documentation of this file.
1 #ifndef SiOuterTrackerV_OuterTrackerMonitorTrackingParticles_h
2 #define SiOuterTrackerV_OuterTrackerMonitorTrackingParticles_h
3 
20 #include <memory>
21 #include <string>
22 #include <vector>
23 
25 public:
28  void analyze(const edm::Event &, const edm::EventSetup &) override;
29  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
30 
31  // Tracking particle distributions
35 
36  // pT and eta for efficiency plots
37  MonitorElement *tp_pt = nullptr; // denominator
38  MonitorElement *tp_pt_zoom = nullptr; // denominator
39  MonitorElement *tp_eta = nullptr; // denominator
40  MonitorElement *tp_d0 = nullptr; // denominator
41  MonitorElement *tp_VtxR = nullptr; // denominator (also known as vxy)
42  MonitorElement *tp_VtxZ = nullptr; // denominator
43  MonitorElement *match_tp_pt = nullptr; // numerator
44  MonitorElement *match_tp_pt_zoom = nullptr; // numerator
45  MonitorElement *match_tp_eta = nullptr; // numerator
46  MonitorElement *match_tp_d0 = nullptr; // numerator
47  MonitorElement *match_tp_VtxR = nullptr; // numerator (also known as vxy)
48  MonitorElement *match_tp_VtxZ = nullptr; // numerator
49 
50  // 1D intermediate resolution plots (pT and eta)
51  MonitorElement *res_eta = nullptr; // for all eta and pT
52  MonitorElement *res_pt = nullptr; // for all eta and pT
53  MonitorElement *res_ptRel = nullptr; // for all eta and pT (delta(pT)/pT)
90 
91  // For d0
98 
99 private:
104  ttClusterMCTruthToken_; // MC truth association map for clusters
106  ttStubMCTruthToken_; // MC truth association map for stubs
108  ttTrackMCTruthToken_; // MC truth association map for tracks
113  double TP_minPt;
114  double TP_maxEta;
115  double TP_maxVtxZ;
117 };
118 #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