Changeset 693 for trunk/MagicSoft/include-Classes/MMcFormat
- Timestamp:
- 03/19/01 19:32:33 (24 years ago)
- Location:
- trunk/MagicSoft/include-Classes/MMcFormat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.cxx
r679 r693 29 29 30 30 for(i=0;i<MFADC_CHANNELS;i++){ 31 fPedesMean[i]= 0 ;31 fPedesMean[i]= 0.0 ; 32 32 fElecNoise[i]=-1.0 ; 33 33 } … … 50 50 cout << " Amplitude of the trigger in mV : "<<fAmplFadc<<endl; 51 51 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 } 52 56 cout << endl ; 53 57 } -
trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx
r680 r693 22 22 Float_t fAmplFadc ; // the amplitude of the trigger in mV 23 23 Float_t fFwhmFadc ; // the width of the signal in nsec 24 UChar_t fPedesMean[MFADC_CHANNELS] ; // The mean value for the pedestal24 Float_t fPedesMean[MFADC_CHANNELS] ; // The mean value for the pedestal 25 25 // of each pixel (channel) 26 26 Float_t fElecNoise[MFADC_CHANNELS] ; // The rms value in the pedestal … … 47 47 } 48 48 49 void SetPedestal( UChar_t *mean, Int_t dim){49 void SetPedestal(Float_t *mean, Int_t dim){ 50 50 for (Int_t i=0;i<dim;i++) 51 51 fPedesMean[i]=mean[i];
Note:
See TracChangeset
for help on using the changeset viewer.