CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ValidationMisalignedTracker.h
Go to the documentation of this file.
1 #ifndef ValidationMisalignedTracker_h
2 #define ValidationMisalignedTracker_h
3 
4 // system include files
5 #include <memory>
6 
7 // user include files
11 
12 //
19 
20 #include "TTree.h"
21 #include "TFile.h"
22 
23 #include <TROOT.h>
24 #include <TSystem.h>
25 #include <TCanvas.h>
26 #include <cmath>
27 #include "TStyle.h"
28 
29 //
30 // class decleration
31 //
32 
34 public:
37 
38 
39 private:
40  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
41  virtual void endJob() override;
42 
43  // ----------member data ---------------------------
44 
48 
49  bool skip;
51  TTree* tree_eff;
52  TTree* tree_fake;
53  TFile* file_;
54 
55 
56  int irun, ievt;
57 
62  // int countsim;
63  float ene[2][2],p[2][2],px[2][2],py[2][2],pz[2][2],ptmu[2][2];
64  float recene[2][2],recp[2][2],recpx[2][2],recpy[2][2],recpz[2][2],recptmu[2][2];
65 
66  int trackType;
67  float pt, eta, cottheta, theta, costheta, phi, d0, z0;
68  int nhit;
71  float recchiq;
73 
77  float fakeene[2][2],fakep[2][2],fakepx[2][2],fakepy[2][2],fakepz[2][2],fakeptmu[2][2];
78  float fakerecene[2][2],fakerecp[2][2],fakerecpx[2][2],fakerecpy[2][2],fakerecpz[2][2],fakerecptmu[2][2];
79 
82  int fakenhit;
85  float fakerecchiq;
87 
88  double chi2tmp;
89  float fractiontmp;
90  bool onlyDiag;
92  std::vector<std::string> associators;
93 
94  std::vector<edm::InputTag> label;
97 
99  std::vector<float> ptused;
100 };
101 
102 #endif
103 
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
ValidationMisalignedTracker(const edm::ParameterSet &)
std::vector< std::string > associators
std::vector< edm::InputTag > label
edm::ESHandle< MagneticField > theMF