ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/IPHCalignment2/analysis/TwoBodyDecaySpy.h
Revision: 1.3
Committed: Thu Dec 1 13:46:25 2011 UTC (13 years, 5 months ago) by cgoetzma
Content type: text/plain
Branch: MAIN
CVS Tags: TBD2011, HEAD
Changes since 1.2: +17 -0 lines
Error occurred while calculating annotation data.
Log Message:
chris mods

File Contents

# Content
1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Thu Nov 24 19:04:56 2011 by ROOT version 5.27/06b
4 // from TTree KinFitterSpy/KinFitterSpy
5 // found on file: analyzerTree.root
6 //////////////////////////////////////////////////////////
7
8 #ifndef TwoBodyDecaySpy_h
9 #define TwoBodyDecaySpy_h
10
11 #include <TROOT.h>
12 #include <TChain.h>
13 #include <TFile.h>
14 #include <string>
15
16 class TwoBodyDecaySpy {
17 public :
18 TTree *fChain; //!pointer to the analyzed TTree or TChain
19 Int_t fCurrent; //!current Tree number in a TChain
20
21 // Declaration of leaf types
22 Float_t Charge[2];
23 Float_t OldTrack_px[2];
24 Float_t OldTrack_py[2];
25 Float_t OldTrack_pz[2];
26 Float_t NewTrack_px[2];
27 Float_t NewTrack_py[2];
28 Float_t NewTrack_pz[2];
29 Float_t NewTrack_Edmund_p[2];
30 Float_t NewTrack_Edmund_pErr[2];
31 Float_t NewTrack_Eric_p[2];
32 Float_t NewTrack_Eric_pErr[2];
33 Float_t Zmass;
34 Float_t ZmassErr;
35 Float_t tbdChi2;
36
37 Float_t d0_Center;
38 Float_t d0_BS;
39 Float_t d0_PV;
40
41 Float_t BS_X;
42 Float_t BS_Y;
43 Float_t BS_Z;
44
45 Float_t TrackGen_p[2];
46 Float_t TrackGen_pt[2];
47 Float_t TrackGen_px[2];
48 Float_t TrackGen_py[2];
49 Float_t TrackGen_pz[2];
50 Float_t TrackGen_eta[2];
51 Float_t TrackGen_phi[2];
52 Float_t TrackGen_charge[2];
53 Float_t TrackGen_deltaRreco[2];
54
55 Float_t Vtx_X;
56 Float_t Vtx_Y;
57 Float_t Vtx_Z;
58 Float_t Cov_XX;
59 Float_t Cov_XY;
60 Float_t Cov_XZ;
61 Float_t Cov_YX;
62 Float_t Cov_YY;
63 Float_t Cov_YZ;
64 Float_t Cov_ZX;
65 Float_t Cov_ZY;
66 Float_t Cov_ZZ;
67 Int_t RunNumber;
68 Int_t EventNumber;
69
70 // List of branches
71 TBranch *b_Charge; //!
72 TBranch *b_OldTrack_px; //!
73 TBranch *b_OldTrack_py; //!
74 TBranch *b_OldTrack_pz; //!
75 TBranch *b_NewTrack_px; //!
76 TBranch *b_NewTrack_py; //!
77 TBranch *b_NewTrack_pz; //!
78 TBranch *b_NewTrack_Edmund_p; //!
79 TBranch *b_NewTrack_Edmund_pErr; //!
80 TBranch *b_NewTrack_Eric_p; //!
81 TBranch *b_NewTrack_Eric_pErr; //!
82 TBranch *b_Zmass; //!
83 TBranch *b_ZmassErr; //!
84 TBranch *b_tbdChi2; //!
85
86 TBranch *b_d0_Center;
87 TBranch *b_d0_BS;
88 TBranch *b_d0_PV;
89
90 TBranch *b_BS_X;
91 TBranch *b_BS_Y;
92 TBranch *b_BS_Z;
93
94
95 TBranch *b_TrackGen_p;
96 TBranch *b_TrackGen_pt;
97 TBranch *b_TrackGen_px;
98 TBranch *b_TrackGen_py;
99 TBranch *b_TrackGen_pz;
100 TBranch *b_TrackGen_eta;
101 TBranch *b_TrackGen_phi;
102 TBranch *b_TrackGen_charge;
103 TBranch *b_TrackGen_deltaRreco;
104
105 TBranch *b_Vtx_X; //!
106 TBranch *b_Vtx_Y; //!
107 TBranch *b_Vtx_Z; //!
108 TBranch *b_Cov_XX; //!
109 TBranch *b_Cov_XY; //!
110 TBranch *b_Cov_XZ; //!
111 TBranch *b_Cov_YX; //!
112 TBranch *b_Cov_YY; //!
113 TBranch *b_Cov_YZ; //!
114 TBranch *b_Cov_ZX; //!
115 TBranch *b_Cov_ZY; //!
116 TBranch *b_Cov_ZZ; //!
117 TBranch *b_RunNumber; //!
118 TBranch *b_EventNumber; //!
119
120 TwoBodyDecaySpy(const std::string& filename, const std::string& name);
121 ~TwoBodyDecaySpy();
122 Int_t Cut(Long64_t entry);
123 Int_t GetEntry(Long64_t entry);
124 Long64_t LoadTree(Long64_t entry);
125 void Init(TTree *tree);
126 Long64_t GetEntriesFast() {return fChain->GetEntriesFast();}
127
128 void Loop();
129 Bool_t Notify();
130 void Show(Long64_t entry = -1);
131 };
132
133 #endif
134