Ignore:
Timestamp:
10/17/03 20:56:53 (21 years ago)
Author:
blanch
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2340 r2393  
    5656
    5757  Float_t  sig[CAMERA_PIXELS][(Int_t) SLICES_MFADC] ; //  the analog signal for pixels
    58   Float_t noise[(Int_t) SLICES_MFADC*1001];
     58  Float_t noise[((Int_t) SLICES_MFADC)*1001];
     59  Int_t digital_noise[((Int_t) SLICES_MFADC)*1001];
    5960
    6061  UChar_t  output[CAMERA_PIXELS][FADC_SLICES];  //  the analog signal for pixels that is read after a trigger occurs (high gain).
    6162
    6263  UChar_t  output_lowgain[CAMERA_PIXELS][FADC_SLICES]; //  analog signal, low gain.
    63 
     64  Float_t high2low_gain;
    6465  //
    6566  //    first the data for the response function
     
    9091        Float_t fwhmout=MFADC_RESPONSE_FWHM) ;
    9192 
     93  void SetSeed(UInt_t seed)  {GenElec->SetSeed(seed);}
     94
    9295  void Reset() ;
    9396
     
    132135  void ElecNoise(Float_t value=2.0) ;
    133136
     137  void SetDigitalNoise(Float_t value=2.0);
     138
     139  void DigitalNoise() ;
     140
    134141  void Scan() ;
    135142
     
    140147  void GetPedestals( Float_t *offset);
    141148
     149  Float_t GetPedestalNoise (Int_t pix, Int_t ishigh);
     150
    142151  void TriggeredFadc(Float_t time);
    143152
     
    147156
    148157  UChar_t GetFadcLowGainSignal(Int_t pixel, Int_t slice);
     158
     159  void SetHigh2LowGain(Float_t h2l) {high2low_gain=h2l;}
    149160
    150161  Float_t GetAmplitude() {
     
    163174    return fwhm_resp_outer ;
    164175  }
     176
     177  Bool_t IsPixelUsed(UInt_t p){
     178    return used[p];
     179  }
    165180 
    166181} ;
Note: See TracChangeset for help on using the changeset viewer.