src/Pulses/PulWaveform.cc
// Input	PWF	: A pulse waveform (this)
//		cutoff	: Minimum length to consider
// Output (max) tsum    : Length from longest waveform step
// Output (min) tsum    : Length from shortest waveform step
Input  PWF     : A pulse waveform (this)
cutoff  : Minimum length to consider
Output (max) tsum    : Length from longest waveform step
Output (min) tsum    : Length from shortest waveform step
Input PWF : A pulse waveform ( this ) cutoff : Minimum length to consider Output ( max ) tsum : Length from longest waveform step Output ( min ) tsum : Length from shortest waveform step
double PulWaveform::maxlength( ) const
  {
  double len = 0;
  for(int j=0; j<WFsteps; j++)
    if(length(j) > len) len = length(j);
  return len;
  }
double PulWaveform :: maxlength ( ) const { double len = 0 ; for ( int j = 0 ; j < WFsteps ; j ++ ) if ( length ( j ) > len ) len = length ( j ) ; return len ; }
Input  PWF     : A pulse waveform (this)
cutoff  : Minimum length to consider
Output (max) tsum    : Length from longest waveform step
Output (min) tsum    : Length from shortest waveform step
Input PWF : A pulse waveform ( this ) cutoff : Minimum length to consider Output ( max ) tsum : Length from longest waveform step Output ( min ) tsum : Length from shortest waveform step