/[PAMELA software]/trieste/pamVMC/tof/src/PamVMCTofDig.cxx
ViewVC logotype

Diff of /trieste/pamVMC/tof/src/PamVMCTofDig.cxx

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

revision 1.1 by pamelats, Wed Mar 4 12:51:09 2009 UTC revision 1.2 by pizzolot, Tue Mar 24 14:04:08 2009 UTC
# Line 363  void PamVMCTofDig::DigitizeTofPlane(Int_ Line 363  void PamVMCTofDig::DigitizeTofPlane(Int_
363      // WM right and left <->          // WM right and left <->    
364      t1 += Abs(path[0]/veff0) + s_l_g[planeNo]/veff1;      t1 += Abs(path[0]/veff0) + s_l_g[planeNo]/veff1;
365      t2 += Abs(path[1]/veff0) + s_l_g[planeNo]/veff1;  // Signal reaches PMT      t2 += Abs(path[1]/veff0) + s_l_g[planeNo]/veff1;  // Signal reaches PMT
366      t1 = gRandom->Gaus(t1,TimeRes(PrimaryPDG)); //apply gaussian error  dt      t1 = rnd->Gaus(t1,TimeRes(PrimaryPDG)); //apply gaussian error  dt
367      t2 = gRandom->Gaus(t2,TimeRes(PrimaryPDG)); //apply gaussian error  dt      t2 = rnd->Gaus(t2,TimeRes(PrimaryPDG)); //apply gaussian error  dt
368      t1 += fc1_S[pmtleft] ;  // Signal reaches Discriminator ,TDC starts  to run      t1 += fc1_S[pmtleft] ;  // Signal reaches Discriminator ,TDC starts  to run
369      t2 += fc1_S[pmtright] ;      t2 += fc1_S[pmtright] ;
370    

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

  ViewVC Help
Powered by ViewVC 1.1.23