/[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.31 by mocchiut, Mon Mar 19 05:39:36 2007 UTC revision 1.32 by pam-fi, Tue Mar 20 09:57:40 2007 UTC
# Line 1565  Bool_t PamLevel2::UpdateRunInfo(TChain * Line 1565  Bool_t PamLevel2::UpdateRunInfo(TChain *
1565            prevshift = 0;            prevshift = 0;
1566            //            //
1567            if ( irun == run->GetEntries()-1 && fromfirst && !(GetOrbitalInfo()->absTime >= GetRunInfo()->RUNHEADER_TIME && GetOrbitalInfo()->absTime <= GetRunInfo()->RUNTRAILER_TIME)){            if ( irun == run->GetEntries()-1 && fromfirst && !(GetOrbitalInfo()->absTime >= GetRunInfo()->RUNHEADER_TIME && GetOrbitalInfo()->absTime <= GetRunInfo()->RUNTRAILER_TIME)){
1568              //      printf(" resetting irun \n");                printf(" resetting irun \n");
1569              fromfirst = false;                fromfirst = false;
1570              irun = 0;                irun = 0;
1571              run->GetEntry(irun);                run->GetEntry(irun);
1572              runfirstentry = 0ULL;                runfirstentry = 0ULL;
1573              runlastentry += (ULong64_t)(this->GetRunInfo()->NEVENTS);                runlastentry += (ULong64_t)(this->GetRunInfo()->NEVENTS);
1574              if ( (ULong64_t)(this->GetRunInfo()->NEVENTS) > 0ULL ) runlastentry -= 1ULL;                if ( (ULong64_t)(this->GetRunInfo()->NEVENTS) > 0ULL ) runlastentry -= 1ULL;
1575            };            };
1576            //            //
1577        };        };
# Line 1592  Bool_t PamLevel2::UpdateRunInfo(TChain * Line 1592  Bool_t PamLevel2::UpdateRunInfo(TChain *
1592        sel_tree->GetEntry(iev);        sel_tree->GetEntry(iev);
1593        if(irun != oldrun){        if(irun != oldrun){
1594            run->GetEntry(irun);            run->GetEntry(irun);
1595              prevshift = 0;
1596            return true;            return true;
1597        }        }
1598        return false;        return false;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.23