Changeset 2706 for trunk/MagicSoft
- Timestamp:
- 12/18/03 11:21:19 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2705 r2706 11 11 * mfilter/Makefile, mfilter/FilterLinkDef.h: 12 12 - added MFSoftwareTrigger 13 14 * manalysis/MExetractedSignalPix.h: 15 - added missing const-qualifier IsLoGainUsed 13 16 14 17 -
trunk/MagicSoft/Mars/manalysis/MExtractedSignalPix.h
r2661 r2706 28 28 void Clear(Option_t *o=""); 29 29 30 Float_t GetExtractedSignalHiGain() const { return fExtractedSignalHiGain; } 31 Float_t GetExtractedSignalHiGainError() const { return fExtractedSignalHiGainError; } 32 33 Float_t GetExtractedSignalLoGain() const { return fExtractedSignalLoGain; } 34 Float_t GetExtractedSignalLoGainError() const { return fExtractedSignalLoGainError; } 35 36 Float_t GetMeanArrivalTime() const { return fMeanArrivalTime; } 37 Float_t GetWidthArrivalTime() const { return fWidthArrivalTime; } 38 Float_t GetTailArrivalTime() const { return fTailArrivalTime; } 39 30 // Setter 40 31 void SetExtractedSignal(Float_t sig, Float_t sigerr) 41 { 42 fExtractedSignalHiGain = sig; 43 fExtractedSignalHiGainError = sigerr; 44 } 32 { 33 fExtractedSignalHiGain = sig; fExtractedSignalHiGainError = sigerr; 34 } 45 35 46 36 void SetExtractedSignal(Float_t sighi, Float_t sighierr,Float_t siglo, Float_t sigloerr) 47 {48 fExtractedSignalHiGain = sighi; 49 fExtractedSignalHiGainError = sighierr; 50 fExtractedSignalLoGain = siglo; 51 fExtractedSignalLoGainError = sigloerr; 52 37 { 38 fExtractedSignalHiGain = sighi; 39 fExtractedSignalHiGainError = sighierr; 40 fExtractedSignalLoGain = siglo; 41 fExtractedSignalLoGainError = sigloerr; 42 } 53 43 54 44 void SetGainSaturation(Bool_t sat, Byte_t higain, Byte_t logain) 55 { fIsLoGainUsed = sat;56 fNumHiGainSaturated = higain; 57 fNumLoGainSaturated = logain;}45 { 46 fIsLoGainUsed = sat; fNumHiGainSaturated = higain; fNumLoGainSaturated = logain; 47 } 58 48 59 49 void SetArrivalTimes(Float_t mean, Float_t width, Float_t tail) 60 { fMeanArrivalTime = mean; 61 fWidthArrivalTime = width; 62 fTailArrivalTime = tail; 63 } 50 { 51 fMeanArrivalTime = mean; fWidthArrivalTime = width; fTailArrivalTime = tail; 52 } 64 53 65 Bool_t IsLoGainUsed() { return fIsLoGainUsed; } 54 // Getter 55 Float_t GetExtractedSignalHiGain() const { return fExtractedSignalHiGain; } 56 Float_t GetExtractedSignalHiGainError() const { return fExtractedSignalHiGainError; } 66 57 67 Bool_t IsValid() const { return fExtractedSignalHiGain >= 0. || fExtractedSignalHiGainError >= 0.; } 58 Float_t GetExtractedSignalLoGain() const { return fExtractedSignalLoGain; } 59 Float_t GetExtractedSignalLoGainError() const { return fExtractedSignalLoGainError; } 60 61 Float_t GetMeanArrivalTime() const { return fMeanArrivalTime; } 62 Float_t GetWidthArrivalTime() const { return fWidthArrivalTime; } 63 Float_t GetTailArrivalTime() const { return fTailArrivalTime; } 64 65 66 Bool_t IsLoGainUsed() const { return fIsLoGainUsed; } 67 Bool_t IsValid() const { return fExtractedSignalHiGain >= 0. || fExtractedSignalHiGainError >= 0.; } 68 68 69 69 void PrintOut();
Note:
See TracChangeset
for help on using the changeset viewer.