/[PAMELA software]/DarthVader/ToFLevel2/src/ToFCore.cpp
ViewVC logotype

Diff of /DarthVader/ToFLevel2/src/ToFCore.cpp

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

revision 1.28 by mocchiut, Wed Oct 10 16:01:32 2007 UTC revision 1.29 by mocchiut, Mon Mar 3 09:51:02 2008 UTC
# Line 688  int ToFCore(UInt_t run, TFile *file, GL_ Line 688  int ToFCore(UInt_t run, TFile *file, GL_
688        //        //
689        for (Int_t hh=0; hh<12;hh++){        for (Int_t hh=0; hh<12;hh++){
690          for (Int_t kk=0; kk<4;kk++){          for (Int_t kk=0; kk<4;kk++){
691            if ( tofoutput_.tdc_c[hh][kk] < 4095 || tofEvent->adc[kk][hh] < 4095 ){                     // new WM
692              if ( tofoutput_.tdc_c[hh][kk] < 4095 || tofEvent->adc[kk][hh] < 4095  || tofEvent->tdc[kk][hh] < 4095 ){        
693              //              //
694              t_pmt->pmt_id = tof->GetPMTid(kk,hh);              t_pmt->pmt_id = tof->GetPMTid(kk,hh);
695              t_pmt->tdc_tw = tofoutput_.tdc_c[hh][kk];              t_pmt->tdc_tw = tofoutput_.tdc_c[hh][kk];
696              t_pmt->adc = (Float_t)tofEvent->adc[kk][hh];              t_pmt->adc = (Float_t)tofEvent->adc[kk][hh];
697              t_pmt->tdc = (Float_t)tofEvent->tdc[kk][hh];              t_pmt->tdc = (Float_t)tofEvent->tdc[kk][hh];
698              //              //
699              new(tpmt[npmtentry]) ToFPMT(*t_pmt);              new(tpmt[npmtentry]) ToFPMT(*t_pmt);
700              npmtentry++;                      npmtentry++;        
701              t_pmt->Clear();              t_pmt->Clear();
# Line 702  int ToFCore(UInt_t run, TFile *file, GL_ Line 703  int ToFCore(UInt_t run, TFile *file, GL_
703          };          };
704        };              };      
705        //        //
706    
707        // Calculate track-related variables        // Calculate track-related variables
708        //        //
709        if ( trk->ntrk() > 0 ){        if ( trk->ntrk() > 0 ){

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.23