CMS 3D CMS Logo

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  // Plots for correctly matched tracks
37  MonitorElement *Track_MatchedChi2 = nullptr; // Chi2 for only tracks correctly matched to truth level
38  MonitorElement *Track_MatchedChi2Red = nullptr; // Chi2/dof for only tracks correctly matched to truth level
39 
40  // pT and eta for efficiency plots
41  MonitorElement *tp_pt = nullptr; // denominator
42  MonitorElement *tp_pt_zoom = nullptr; // denominator
43  MonitorElement *tp_eta = nullptr; // denominator
44  MonitorElement *tp_d0 = nullptr; // denominator
45  MonitorElement *tp_VtxR = nullptr; // denominator (also known as vxy)
46  MonitorElement *tp_VtxZ = nullptr; // denominator
47  MonitorElement *match_tp_pt = nullptr; // numerator
48  MonitorElement *match_tp_pt_zoom = nullptr; // numerator
49  MonitorElement *match_tp_eta = nullptr; // numerator
50  MonitorElement *match_tp_d0 = nullptr; // numerator
51  MonitorElement *match_tp_VtxR = nullptr; // numerator (also known as vxy)
52  MonitorElement *match_tp_VtxZ = nullptr; // numerator
53 
54  // 1D intermediate resolution plots (pT and eta)
55  MonitorElement *res_eta = nullptr; // for all eta and pT
56  MonitorElement *res_pt = nullptr; // for all eta and pT
57  MonitorElement *res_ptRel = nullptr; // for all eta and pT (delta(pT)/pT)
94 
95  // For d0
102 
103 private:
107  ttClusterMCTruthToken_; // MC truth association map for clusters
109  ttStubMCTruthToken_; // MC truth association map for stubs
111  ttTrackMCTruthToken_; // MC truth association map for tracks
114  double L1Tk_maxChi2;
118  double TP_minPt;
119  double TP_maxPt;
120  double TP_maxEta;
121  double TP_maxVtxZ;
124 };
125 #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_
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: Run.h:45