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 //
22 
23 #include "TTree.h"
24 #include "TFile.h"
25 
26 #include <TROOT.h>
27 #include <TSystem.h>
28 #include <TCanvas.h>
29 #include <cmath>
30 #include "TStyle.h"
31 
32 //
33 // class decleration
34 //
35 
37 public:
40 
41 private:
42  void analyze(const edm::Event&, const edm::EventSetup&) override;
43  void endJob() override;
44 
45  // ----------member data ---------------------------
46 
49 
53 
54  bool skip;
56  TTree* tree_eff;
57  TTree* tree_fake;
58  TFile* file_;
59 
60  int irun, ievt;
61 
64  int countpart[2], countpartrec[2];
66  // int countsim;
67  float ene[2][2], p[2][2], px[2][2], py[2][2], pz[2][2], ptmu[2][2];
68  float recene[2][2], recp[2][2], recpx[2][2], recpy[2][2], recpz[2][2], recptmu[2][2];
69 
70  int trackType;
71  float pt, eta, cottheta, theta, costheta, phi, d0, z0;
72  int nhit;
75  float recchiq;
77 
83  float fakeene[2][2], fakep[2][2], fakepx[2][2], fakepy[2][2], fakepz[2][2], fakeptmu[2][2];
84  float fakerecene[2][2], fakerecp[2][2], fakerecpx[2][2], fakerecpy[2][2], fakerecpz[2][2], fakerecptmu[2][2];
85 
88  int fakenhit;
91  float fakerecchiq;
93 
94  double chi2tmp;
95  float fractiontmp;
96  bool onlyDiag;
97  std::vector<std::string> associators;
98 
99  std::vector<edm::InputTag> label;
102 
104  std::vector<float> ptused;
105 };
106 
107 #endif
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
ValidationMisalignedTracker(const edm::ParameterSet &)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
std::vector< std::string > associators
std::vector< edm::InputTag > label