ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/rootEWKanalyzer/include/rootNtupleClass.h
(Generate patch)

Comparing UserCode/rootEWKanalyzer/include/rootNtupleClass.h (file contents):
Revision 1.4 by jueugste, Wed Oct 6 12:08:19 2010 UTC vs.
Revision 1.5 by jueugste, Mon Nov 15 09:51:24 2010 UTC

# Line 10 | Line 10
10   #include <TROOT.h>
11   #include <TChain.h>
12   #include <TFile.h>
13 + #include <vector>
14 +
15 + using namespace std;
16  
17   class rootNtupleClass {
18   public :
# Line 77 | Line 80 | public :
80     Double_t        VrtxChi2[25];   //[NVrtx]
81     Double_t        VrtxNtrks[25];   //[NVrtx]
82     Double_t        VrtxSumPt[25];   //[NVrtx]
83 +
84 +   Int_t           VrtxTrkIndex[25][400];
85 +
86     Int_t           NGenLeptons;
87     Int_t           GenLeptonID[100];   //[NGenLeptons]
88     Double_t        GenLeptonPt[100];   //[NGenLeptons]
# Line 589 | Line 595 | public :
595     TBranch        *b_VrtxChi2;   //!
596     TBranch        *b_VrtxNtrks;   //!
597     TBranch        *b_VrtxSumPt;   //!
598 +
599 +   TBranch        *b_VrtxTrkIndex;
600 +
601     TBranch        *b_NGenLeptons;   //!
602     TBranch        *b_GenLeptonID;   //!
603     TBranch        *b_GenLeptonPt;   //!
# Line 1186 | Line 1195 | void rootNtupleClass::Init(TTree *tree)
1195     fChain->SetBranchAddress("VrtxChi2", VrtxChi2, &b_VrtxChi2);
1196     fChain->SetBranchAddress("VrtxNtrks", VrtxNtrks, &b_VrtxNtrks);
1197     fChain->SetBranchAddress("VrtxSumPt", VrtxSumPt, &b_VrtxSumPt);
1198 +
1199 +   fChain->SetBranchAddress("VrtxTrkIndex", VrtxTrkIndex, &b_VrtxTrkIndex);
1200 +
1201     fChain->SetBranchAddress("NGenLeptons", &NGenLeptons, &b_NGenLeptons);
1202     fChain->SetBranchAddress("GenLeptonID", &GenLeptonID, &b_GenLeptonID);
1203     fChain->SetBranchAddress("GenLeptonPt", &GenLeptonPt, &b_GenLeptonPt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines