CMS 3D CMS Logo

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 private:
39  void analyze(const edm::Event&, const edm::EventSetup&) override;
40  void endJob() override;
41 
42  // ----------member data ---------------------------
43 
47 
48  bool skip;
50  TTree* tree_eff;
51  TTree* tree_fake;
52  TFile* file_;
53 
54  int irun, ievt;
55 
58  int countpart[2], countpartrec[2];
60  // int countsim;
61  float ene[2][2], p[2][2], px[2][2], py[2][2], pz[2][2], ptmu[2][2];
62  float recene[2][2], recp[2][2], recpx[2][2], recpy[2][2], recpz[2][2], recptmu[2][2];
63 
64  int trackType;
65  float pt, eta, cottheta, theta, costheta, phi, d0, z0;
66  int nhit;
69  float recchiq;
71 
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
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