30 #ifndef _PRUNSINGLEHISTO_H_ 31 #define _PRUNSINGLEHISTO_H_ 45 virtual Double_t
CalcChiSquare(
const std::vector<Double_t>& par);
92 #endif // _PRUNSINGLEHISTO_H_ virtual UInt_t GetNoOfFitBins()
virtual Bool_t EstimateBkg(UInt_t histoNo)
virtual Double_t CalcMaxLikelihoodExpected(const std::vector< Double_t > &par)
Int_t fPacking
packing for this particular run. Either given in the RUN- or GLOBAL-block.
virtual void CalcNoOfFitBins()
virtual Bool_t PrepareViewData(PRawRunData *runData, const UInt_t histoNo)
virtual Bool_t GetProperDataRange()
UInt_t fNoOfFitBins
number of bins to be fitted
virtual void EstimateN0()
std::vector< UInt_t > PUIntVector
virtual Bool_t GetScaleN0AndBkg()
std::vector< Double_t > PDoubleVector
virtual Int_t GetPacking()
virtual Double_t CalcChiSquareExpected(const std::vector< Double_t > &par)
Int_t fGoodBins[2]
keep first/last good bins. 0=fgb, 1=lgb
virtual Bool_t IsScaleN0AndBkg()
virtual Bool_t PrepareData()
virtual Bool_t GetProperT0(PRawRunData *runData, PMsrGlobalBlock *globalBlock, PUIntVector &histoNo)
virtual ~PRunSingleHisto()
virtual void GetProperFitRange(PMsrGlobalBlock *globalBlock)
Int_t fStartTimeBin
bin at which the fit starts
virtual Bool_t PrepareRawViewData(PRawRunData *runData, const UInt_t histoNo)
Int_t fEndTimeBin
bin at which the fit ends
virtual Double_t CalcChiSquare(const std::vector< Double_t > &par)
Double_t fBackground
needed if background range is given (units: 1/bin)
virtual Double_t GetBackground()
Bool_t fScaleN0AndBkg
true=scale N0 and background to 1/ns, otherwise 1/bin
virtual Int_t GetStartTimeBin()
PDoubleVector fForward
forward histo data
virtual void SetFitRangeBin(const TString fitRange)
Bool_t fTheoAsData
true=only calculate the theory points at the data points, false=calculate more points for the theory ...
virtual Double_t CalcMaxLikelihood(const std::vector< Double_t > &par)
virtual Bool_t PrepareFitData(PRawRunData *runData, const UInt_t histoNo)
virtual void CalcTheory()
virtual Int_t GetEndTimeBin()