/[PAMELA software]/PamelaDigitizer/DigitizeTOF.cxx
ViewVC logotype

Diff of /PamelaDigitizer/DigitizeTOF.cxx

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

revision 1.7 by pizzolot, Fri Nov 13 09:08:53 2009 UTC revision 1.8 by mocchiut, Fri Jan 17 13:08:40 2014 UTC
# Line 213  void Digitizer::DigitizeTOF(int np,float Line 213  void Digitizer::DigitizeTOF(int np,float
213    
214    
215    Float_t t_coinc = 0;    Float_t t_coinc = 0;
216    Int_t ilast = 100;    //  Int_t ilast = 100;
217    for (Int_t ii=0; ii<48;ii++)    for (Int_t ii=0; ii<48;ii++)
218      if (tdc[ii] > t_coinc) {      if (tdc[ii] > t_coinc) {
219        t_coinc = tdc[ii];        t_coinc = tdc[ii];
220        ilast = ii;        //      ilast = ii;
221      }      }
222        
223    //     cout<<ilast<<" "<<t_coinc<<endl;    //     cout<<ilast<<" "<<t_coinc<<endl;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23