Ignore:
Timestamp:
01/30/04 15:02:21 (21 years ago)
Author:
blanch
Message:
Header file for MFadc.cxx vrsion 1.17
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx

    r2393 r2986  
    6767  //
    6868  Float_t fwhm_resp ;                      // fwhm of the phe_response function (in ns)
    69   Float_t ampl_resp ;                      // area below curve of the phe_response function (in counts * ns)
     69  Float_t integ_resp ;                      // area below curve of the phe_response function (in counts * ns)
    7070  Float_t sing_resp[ RESPONSE_SLICES_MFADC ] ;   // the shape of the phe_response function
    7171
     
    7474  //
    7575  Float_t fwhm_resp_outer ;                      // fwhm of the phe_response function (in ns)
    76   Float_t ampl_resp_outer ;                      // area below curve of the phe_response function (in counts * ns)
     76  Float_t integ_resp_outer ;                      // area below curve of the phe_response function (in counts * ns)
    7777  Float_t sing_resp_outer[ RESPONSE_SLICES_MFADC ] ;   // the shape of the phe_response function
    7878  //
     
    8282  TRandom  *GenElec ;
    8383
     84  Float_t fadc_time_offset; // Time offset to adjust the delay between trigger
     85                            // and the peak position in the FADC of the signal
     86                            // in the trigger pixels.
     87
    8488
    8589public:
    8690
    8791  MFadc(Int_t pix=577,
    88         Float_t ampl=MFADC_RESPONSE_AMPLITUDE,
     92        Float_t ampl=MFADC_RESPONSE_INTEGRAL,
    8993        Float_t fwhm=MFADC_RESPONSE_FWHM,
    90         Float_t amplout=MFADC_RESPONSE_AMPLITUDE,
    91         Float_t fwhmout=MFADC_RESPONSE_FWHM) ;
     94        Float_t amplout=MFADC_RESPONSE_INTEGRAL,
     95        Float_t fwhmout=MFADC_RESPONSE_FWHM,
     96        Float_t trig_delay=0.) ;
    9297 
    9398  void SetSeed(UInt_t seed)  {GenElec->SetSeed(seed);}
     
    113118  }
    114119
    115   void SetAmpl( Float_t ampl){
    116     ampl_resp=ampl;
     120  void SetInteg( Float_t x){
     121    integ_resp=x;
    117122  }
    118123
     
    121126  }
    122127
    123   void SetAmplOuter( Float_t ampl){
    124     ampl_resp_outer=ampl;
     128  void SetIntegOuter( Float_t x){
     129    integ_resp_outer=x;
    125130  }
    126131
     
    159164  void SetHigh2LowGain(Float_t h2l) {high2low_gain=h2l;}
    160165
    161   Float_t GetAmplitude() {
    162     return ampl_resp ;
     166  Float_t GetIntegral() {
     167    return integ_resp ;
    163168  }
    164169
     
    167172  }
    168173
    169   Float_t GetAmplitudeOuter() {
    170     return ampl_resp_outer ;
     174  Float_t GetIntegralOuter() {
     175    return integ_resp_outer ;
    171176  }
    172177
Note: See TracChangeset for help on using the changeset viewer.