various ways to handle bkg for single histo fits

This commit is contained in:
nemu
2008-04-30 11:46:32 +00:00
parent 09278f2baa
commit 6128464d5b
4 changed files with 193 additions and 20 deletions
+4 -4
View File
@@ -59,10 +59,10 @@ class PRunAsymmetry : public PRunBase
double fFitStopTime;
unsigned int fNoOfFitBins;
vector<double> fForward; ///< forward histo data
vector<double> fForwardErr; ///< forward histo errors
vector<double> fBackward; ///< backward histo data
vector<double> fBackwardErr; ///< backward histo errors
PDoubleVector fForward; ///< forward histo data
PDoubleVector fForwardErr; ///< forward histo errors
PDoubleVector fBackward; ///< backward histo data
PDoubleVector fBackwardErr; ///< backward histo errors
bool SubtractFixBkg();
bool SubtractEstimatedBkg();
+3
View File
@@ -57,6 +57,9 @@ class PRunSingleHisto : public PRunBase
double fFitStartTime;
double fFitStopTime;
unsigned int fNoOfFitBins;
double fBackground; ///< needed if background range is given. In units per bin
bool EstimateBkg(unsigned int histoNo);
};
#endif // _PRUNSINGLEHISTO_H_