/[PAMELA software]/DarthVader/S4Level2/src/S4Core.cpp
ViewVC logotype

Diff of /DarthVader/S4Level2/src/S4Core.cpp

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

revision 1.5 by mocchiut, Tue Sep 5 14:49:48 2006 UTC revision 1.6 by mocchiut, Tue Sep 12 13:51:33 2006 UTC
# Line 573  int S4Core(UInt_t run, TFile *file, TSQL Line 573  int S4Core(UInt_t run, TFile *file, TSQL
573        //        //
574        s4->Clear();        s4->Clear();
575        l0S4->GetEntry(re);        l0S4->GetEntry(re);
576        if (l0s4e->unpackError == 1)  continue;              if (l0s4e->unpackError == 0){
577        s4->S4adc = l0s4e->S4_DATA;          s4->S4adc = l0s4e->S4_DATA;
578        //          //
579        if ((l0s4e->S4_DATA) > 31 ){          if ((l0s4e->S4_DATA) > 31 ){
580          s4->S4calibrated = ParamFit0*((l0s4e->S4_DATA)-32)+ParamFit1;            s4->S4calibrated = ParamFit0*((l0s4e->S4_DATA)-32)+ParamFit1;
581        }else{          }else{
582          s4->S4calibrated = 0;            s4->S4calibrated = 0;
583        }          }
584          };
585        //        //
586        S4tr->Fill();        S4tr->Fill();
587        //            //    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23