if the background is estimated from an interval rather than fitted, it will be added as a comment to the background interval tag. (MUSR-192)

This commit is contained in:
2011-11-15 08:46:00 +00:00
parent a63ed33de7
commit 379345496b
6 changed files with 77 additions and 4 deletions

View File

@ -441,6 +441,7 @@ class PMsrRunBlock {
virtual Int_t GetForwardHistoNo(UInt_t idx=0);
virtual UInt_t GetBackwardHistoNoSize() { return fBackwardHistoNo.size(); }
virtual Int_t GetBackwardHistoNo(UInt_t idx=0);
virtual Double_t GetBkgEstimated(UInt_t idx);
virtual Double_t GetBkgFix(UInt_t idx);
virtual Int_t GetBkgRange(UInt_t idx);
virtual Int_t GetDataRange(UInt_t idx);
@ -472,7 +473,8 @@ class PMsrRunBlock {
virtual void SetMap(Int_t mapVal, Int_t idx=-1);
virtual void SetForwardHistoNo(Int_t histoNo, Int_t idx=-1);
virtual void SetBackwardHistoNo(Int_t histoNo, Int_t idx=-1);
virtual void SetBkgFix(Double_t dval, Int_t idx=-1);
virtual void SetBkgEstimated(Double_t dval, Int_t idx);
virtual void SetBkgFix(Double_t dval, Int_t idx);
virtual void SetBkgRange(Int_t ival, Int_t idx);
virtual void SetDataRange(Int_t ival, Int_t idx);
virtual void SetT0(Int_t ival, Int_t idx=-1);
@ -501,6 +503,7 @@ class PMsrRunBlock {
PIntVector fMap; ///< map vector needed to switch parameters for different runs within a single theory
PIntVector fForwardHistoNo; ///< forward histogram number (fit type 0, 2, 4)
PIntVector fBackwardHistoNo; ///< backward histogram number (fit type 2, 4)
Double_t fBkgEstimated[2]; ///< keeps estimated background values (if present)
Double_t fBkgFix[2]; ///< fixed background in (1/ns) (fit type 0, 2, 4)
Int_t fBkgRange[4]; ///< background bin range (fit type 0, 2, 4)
Int_t fDataRange[4]; ///< data bin range (fit type 0, 2, 4)