CMS 3D CMS Logo

TrackParameterAnalyzer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TrackParameterAnalyzer
4 // Class: TrackParameterAnalyzer
5 //
13 //
14 // Original Author: Wolfram Erdmann
15 // Created: Fri Jun 2 10:54:05 CEST 2006
16 //
17 //
18 
19 // system include files
20 #include <string>
21 
22 // user include files
26 
27 // simulated vertex
29 
30 // simulated track
32 
33 // track
36 
37 // ROOT forward declarations
38 class TFile;
39 class TH1;
40 class TH2;
41 
42 // class declaration
43 //
45 
47 public:
49  ~TrackParameterAnalyzer() override;
50 
51  void analyze(const edm::Event&, const edm::EventSetup&) override;
52  void beginJob() override;
53  void endJob() override;
54 
55 private:
56  bool match(const ParameterVector& a, const ParameterVector& b);
57  // ----------member data ---------------------------
61  // root file to store histograms
62  std::string outputFile_; // output file
63  TFile* rootFile_;
64  TH1* h1_pull0_;
65  TH1* h1_pull1_;
66  TH1* h1_pull2_;
67  TH1* h1_pull3_;
68  TH1* h1_pull4_;
69  TH1* h1_res0_;
70  TH1* h1_res1_;
71  TH1* h1_res2_;
72  TH1* h1_res3_;
73  TH1* h1_res4_;
74  TH1* h1_Beff_;
75  TH2* h2_dvsphi_;
76  TH1* h1_par0_;
77  TH1* h1_par1_;
78  TH1* h1_par2_;
79  TH1* h1_par3_;
80  TH1* h1_par4_;
81  double simUnit_;
82  bool verbose_;
83 };
TrackParameterAnalyzer(const edm::ParameterSet &)
math::Vector< dimension >::type ParameterVector
parameter vector
Definition: TrackBase.h:72
bool match(const ParameterVector &a, const ParameterVector &b)
edm::EDGetTokenT< edm::SimTrackContainer > edmSimTrackContainerToken_
edm::EDGetTokenT< reco::TrackCollection > recoTrackCollectionToken_
edm::EDGetTokenT< edm::SimVertexContainer > edmSimVertexContainerToken_
double b
Definition: hdecay.h:118
reco::TrackBase::ParameterVector ParameterVector
void analyze(const edm::Event &, const edm::EventSetup &) override
double a
Definition: hdecay.h:119