/[PAMELA software]/PamelaLevel2/src/PamLevel2.cpp
ViewVC logotype

Diff of /PamelaLevel2/src/PamLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by mocchiut, Sat Mar 17 07:44:24 2007 UTC revision 1.29 by mocchiut, Sat Mar 17 08:41:09 2007 UTC
# Line 2387  Int_t PamLevel2::GetEntry(Int_t iee){ Line 2387  Int_t PamLevel2::GetEntry(Int_t iee){
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      //-------------------------------      //-------------------------------

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.23