Changeset 460


Ignore:
Timestamp:
12/30/00 16:29:06 (24 years ago)
Author:
harald
Message:
Some changes in the MFadc class were neccessary for the StarResponse
program.
Location:
trunk/MagicSoft/Simulation/Detector/include-MFadc
Files:
2 edited

Legend:

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

    r449 r460  
    328328  } 
    329329}
    330 
     330void MFadc::GetResponse( Float_t *resp ) {
     331  // ============================================================
     332  //
     333  //    puts the standard response function into the array resp
     334 
     335  for ( Int_t i=0; i< RESPONSE_SLICES; i++ ) {
     336
     337    resp[i] = sing_resp[i] ;
     338  }
     339}
     340 
    331341void MFadc::TriggeredFadc(Float_t time) {
    332342 
  • trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx

    r444 r460  
    120120  void Scan(Float_t time) ;
    121121
     122  void GetResponse( Float_t *resp ) ;
     123
    122124  void TriggeredFadc(Float_t time);
    123125
     
    125127
    126128  Float_t GetFadcSignal(Int_t pixel, Int_t slice);
     129
     130  Float_t GetAmplitude() {
     131    return ampl_resp ;
     132  }
     133
     134  Float_t GetFwhm() {
     135    return fwhm_resp ;
     136  }
     137
     138 
    127139} ;
    128140
Note: See TracChangeset for help on using the changeset viewer.