Skip to content
Snippets Groups Projects
Commit b0770d6f authored by Baptiste LENIAU's avatar Baptiste LENIAU
Browse files

Change for read only the first Data, reading more than one parc in one DataTree is not possible

git-svn-id: svn+ssh://svn.in2p3.fr/class@154 0e7d625b-0364-4367-a6be-d5be4a48d228
parent 7907a797
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,11 @@ CLASSRead::CLASSRead(TString filename)
{
fFileIn = TFile::Open(filename);
for( int i =0; i < fFileIn->GetNkeys(); i++)
{
fData.push_back( (TTree*)gDirectory->Get(fFileIn->GetListOfKeys()->At(i)->GetName() ) );
}
// for( int i =0; i < fFileIn->GetNkeys(); i++)
// {
//cout<<"KeyNum "<<i<<endl;
fData.push_back( (TTree*)gDirectory->Get(fFileIn->GetListOfKeys()->At(fFileIn->GetNkeys()-1)->GetName() ) );
// }
fCNuclei = 0;
fGraph = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment