Changeset 2434 for trunk/MagicSoft/include-Classes/MMcFormat
- Timestamp:
- 10/26/03 20:50:31 (21 years ago)
- Location:
- trunk/MagicSoft/include-Classes/MMcFormat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.cxx
r2394 r2434 40 40 fPedesSigmaLow[i]=-1.0 ; 41 41 fElecNoise[i]=-1.0 ; 42 fDigitalNoise[i]=-1.0 ; 42 43 } 43 44 } -
trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx
r2394 r2434 26 26 Float_t fElecNoise[MFADC_CHANNELS] ; // The rms value in the pedestal 27 27 // 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 28 31 // each pixel (channel) 29 32 Float_t fLow2HighGain; // low gain factor … … 66 69 } 67 70 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 } 71 76 } 72 77 … … 75 80 Float_t GetPedestalRmsLow(UInt_t i) const { return fPedesSigmaLow[i]; } 76 81 Float_t GetElecNoise(UInt_t i) const { return fElecNoise[i]; } 82 Float_t GetDigitalNoise(UInt_t i) const { return fElecNoise[i]; } 77 83 Float_t GetAmplitud() const { return fAmplFadc; } 78 84 79 85 UInt_t GetNumPixel() const { return MFADC_CHANNELS; } 80 86 81 ClassDef(MMcFadcHeader, 2) //Stores Montecarlo Information describing the FADC behaviour87 ClassDef(MMcFadcHeader, 3) //Stores Montecarlo Information describing the FADC behaviour 82 88 83 89 };
Note:
See TracChangeset
for help on using the changeset viewer.