CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
20 // system include files
21 #include <string>
22 
23 // user include files
27 
28 // simulated vertex
30 
31 // simulated track
33 
34 // track
37 
38 // ROOT forward declarations
39 class TFile;
40 class TH1;
41 class TH2;
42 
43 // class declaration
44 //
46 
48  public:
51 
52  virtual void analyze(const edm::Event&, const edm::EventSetup&);
53  virtual void beginJob();
54  virtual void endJob();
55 
56  private:
57  bool match(const ParameterVector &a, const ParameterVector &b);
58  // ----------member data ---------------------------
62  // root file to store histograms
63  std::string outputFile_; // output file
64  TFile* rootFile_;
65  TH1* h1_pull0_;
66  TH1* h1_pull1_;
67  TH1* h1_pull2_;
68  TH1* h1_pull3_;
69  TH1* h1_pull4_;
70  TH1* h1_res0_;
71  TH1* h1_res1_;
72  TH1* h1_res2_;
73  TH1* h1_res3_;
74  TH1* h1_res4_;
75  TH1* h1_Beff_;
76  TH2* h2_dvsphi_;
77  TH1* h1_par0_;
78  TH1* h1_par1_;
79  TH1* h1_par2_;
80  TH1* h1_par3_;
81  TH1* h1_par4_;
82  double simUnit_;
83  bool verbose_;
84 };
TrackParameterAnalyzer(const edm::ParameterSet &)
math::Vector< dimension >::type ParameterVector
parameter vector
Definition: TrackBase.h:73
bool match(const ParameterVector &a, const ParameterVector &b)
edm::EDGetTokenT< edm::SimTrackContainer > edmSimTrackContainerToken_
edm::EDGetTokenT< reco::TrackCollection > recoTrackCollectionToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< edm::SimVertexContainer > edmSimVertexContainerToken_
double b
Definition: hdecay.h:120
reco::TrackBase::ParameterVector ParameterVector
double a
Definition: hdecay.h:121