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

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

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

revision 1.11 by pam-fi, Tue Jan 16 10:12:31 2007 UTC revision 1.13 by mocchiut, Mon Jan 22 14:09:32 2007 UTC
# Line 222  Float_t ToFLevel2::GetdEdx(Int_t notrack Line 222  Float_t ToFLevel2::GetdEdx(Int_t notrack
222      //      //
223      pl = GetPlaneIndex(pmt_id);      pl = GetPlaneIndex(pmt_id);
224      //      //
225      if ( pl == ip ){      if ( pl == ip ) dedx += (trk->dedx).At(i);
 //      // --- patch ---  
 //      bool ISNULL=false;  
 //      for(Int_t im=0; im< this->npmt(); im++){              
 //          if(this->GetToFPMT(im)->pmt_id == pmt_id && this->GetToFPMT(im)->adc == 4095){  
 //              cout << " ToFLevel2::GetdEdx(Int_t,Int_t) --> **warning** ADC(PMT="<<pmt_id<<") = 4095"<<endl;  
 //              ISNULL=true;  
 //          }  
 //      }  
 //      // --- patch ---  
 //      dedx += (trk->dedx).At(i)*(Int_t)(!ISNULL);  
         dedx += (trk->dedx).At(i);  
     }  
226      //      //
227    };    };
228    //    //

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.23