Changeset 693 for trunk/MagicSoft


Ignore:
Timestamp:
03/19/01 19:32:33 (24 years ago)
Author:
magicsol
Message:
The pedestal member array has been changed from UChar_t to Float_t.
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
2 edited

Legend:

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

    r679 r693  
    2929
    3030  for(i=0;i<MFADC_CHANNELS;i++){
    31     fPedesMean[i]= 0    ;
     31    fPedesMean[i]= 0.0    ;
    3232    fElecNoise[i]=-1.0   ;
    3333  }
     
    5050  cout << " Amplitude of the trigger in mV : "<<fAmplFadc<<endl;
    5151  cout << " Width of the signal in nsec : "<<fFwhmFadc<<endl;
     52  cout << " Pedestals and ElecNoise in fadc counts : "<<endl;
     53  for (int i=0;i<MFADC_CHANNELS;i++){
     54    cout << " Pixel "<<i<<" : "<<fPedesMean[i]<<"  "<<fElecNoise[i]<<endl;
     55  }
    5256  cout << endl ;
    5357}
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx

    r680 r693  
    2222  Float_t  fAmplFadc    ;   // the amplitude of the trigger in mV
    2323  Float_t  fFwhmFadc    ;   // the width of the signal in nsec
    24   UChar_t  fPedesMean[MFADC_CHANNELS]    ;  //  The mean value for the pedestal
     24  Float_t  fPedesMean[MFADC_CHANNELS]    ;  //  The mean value for the pedestal
    2525                                            //  of each pixel (channel)
    2626  Float_t  fElecNoise[MFADC_CHANNELS]   ;  //  The rms value in the pedestal
     
    4747  }
    4848
    49   void SetPedestal(UChar_t *mean, Int_t dim){
     49  void SetPedestal(Float_t *mean, Int_t dim){
    5050    for (Int_t i=0;i<dim;i++)
    5151      fPedesMean[i]=mean[i];
Note: See TracChangeset for help on using the changeset viewer.