/[PAMELA software]/calo/flight/CaloDoubleShower/src/CaloDoubleShower.cpp
ViewVC logotype

Diff of /calo/flight/CaloDoubleShower/src/CaloDoubleShower.cpp

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

revision 1.1 by mocchiut, Fri Aug 10 12:23:35 2007 UTC revision 1.2 by mocchiut, Tue Aug 21 14:37:25 2007 UTC
# Line 193  void CaloDoubleShower::Process(UInt_t nt Line 193  void CaloDoubleShower::Process(UInt_t nt
193    Float_t m = (ptrack->GetToFTrack()->xtr_tof[0] - ptrack->GetToFTrack()->xtr_tof[3])/(ZTOF11-ZTOF21);    Float_t m = (ptrack->GetToFTrack()->xtr_tof[0] - ptrack->GetToFTrack()->xtr_tof[3])/(ZTOF11-ZTOF21);
194    Float_t q = ptrack->GetToFTrack()->xtr_tof[3] - m * ZTOF21;    Float_t q = ptrack->GetToFTrack()->xtr_tof[3] - m * ZTOF21;
195    //    //
196    c2s->pos = (m * event->clevel1->zalig + q)*10. + event->clevel1->xalig;    c2s->pos = (m * (event->clevel1->zalig/10.) + q)*10. + event->clevel1->xalig;
197    c2s->angol = m;    c2s->angol = m;
198    //    //
199    // call fortran routine    // call fortran routine

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

  ViewVC Help
Powered by ViewVC 1.1.23