2491 |
// cout << "Int_t PamLevel2::GetYodaEntry()"<<endl; |
// cout << "Int_t PamLevel2::GetYodaEntry()"<<endl; |
2492 |
if(!GetYodaTree())return 0; |
if(!GetYodaTree())return 0; |
2493 |
|
|
2494 |
|
// patch |
2495 |
|
if( (Int_t)irunentry < 0){ |
2496 |
|
cout << "Int_t PamLevel2::GetYodaEntry() -- ATTENZIONE -- irunentry negativo?!?! "<<(Int_t)irunentry<<endl; |
2497 |
|
irunentry=0; |
2498 |
|
} |
2499 |
// --------------------------------- |
// --------------------------------- |
2500 |
// if file is NOT a preselected file |
// if file is NOT a preselected file |
2501 |
// --------------------------------- |
// --------------------------------- |
2502 |
Int_t quellagiusta = irunentry + run_obj->EV_FROM; |
UInt_t quellagiusta = irunentry + run_obj->EV_FROM; |
2503 |
|
|
2504 |
|
|
2505 |
// cout << " irun "<< irun << " irunentry "<< irunentry<<" run_obj->EV_FROM "<<run_obj->EV_FROM <<" quella giusta "<<quellagiusta << endl; |
// cout << " irun "<< irun << " irunentry "<< irunentry<<" run_obj->EV_FROM "<<run_obj->EV_FROM <<" quella giusta "<<quellagiusta << endl; |
2506 |
// cout << " iroot "<<iroot<<" run_obj->ID_ROOT_L0 "<<run_obj->ID_ROOT_L0<<endl; |
// cout << " iroot "<<iroot<<" run_obj->ID_ROOT_L0 "<<run_obj->ID_ROOT_L0<<endl; |