/[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.32 by mocchiut, Mon Oct 25 13:22:11 2010 UTC revision 1.33 by mocchiut, Tue Nov 9 15:21:02 2010 UTC
# Line 1543  void ToFdEdx::Process(UInt_t atime, Floa Line 1543  void ToFdEdx::Process(UInt_t atime, Floa
1543    for( int ii=0; ii<48; ii++ ) {    for( int ii=0; ii<48; ii++ ) {
1544      //      //
1545      //    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]);
1546      //    if( adc[ii] >= PMTsat[ii]-5 )  continue; // EMILIANO  
1547      if( adc[ii] <= 0. )            continue;      if( adc[ii] >= 4095 ){
1548          eDEDXpmt[ii] = 0.;
1549          continue; // EMILIANO
1550        };
1551    
1552        if( adc[ii] >= (PMTsat[ii]-5) && adc[ii] != 4095 ){
1553          eDEDXpmt[ii] = 1000.;
1554          continue; // EMILIANO
1555        };
1556    
1557        if( adc[ii] <= 0. ) {
1558          eDEDXpmt[ii] = 1500.;
1559          continue;
1560        };
1561      //      //
1562      double adcpC   = f_adcPC( adc[ii] );    // - adc conversion in pC      double adcpC   = f_adcPC( adc[ii] );    // - adc conversion in pC
1563      if ( exitat == 0 ){      if ( exitat == 0 ){

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.23