Changeset 4128 for trunk/MagicSoft/Mars/mcalib/MHGausEvents.h
- Timestamp:
- 05/22/04 16:08:07 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHGausEvents.h
r3675 r4128 53 53 Int_t fNbins; // Number histogram bins for fHGausHist (used by InitBins()) 54 54 Int_t fNDFLimit; // NDF limit for judgement if fit is OK 55 Float_t fSaturated; // Number of events classified as saturated 55 56 Double_t fSigma; // Sigma of the Gauss fit 56 57 Double_t fSigmaErr; // Error of the sigma of the Gauss fit … … 67 68 68 69 // Setters 70 void SetBinsAfterStripping ( const Int_t nbins=fgBinsAfterStripping ) { fBinsAfterStripping =nbins; } 69 71 void SetPowerProbabilityBins ( const Int_t nbins=fgPowerProbabilityBins ) { fPowerProbabilityBins=nbins; } 70 void SetBinsAfterStripping ( const Int_t nbins=fgBinsAfterStripping ) { fBinsAfterStripping =nbins; }71 72 72 73 public: … … 79 80 virtual void InitBins(); 80 81 81 // Setters 82 void SetBlackoutLimit ( const Float_t lim=fgBlackoutLimit ) { fBlackoutLimit = lim; } 83 void SetEventFrequency ( const Float_t f ) { fEventFrequency = f; } 84 void SetExcluded ( const Bool_t b=kTRUE ); 85 void SetExpFitOK ( const Bool_t b=kTRUE ); 86 void SetFourierSpectrumOK( const Bool_t b=kTRUE ); 87 void SetGausFitOK ( const Bool_t b=kTRUE ); 88 void SetLast ( const Double_t d ) { fLast = d; } 89 void SetFirst ( const Double_t d ) { fFirst = d; } 90 void SetMean ( const Double_t d ) { fMean = d; } 91 void SetMeanErr ( const Double_t d ) { fMeanErr = d; } 92 void SetNbins ( const Int_t i ) { fNbins = i; } 93 void SetNDFLimit ( const Int_t lim=fgNDFLimit ) { fNDFLimit = lim; } 94 void SetPickupLimit ( const Float_t lim=fgPickupLimit ) { fPickupLimit = lim; } 95 void SetPixId ( const Int_t i ) { fPixId = i; } 96 void SetProb ( const Double_t d ) { fProb = d; } 97 void SetProbLimit ( const Float_t lim=fgProbLimit ) { fProbLimit = lim; } 98 void SetSigma ( const Double_t d ) { fSigma = d; } 99 void SetSigmaErr ( const Double_t d ) { fSigmaErr = d; } 100 82 // Draws 83 virtual void Draw(Option_t *option=""); // Default Draw 84 101 85 // Getters 102 86 const Double_t GetBlackout() const; … … 128 112 const TArrayF *GetPowerSpectrum() const { return fPowerSpectrum; } 129 113 const Double_t GetProb() const { return fProb; } 114 const Float_t GetSaturated() const { return fSaturated; } 130 115 const Double_t GetSigma() const { return fSigma; } 131 116 const Double_t GetSigmaErr() const { return fSigmaErr; } … … 150 135 void BypassFit(); // Take mean and RMS from the histogram 151 136 152 // Draws153 virtual void Draw(Option_t *option=""); // Default Draw154 155 137 // Prints 156 138 virtual void Print(const Option_t *o="") const; // Default Print 157 139 140 // Setters 141 void SetBlackoutLimit ( const Float_t lim=fgBlackoutLimit ) { fBlackoutLimit = lim; } 142 void SetEventFrequency ( const Float_t f ) { fEventFrequency = f; } 143 void SetExcluded ( const Bool_t b=kTRUE ); 144 void SetExpFitOK ( const Bool_t b=kTRUE ); 145 void SetFourierSpectrumOK( const Bool_t b=kTRUE ); 146 void SetGausFitOK ( const Bool_t b=kTRUE ); 147 void SetLast ( const Double_t d ) { fLast = d; } 148 void SetFirst ( const Double_t d ) { fFirst = d; } 149 void SetMean ( const Double_t d ) { fMean = d; } 150 void SetMeanErr ( const Double_t d ) { fMeanErr = d; } 151 void SetNbins ( const Int_t i ) { fNbins = i; } 152 void SetNDFLimit ( const Int_t lim=fgNDFLimit ) { fNDFLimit = lim; } 153 void SetPickupLimit ( const Float_t lim=fgPickupLimit ) { fPickupLimit = lim; } 154 void SetPixId ( const Int_t i ) { fPixId = i; } 155 void SetProb ( const Double_t d ) { fProb = d; } 156 void SetProbLimit ( const Float_t lim=fgProbLimit ) { fProbLimit = lim; } 157 void SetSaturated ( const Float_t f ) { fSaturated += f; } 158 void SetSigma ( const Double_t d ) { fSigma = d; } 159 void SetSigmaErr ( const Double_t d ) { fSigmaErr = d; } 160 158 161 // Miscelleaneous 159 162 virtual void ChangeHistId(const Int_t id); // Changes names and titles of the histogram
Note:
See TracChangeset
for help on using the changeset viewer.