969 |
|
|
970 |
cout<<endl<<" Number of entries: "<<Trout->GetEntries()<<endl<<endl; |
cout<<endl<<" Number of entries: "<<Trout->GetEntries()<<endl<<endl; |
971 |
|
|
972 |
|
pam_tree = (TChain*)Trout; |
973 |
|
|
974 |
return Trout; |
return Trout; |
975 |
|
|
976 |
} |
} |
1499 |
R->SetBranchAddress("SoftInfo", GetPointerTo("SoftInfo")); // Emiliano |
R->SetBranchAddress("SoftInfo", GetPointerTo("SoftInfo")); // Emiliano |
1500 |
cout << "Software : set branch address SoftInfo"<<endl; // Emiliano |
cout << "Software : set branch address SoftInfo"<<endl; // Emiliano |
1501 |
} |
} |
1502 |
|
|
1503 |
|
run_tree = (TChain*)R; |
1504 |
|
|
1505 |
return R; |
return R; |
1506 |
|
|
1507 |
} |
} |
2352 |
Int_t PamLevel2::GetEntry(Int_t iee){ |
Int_t PamLevel2::GetEntry(Int_t iee){ |
2353 |
|
|
2354 |
if(!pam_tree){ |
if(!pam_tree){ |
2355 |
cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- level2 trees not loeaded"<<endl; |
cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- level2 trees not loaded"<<endl; |
2356 |
return 0; |
return 0; |
2357 |
} |
} |
2358 |
if(!run_tree ){ |
if(!run_tree ){ |
2359 |
cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- run tree not loeaded"<<endl; |
cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- run tree not loaded"<<endl; |
2360 |
return 0; |
return 0; |
2361 |
} |
} |
2362 |
|
|