/[PAMELA software]/DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp

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

revision 1.42 by mocchiut, Wed Sep 30 12:22:31 2009 UTC revision 1.43 by mocchiut, Fri Jan 29 05:49:26 2010 UTC
# Line 433  int OrbitalInfoCore(UInt_t run, TFile *f Line 433  int OrbitalInfoCore(UInt_t run, TFile *f
433        }        }
434        for (UInt_t j = 0; j < nobefrun; j++){        for (UInt_t j = 0; j < nobefrun; j++){
435          //          //
436          OrbitalInfotrclone->GetEntry(j);                    if ( OrbitalInfotrclone->GetEntry(j) <= 0 ) throw -36;    
437          //          //
438          // copy orbitalinfoclone to mydec          // copy orbitalinfoclone to mydec
439          //          //
# Line 702  int OrbitalInfoCore(UInt_t run, TFile *f Line 702  int OrbitalInfoCore(UInt_t run, TFile *f
702        if ( procev%1000 == 0 && procev > 0 && verbose ) printf(" %iK \n",procev/1000);          if ( procev%1000 == 0 && procev > 0 && verbose ) printf(" %iK \n",procev/1000);  
703        if ( debug ) printf(" %i \n",procev);              if ( debug ) printf(" %i \n",procev);      
704        //        //
705        l0head->GetEntry(re);        if ( l0head->GetEntry(re) <= 0 ) throw -36;
706        //        //
707        // absolute time of this event        // absolute time of this event
708        //        //
# Line 740  int OrbitalInfoCore(UInt_t run, TFile *f Line 740  int OrbitalInfoCore(UInt_t run, TFile *f
740          //          //
741          tof->Clear();          tof->Clear();
742          //          //
743          ttof->GetEntry(itr);          if ( ttof->GetEntry(itr) <= 0 ) throw -36;
744          //          //
745        };        };
746        //        //
# Line 809  int OrbitalInfoCore(UInt_t run, TFile *f Line 809  int OrbitalInfoCore(UInt_t run, TFile *f
809          lowerqtime = runinfo->RUNHEADER_TIME;          lowerqtime = runinfo->RUNHEADER_TIME;
810          for ( ik = 0; ik < neventsm; ik++){          for ( ik = 0; ik < neventsm; ik++){
811            //      l0trm->GetEntry(ik);            //      l0trm->GetEntry(ik);
812            ch->GetEntry(ik);            if ( ch->GetEntry(ik) <= 0 ) throw -36;
813            tmpSize = mcmdev->Records->GetEntries();            tmpSize = mcmdev->Records->GetEntries();
814            numrec = tmpSize;            numrec = tmpSize;
815            for (Int_t j3 = 0;j3<tmpSize;j3++){            for (Int_t j3 = 0;j3<tmpSize;j3++){
# Line 906  int OrbitalInfoCore(UInt_t run, TFile *f Line 906  int OrbitalInfoCore(UInt_t run, TFile *f
906                mctren++;                mctren++;
907                mcreen = 0;                mcreen = 0;
908                //              l0trm->GetEntry(mctren);                //              l0trm->GetEntry(mctren);
909                ch->GetEntry(mctren);                if ( ch->GetEntry(mctren) <= 0 ) throw -36;
910                numrec = mcmdev->Records->GetEntries();                numrec = mcmdev->Records->GetEntries();
911              }              }
912              CopyQ(L_QQ_Q_l_lower,L_QQ_Q_l_upper);              CopyQ(L_QQ_Q_l_lower,L_QQ_Q_l_upper);
# Line 1231  int OrbitalInfoCore(UInt_t run, TFile *f Line 1231  int OrbitalInfoCore(UInt_t run, TFile *f
1231          //          //
1232          // Get entry from old tree          // Get entry from old tree
1233          //          //
1234          OrbitalInfotrclone->GetEntry(j);                    if ( OrbitalInfotrclone->GetEntry(j) <= 0 ) throw -36;    
1235          //          //
1236          // copy orbitalinfoclone to OrbitalInfo          // copy orbitalinfoclone to OrbitalInfo
1237          //          //

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

  ViewVC Help
Powered by ViewVC 1.1.23