/[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.1 by mocchiut, Fri May 19 13:15:26 2006 UTC revision 1.2 by mocchiut, Fri Jun 30 09:22:00 2006 UTC
# Line 307  int S4Core(ULong64_t run, TFile *file, T Line 307  int S4Core(ULong64_t run, TFile *file, T
307          //          //
308          // copy s4clone to mydec          // copy s4clone to mydec
309          //          //
310          s4 = new S4Level2();          //      s4 = new S4Level2();
311            s4->Clear();
312          memcpy(&s4,&s4clone,sizeof(s4clone));          memcpy(&s4,&s4clone,sizeof(s4clone));
313          //          //
314          // Fill entry in the new tree          // Fill entry in the new tree
# Line 471  int S4Core(ULong64_t run, TFile *file, T Line 472  int S4Core(ULong64_t run, TFile *file, T
472        //        //
473        // start processing        // start processing
474        //        //
475        s4 = new S4Level2();        //      s4 = new S4Level2();
476          s4->Clear();
477        l0S4->GetEntry(ei);        l0S4->GetEntry(ei);
478        if (l0s4e->unpackError == 1)  continue;              if (l0s4e->unpackError == 1)  continue;      
479        s4->S4adc = l0s4e->S4_DATA;        s4->S4adc = l0s4e->S4_DATA;
# Line 514  int S4Core(ULong64_t run, TFile *file, T Line 516  int S4Core(ULong64_t run, TFile *file, T
516          //          //
517          // copy s4clone to s4          // copy s4clone to s4
518          //          //
519          s4 = new S4Level2();          //      s4 = new S4Level2();
520            s4->Clear();
521          memcpy(&s4,&s4clone,sizeof(s4clone));          memcpy(&s4,&s4clone,sizeof(s4clone));
522          //          //
523          // Fill entry in the new tree          // Fill entry in the new tree

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23