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 //
21 
22 #include "TTree.h"
23 #include "TFile.h"
24 
25 #include <TROOT.h>
26 #include <TSystem.h>
27 #include <TCanvas.h>
28 #include <cmath>
29 #include "TStyle.h"
30 
31 //
32 // class decleration
33 //
34 
36 public:
39 
40 
41 private:
42  virtual void analyze(const edm::Event&, const edm::EventSetup&);
43  virtual void endJob() ;
44 
45  // ----------member data ---------------------------
46 
49  std::string rootfile_;
50 
51  bool skip;
53  TTree* tree_eff;
54  TTree* tree_fake;
55  TFile* file_;
56 
57 
58  int irun, ievt;
59 
64  // int countsim;
65  float ene[2][2],p[2][2],px[2][2],py[2][2],pz[2][2],ptmu[2][2];
66  float recene[2][2],recp[2][2],recpx[2][2],recpy[2][2],recpz[2][2],recptmu[2][2];
67 
68  int trackType;
69  float pt, eta, cottheta, theta, costheta, phi, d0, z0;
70  int nhit;
73  float recchiq;
75 
79  float fakeene[2][2],fakep[2][2],fakepx[2][2],fakepy[2][2],fakepz[2][2],fakeptmu[2][2];
80  float fakerecene[2][2],fakerecp[2][2],fakerecpx[2][2],fakerecpy[2][2],fakerecpz[2][2],fakerecptmu[2][2];
81 
84  int fakenhit;
87  float fakerecchiq;
89 
90  double chi2tmp;
91  float fractiontmp;
92  bool onlyDiag;
94  std::vector<std::string> associators;
95  std::vector<const TrackAssociatorBase*> associatore;
96 
97  std::vector<edm::InputTag> label;
100 
102  std::vector<float> ptused;
103 
105 };
106 
107 #endif
108 
virtual void analyze(const edm::Event &, const edm::EventSetup &)
ValidationMisalignedTracker(const edm::ParameterSet &)
std::vector< std::string > associators
std::vector< edm::InputTag > label
edm::ESHandle< MagneticField > theMF
edm::ESWatcher< TrackAssociatorRecord > watchTrackAssociatorRecord_
std::vector< const TrackAssociatorBase * > associatore