11// ////////////////////////////////////////////////////////
22// This class has been automatically generated on
3- // Fri Aug 9 14:57:01 2013 by ROOT version 5.34/09
3+ // Fri Aug 9 16:03:44 2013 by ROOT version 5.34/09
44// from TTree outTree/outTree
5- // found on file: /media/data/cmorgoth/scope_data/NoCrystalData/NoCrystalData .root
5+ // found on file: /media/data/cmorgoth/scope_data/data_Scope_Total .root
66// ////////////////////////////////////////////////////////
77
88#ifndef outTree_h
@@ -48,17 +48,17 @@ public :
4848#ifdef outTree_cxx
4949outTree::outTree (TTree *tree) : fChain(0 )
5050{
51- // if parameter tree is not specified (or zero), connect the file
52- // used to generate this class and read the Tree.
53- if (tree == 0 ) {
54- TFile *f = (TFile*)gROOT ->GetListOfFiles ()->FindObject (" /media/data/cmorgoth/scope_data/NoCrystalData/NoCrystalData .root" );
55- if (!f || !f->IsOpen ()) {
56- f = new TFile (" /media/data/cmorgoth/scope_data/NoCrystalData/NoCrystalData .root" );
57- }
58- f->GetObject (" outTree" ,tree);
59-
60- }
61- Init (tree);
51+ // if parameter tree is not specified (or zero), connect the file
52+ // used to generate this class and read the Tree.
53+ if (tree == 0 ) {
54+ TFile *f = (TFile*)gROOT ->GetListOfFiles ()->FindObject (" /media/data/cmorgoth/scope_data/data_Scope_Total .root" );
55+ if (!f || !f->IsOpen ()) {
56+ f = new TFile (" /media/data/cmorgoth/scope_data/data_Scope_Total .root" );
57+ }
58+ f->GetObject (" outTree" ,tree);
59+
60+ }
61+ Init (tree);
6262}
6363
6464outTree::~outTree ()
@@ -69,46 +69,46 @@ outTree::~outTree()
6969
7070Int_t outTree::GetEntry (Long64_t entry)
7171{
72- // Read contents of entry.
73- if (!fChain ) return 0 ;
74- return fChain ->GetEntry (entry);
72+ // Read contents of entry.
73+ if (!fChain ) return 0 ;
74+ return fChain ->GetEntry (entry);
7575}
7676Long64_t outTree::LoadTree (Long64_t entry)
7777{
78- // Set the environment to read one entry
79- if (!fChain ) return -5 ;
80- Long64_t centry = fChain ->LoadTree (entry);
81- if (centry < 0 ) return centry;
82- if (fChain ->GetTreeNumber () != fCurrent ) {
83- fCurrent = fChain ->GetTreeNumber ();
84- Notify ();
85- }
86- return centry;
78+ // Set the environment to read one entry
79+ if (!fChain ) return -5 ;
80+ Long64_t centry = fChain ->LoadTree (entry);
81+ if (centry < 0 ) return centry;
82+ if (fChain ->GetTreeNumber () != fCurrent ) {
83+ fCurrent = fChain ->GetTreeNumber ();
84+ Notify ();
85+ }
86+ return centry;
8787}
8888
8989void outTree::Init (TTree *tree)
9090{
91- // The Init() function is called when the selector needs to initialize
92- // a new tree or chain. Typically here the branch addresses and branch
93- // pointers of the tree will be set.
94- // It is normally not necessary to make changes to the generated
95- // code, but the routine can be extended by the user if needed.
96- // Init() will be called many times when running on PROOF
97- // (once per file to be processed).
98-
99- // Set object pointer
100- Amp = 0 ;
101- Time = 0 ;
102- // Set branch addresses and branch pointers
103- if (!tree) return ;
104- fChain = tree;
105- fCurrent = -1 ;
106- fChain ->SetMakeClass (1 );
107-
108- fChain ->SetBranchAddress (" ptime" , &ptime, &b_ptime);
109- fChain ->SetBranchAddress (" Amp" , &Amp, &b_Amp);
110- fChain ->SetBranchAddress (" Time" , &Time, &b_Time);
111- Notify ();
91+ // The Init() function is called when the selector needs to initialize
92+ // a new tree or chain. Typically here the branch addresses and branch
93+ // pointers of the tree will be set.
94+ // It is normally not necessary to make changes to the generated
95+ // code, but the routine can be extended by the user if needed.
96+ // Init() will be called many times when running on PROOF
97+ // (once per file to be processed).
98+
99+ // Set object pointer
100+ Amp = 0 ;
101+ Time = 0 ;
102+ // Set branch addresses and branch pointers
103+ if (!tree) return ;
104+ fChain = tree;
105+ fCurrent = -1 ;
106+ fChain ->SetMakeClass (1 );
107+
108+ fChain ->SetBranchAddress (" ptime" , &ptime, &b_ptime);
109+ fChain ->SetBranchAddress (" Amp" , &Amp, &b_Amp);
110+ fChain ->SetBranchAddress (" Time" , &Time, &b_Time);
111+ Notify ();
112112}
113113
114114Bool_t outTree::Notify ()
@@ -119,21 +119,21 @@ Bool_t outTree::Notify()
119119 // to the generated code, but the routine can be extended by the
120120 // user if needed. The return value is currently not used.
121121
122- return kTRUE ;
122+ return kTRUE ;
123123}
124124
125125void outTree::Show (Long64_t entry)
126126{
127127// Print contents of entry.
128128// If entry is not specified, print current entry
129- if (!fChain ) return ;
130- fChain ->Show (entry);
129+ if (!fChain ) return ;
130+ fChain ->Show (entry);
131131}
132132Int_t outTree::Cut (Long64_t entry)
133133{
134- // This function may be called from Loop.
135- // returns 1 if entry is accepted.
136- // returns -1 otherwise.
134+ // This function may be called from Loop.
135+ // returns 1 if entry is accepted.
136+ // returns -1 otherwise.
137137 return 1 ;
138138}
139139#endif // #ifdef outTree_cxx
0 commit comments