/[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.22 by mocchiut, Thu Mar 8 13:46:34 2007 UTC revision 1.23 by mocchiut, Thu Mar 8 15:25:27 2007 UTC
# Line 2355  Int_t PamLevel2::GetEntry(Int_t iee){ Line 2355  Int_t PamLevel2::GetEntry(Int_t iee){
2355          cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- level2 trees not loaded"<<endl;          cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- level2 trees not loaded"<<endl;
2356          return 0;          return 0;
2357      }      }
     if(!run_tree ){  
         cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- run tree not loaded"<<endl;  
         return 0;  
     }  
2358    
2359      Int_t ii=0;      Int_t ii=0;
2360      //-------------------------------      //-------------------------------
2361      ii = iee;      ii = iee;
2362      if( !pam_tree->GetEntry(ii) ) return 0;      if( !pam_tree->GetEntry(ii) ) return 0;
2363      //-------------------------------      //-------------------------------
2364    
2365        if(!run_tree ){
2366            cout << " Int_t PamLevel2::GetEntry(Int_t) -- ERROR -- run tree not loaded"<<endl;
2367            return 0;
2368        }
2369    
2370      ii = iee;      ii = iee;
2371      Bool_t UPDATED = UpdateRunInfo(run_tree,ii);      Bool_t UPDATED = UpdateRunInfo(run_tree,ii);
2372      if(SELLI==0)irunentry = iee-runfirstentry;      if(SELLI==0)irunentry = iee-runfirstentry;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.23