/[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.27 by mocchiut, Mon Nov 23 09:50:50 2009 UTC revision 1.29 by mocchiut, Thu Dec 31 07:55:53 2009 UTC
# Line 1516  void ToFdEdx::Process(UInt_t atime, Floa Line 1516  void ToFdEdx::Process(UInt_t atime, Floa
1516    double dr   = sqrt(dx*dx+dy*dy);    double dr   = sqrt(dx*dx+dy*dy);
1517    double theta=atan(dr/76.81);    double theta=atan(dr/76.81);
1518    //    //
1519      if ( xtr_tof[1] > 99. ||  xtr_tof[5] > 99. || ytr_tof[0] > 99. ||  ytr_tof[4] > 99. ) theta = 0.;
1520      for (Int_t ii=0; ii<6; ii++){
1521        if ( xtr_tof[ii] > 99. ) xtr_tof[ii] = 0.;
1522        if ( ytr_tof[ii] > 99. ) xtr_tof[ii] = 0.;
1523      };
1524      //
1525        
1526    
1527    for( int ii=0; ii<48; ii++ ) {    for( int ii=0; ii<48; ii++ ) {
1528      //      //
1529      //    printf(" ii %i beta %f atime %u xtr 1 %f ytr 1 %f adc %f \n",ii,betamean,atime,xtr_tof[0],ytr_tof[0],adc[ii]);      //    printf(" ii %i beta %f atime %u xtr 1 %f ytr 1 %f adc %f \n",ii,betamean,atime,xtr_tof[0],ytr_tof[0],adc[ii]);

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

  ViewVC Help
Powered by ViewVC 1.1.23