Ignore:
Timestamp:
10/26/03 20:50:31 (21 years ago)
Author:
blanch
Message:
*** empty log message ***
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.cxx

    r2394 r2434  
    4040    fPedesSigmaLow[i]=-1.0    ;
    4141    fElecNoise[i]=-1.0   ;
     42    fDigitalNoise[i]=-1.0   ;
    4243  }
    4344}
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx

    r2394 r2434  
    2626  Float_t  fElecNoise[MFADC_CHANNELS]   ;  //  The rms value in the pedestal
    2727                                           //  due to the electronics for
     28                                           //  each pixel (channel)
     29  Float_t  fDigitalNoise[MFADC_CHANNELS];  //  The rms value in the pedestal
     30                                           //  due to the digital for
    2831                                           //  each pixel (channel)
    2932  Float_t fLow2HighGain;    // low gain factor
     
    6669  }
    6770
    68   void SetElecNoise(Float_t *sigma, Int_t dim){
    69     for (Int_t i=0;i<dim;i++)
    70       fElecNoise[i]=sigma[i];
     71  void SetElecNoise(Float_t *sigmae, Float_t *sigmad, Int_t dim){
     72    for (Int_t i=0;i<dim;i++){
     73      fElecNoise[i]=sigmae[i];
     74      fDigitalNoise[i]=sigmad[i];
     75    }
    7176  }
    7277 
     
    7580  Float_t GetPedestalRmsLow(UInt_t i) const { return fPedesSigmaLow[i]; }
    7681  Float_t GetElecNoise(UInt_t i) const { return fElecNoise[i]; }
     82  Float_t GetDigitalNoise(UInt_t i) const { return fElecNoise[i]; }
    7783  Float_t GetAmplitud() const { return fAmplFadc; }
    7884
    7985  UInt_t GetNumPixel() const { return MFADC_CHANNELS; }
    8086
    81   ClassDef(MMcFadcHeader, 2)  //Stores Montecarlo Information describing the FADC behaviour
     87  ClassDef(MMcFadcHeader, 3)  //Stores Montecarlo Information describing the FADC behaviour
    8288
    8389};
Note: See TracChangeset for help on using the changeset viewer.