src/Pulses/PulWaveform.cc
/*         Input                PWF	: Pulse waveform (this)
                                eidx    : Error flag
                                noret   : Return flag 
           Output               none    : Error Message Output

  The following error messages use the defaults set in the Gutils package

               Case                          Error Message

               (0)                     Program Aborting.....
               (1)                     Problems With Input File Stream
               (2)                     Problems With Output File Stream
               (9)                     Problems During Construction
               default                 Unknown Error                        */
Input                PWF       : Pulse waveform (this)
eidx    : Error flag
noret   : Return flag
Output               none    : Error Message Output

The following error messages use the defaults set in the Gutils package

Case                          Error Message

(0)                     Program Aborting
(1)                     Problems With Input File Stream
(2)                     Problems With Output File Stream
(9)                     Problems During Construction
default                 Unknown Error
Input PWF : Pulse waveform ( this ) eidx : Error flag noret : Return flag Output none : Error Message Output The following error messages use the defaults set in the Gutils package Case Error Message ( 0 ) Program Aborting ( 1 ) Problems With Input File Stream ( 2 ) Problems With Output File Stream ( 9 ) Problems During Construction default Unknown Error
void PulWaveform::PWFerror(int eidx, int noret) const
  {
  string hdr("Pulse Waveform");
  string msg;
  switch(eidx)
    {
    case 20: msg = string("Error In Waveform Step Timing");								
             GAMMAerror(hdr,msg,noret);  break;				
    default: GAMMAerror(hdr,eidx,noret); break;
    }
  }
void PulWaveform :: PWFerror ( int eidx , int noret ) const { string hdr ( " " ) ; string msg ; switch ( eidx ) { case 20 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                PWF       : Pulse waveform (this)
eidx    : Error flag
noret   : Return flag
Output               none    : Error Message Output
Input PWF : Pulse waveform ( this ) eidx : Error flag noret : Return flag Output none : Error Message Output
// (2) // (20)