| 2387 |
// a problem if you don't check the return code of getentry. |
// a problem if you don't check the return code of getentry. |
| 2388 |
// |
// |
| 2389 |
if(!run_tree ){ |
if(!run_tree ){ |
| 2390 |
cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- run tree not loaded"<<endl; |
if ( TRK0 || CAL0 || TOF0 || RUN ) { //forse cosi` va bene per tornare 1? |
| 2391 |
return 0; |
cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- run tree not loaded"<<endl; |
| 2392 |
|
return 0; |
| 2393 |
|
} else { |
| 2394 |
|
return 1; //cosi` se non c'e` run esce qua... |
| 2395 |
|
} |
| 2396 |
} |
} |
| 2397 |
|
|
| 2398 |
//------------------------------- |
//------------------------------- |