/[PAMELA software]/DarthVader/NDLevel2/src/NDCore.cpp
ViewVC logotype

Diff of /DarthVader/NDLevel2/src/NDCore.cpp

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

revision 1.23 by mocchiut, Tue Aug 4 14:01:23 2009 UTC revision 1.24 by mocchiut, Fri Jan 29 05:49:25 2010 UTC
# Line 323  int NDCore(UInt_t run, TFile *file, GL_T Line 323  int NDCore(UInt_t run, TFile *file, GL_T
323        }        }
324        for (UInt_t j = 0; j < nobefrun; j++){        for (UInt_t j = 0; j < nobefrun; j++){
325          //          //
326          NDtrclone->GetEntry(j);            if ( NDtrclone->GetEntry(j) <= 0 ) throw -36;    
327          //          //
328          // copy ndclone to mydec          // copy ndclone to mydec
329          //          //
# Line 477  int NDCore(UInt_t run, TFile *file, GL_T Line 477  int NDCore(UInt_t run, TFile *file, GL_T
477        //        //
478        if ( procev%1000 == 0 && procev > 0 && verbose ) printf(" %iK \n",procev/1000);          if ( procev%1000 == 0 && procev > 0 && verbose ) printf(" %iK \n",procev/1000);  
479        //        //
480        l0head->GetEntry(re);        if ( l0head->GetEntry(re) <= 0 ) throw -36;
481        //        //
482        // absolute time of this event        // absolute time of this event
483        //        //
# Line 497  int NDCore(UInt_t run, TFile *file, GL_T Line 497  int NDCore(UInt_t run, TFile *file, GL_T
497        //        //
498        nd->Clear();        nd->Clear();
499        //        //
500        l0ND->GetEntry(re);        if ( l0ND->GetEntry(re) <= 0 ) throw -36;
501        tmpSize = l0ne->Records->GetEntries();        tmpSize = l0ne->Records->GetEntries();
502        if ( tmpSize && l0ne->unpackError == 0 ){        if ( tmpSize && l0ne->unpackError == 0 ){
503          for (Int_t j = 0; j < tmpSize; j++){          for (Int_t j = 0; j < tmpSize; j++){
# Line 547  int NDCore(UInt_t run, TFile *file, GL_T Line 547  int NDCore(UInt_t run, TFile *file, GL_T
547          //          //
548          // Get entry from old tree          // Get entry from old tree
549          //          //
550          NDtrclone->GetEntry(j);            if ( NDtrclone->GetEntry(j) <= 0 ) throw -36;    
551          //          //
552          // copy ndclone to nd          // copy ndclone to nd
553          //          //

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

  ViewVC Help
Powered by ViewVC 1.1.23