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 
24 class DQMStore;
25 
27 public:
30  void analyze(const edm::Event &, const edm::EventSetup &) override;
31  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
32 
33  // Tracking particle distributions
37 
38  // Plots for correctly matched tracks
39  MonitorElement *Track_MatchedChi2 = nullptr; // Chi2 for only tracks correctly matched to truth level
40  MonitorElement *Track_MatchedChi2Red = nullptr; // Chi2/dof for only tracks correctly matched to truth level
41 
42  // pT and eta for efficiency plots
43  MonitorElement *tp_pt = nullptr; // denominator
44  MonitorElement *tp_pt_zoom = nullptr; // denominator
45  MonitorElement *tp_eta = nullptr; // denominator
46  MonitorElement *tp_d0 = nullptr; // denominator
47  MonitorElement *tp_VtxR = nullptr; // denominator (also known as vxy)
48  MonitorElement *tp_VtxZ = nullptr; // denominator
49  MonitorElement *match_tp_pt = nullptr; // numerator
50  MonitorElement *match_tp_pt_zoom = nullptr; // numerator
51  MonitorElement *match_tp_eta = nullptr; // numerator
52  MonitorElement *match_tp_d0 = nullptr; // numerator
53  MonitorElement *match_tp_VtxR = nullptr; // numerator (also known as vxy)
54  MonitorElement *match_tp_VtxZ = nullptr; // numerator
55 
56  // 1D intermediate resolution plots (pT and eta)
57  MonitorElement *res_eta = nullptr; // for all eta and pT
58  MonitorElement *res_pt = nullptr; // for all eta and pT
59  MonitorElement *res_ptRel = nullptr; // for all eta and pT (delta(pT)/pT)
96 
97  // For d0
104 
105 private:
109  ttClusterMCTruthToken_; // MC truth association map for clusters
111  ttStubMCTruthToken_; // MC truth association map for stubs
113  ttTrackMCTruthToken_; // MC truth association map for tracks
116  double L1Tk_maxChi2;
120  double TP_minPt;
121  double TP_maxPt;
122  double TP_maxEta;
123  double TP_maxVtxZ;
126 };
127 #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