AliPhysics  6f1d526 (6f1d526)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliHFMassFitter Class Reference

AliHFMassFitter for the fit of invariant mass distribution of charmed mesons. More...

#include <AliHFMassFitter.h>

Inheritance diagram for AliHFMassFitter:

Public Types

enum  ETypeOfBkg {
  kExpo =0, kLin =1, kPol2 =2, kNoBk =3,
  kPow =4, kPowEx =5
}
 
enum  ETypeOfSgn { kGaus =0, k2Gaus =1 }
 

Public Member Functions

 AliHFMassFitter ()
 
 AliHFMassFitter (const TH1F *histoToFit, Double_t minvalue, Double_t maxvalue, Int_t rebin=1, Int_t fittypeb=kExpo, Int_t fittypes=kGaus)
 
virtual ~AliHFMassFitter ()
 
 AliHFMassFitter (const AliHFMassFitter &mfit)
 
AliHFMassFitteroperator= (const AliHFMassFitter &mfit)
 
void SetHisto (const TH1F *histoToFit)
 setters More...
 
void SetRangeFit (Double_t minvalue, Double_t maxvalue)
 
void SetMinRangeFit (Double_t minvalue)
 
void SetMaxRangeFit (Double_t maxvalue)
 
void SetBinN (Int_t newbinN)
 
void SetType (Int_t fittypeb, Int_t fittypes)
 
void SetReflectionSigmaFactor (Int_t constant)
 
void SetInitialGaussianMean (Double_t mean)
 
void SetInitialGaussianSigma (Double_t sigma)
 change the default value of the mean More...
 
void SetSideBands (Bool_t onlysidebands=kTRUE)
 change the default value of the sigma More...
 
void SetFixParam (Bool_t *fixpar)
 consider only side bands More...
 
virtual void SetDefaultFixParam ()
 
virtual Bool_t SetFixThisParam (Int_t thispar, Bool_t fixpar)
 
virtual void SetFixGaussianMean (Double_t mean=1.865, Bool_t fixpar=kTRUE)
 
virtual void SetFixGaussianSigma (Double_t sigma=0.012, Bool_t fixpar=kTRUE)
 
TH1F * GetHistoClone () const
 
void GetRangeFit (Double_t &minvalue, Double_t &maxvalue) const
 return the histogram More...
 
Double_t GetMinRangeFit () const
 
Double_t GetMaxRangeFit () const
 
Int_t GetBinN () const
 
void GetFitPars (Float_t *pars) const
 
Int_t GetNFinalPars () const
 
void GetTypeOfFit (Bool_t &background, Int_t &typeb) const
 
Int_t GetReflectionSigmaFactor () const
 
Double_t GetMean () const
 
Double_t GetMeanUncertainty () const
 
Double_t GetSigma () const
 
Double_t GetSigmaUncertainty () const
 
Double_t GetRawYield () const
 
Double_t GetRawYieldError () const
 
Double_t GetChiSquare () const
 
Double_t GetBkgChiSquare ()
 
Double_t GetReducedChiSquare () const
 
Double_t GetBkgReducedChiSquare ()
 
Double_t GetFitProbability () const
 
void GetSideBandsBounds (Int_t &lb, Int_t &hb) const
 
Bool_tGetFixParam () const
 
Bool_t GetFixThisParam (Int_t thispar) const
 
virtual TH1F * GetAllRangeResidualsAndPulls (Double_t minrange=0, Double_t maxrange=-1, TH1 *hPulls=0x0, TH1 *hResidualTrend=0x0, TH1 *hPullsTrend=0x0)
 
virtual TH1F * GetOverBackgroundResidualsAndPulls (Double_t minrange=0, Double_t maxrange=-1, TH1 *hPulls=0x0, TH1 *hResidualTrend=0x0, TH1 *hPullsTrend=0x0)
 
TH1F * GetResidualsAndPulls (TH1 *h, TF1 *f, Double_t minrange=0, Double_t maxrange=-1, TH1 *hPulls=0x0, TH1 *hResidualTrend=0x0, TH1 *hPullsTrend=0x0)
 
virtual TPaveText * GetYieldBox (Double_t nsigma=3.)
 
virtual TPaveText * GetFitParametersBox (Double_t nsigma=3., Int_t mode=0)
 
TVirtualPad * GetPad (Double_t nsigma=3, Int_t writeFitInfo=1) const
 
void PrintParTitles () const
 
void InitNtuParam (TString ntuname="ntupar")
 
void FillNtuParam ()
 initialize TNtuple to store the parameters More...
 
TNtuple * GetNtuParam () const
 
TNtuple * NtuParamOneShot (TString ntuname="ntupar")
 return the TNtuple More...
 
void WriteHisto (TString path="./") const
 the three functions above all together More...
 
void WriteNtuple (TString path="./") const
 write the histogram More...
 
virtual void WriteCanvas (TString userIDstring="", TString path="./", Double_t nsigma=3, Int_t writeFitInfo=1, Bool_t draw=kFALSE) const
 write the TNtuple More...
 
void DrawHere (TVirtualPad *pd, Double_t nsigma=3, Int_t writeFitInfo=1) const
 write the canvas in a root file More...
 
void DrawFit (Double_t nsigma=3) const
 
void Reset ()
 
virtual void IntS (Float_t *valuewitherror) const
 
virtual Double_t IntTot () const
 integral of signal given my the fit with error More...
 
virtual void Signal (Double_t nOfSigma, Double_t &signal, Double_t &errsignal) const
 return total integral of the histogram More...
 
virtual void Signal (Double_t min, Double_t max, Double_t &signal, Double_t &errsignal) const
 signal in nsigma with error More...
 
virtual void Background (Double_t nOfSigma, Double_t &background, Double_t &errbackground) const
 signal in (min, max) with error More...
 
virtual void Background (Double_t min, Double_t max, Double_t &background, Double_t &errbackground) const
 backgournd in nsigma with error More...
 
void Significance (Double_t nOfSigma, Double_t &significance, Double_t &errsignificance) const
 backgournd in (min, max) with error More...
 
void Significance (Double_t min, Double_t max, Double_t &significance, Double_t &errsignificance) const
 significance in nsigma with error More...
 
virtual Double_t FitFunction4MassDistr (Double_t *x, Double_t *par)
 significance in (min, max) with error More...
 
virtual Double_t FitFunction4Sgn (Double_t *x, Double_t *par)
 
virtual Double_t FitFunction4Bkg (Double_t *x, Double_t *par)
 
virtual Bool_t MassFitter (Bool_t draw=kTRUE)
 
virtual Bool_t RefitWithBkgOnly (Bool_t draw=kTRUE)
 
void RebinMass (Int_t bingroup=1)
 
TF1 * GetBackgroundFullRangeFunc ()
 
TF1 * GetBackgroundRecalcFunc ()
 
TF1 * GetMassFunc ()
 
void SetUseLikelihoodFit ()
 
void SetUseLikelihoodWithWeightsFit ()
 
void SetUseChi2Fit ()
 
void SetFitOption (TString opt)
 

Protected Member Functions

virtual void PlotFit (TVirtualPad *pd, Double_t nsigma=3, Int_t writeFitInfo=1) const
 
virtual void ComputeParSize ()
 
virtual void ComputeNFinalPars ()
 
Bool_t SideBandsBounds ()
 
virtual Bool_t CheckRangeFit ()
 
virtual void AddFunctionsToHisto ()
 

Protected Attributes

TH1F * fhistoInvMass
 
Double_t fminMass
 histogram to fit More...
 
Double_t fmaxMass
 lower mass limit More...
 
Int_t fminBinMass
 upper mass limit More...
 
Int_t fmaxBinMass
 bin corresponding to fminMass More...
 
Int_t fNbin
 bin corresponding to fmaxMass More...
 
Int_t fParsSize
 number of bins More...
 
Int_t fNFinalPars
 size of fFitPars array More...
 
Float_tfFitPars
 number of parameters of the final function More...
 
Bool_t fWithBkg
 
Int_t ftypeOfFit4Bkg
 signal+background (kTRUE) or signal only (kFALSE) More...
 
Int_t ftypeOfFit4Sgn
 0 = exponential; 1 = linear; 2 = pol2 More...
 
Int_t ffactor
 0 = gaus; 1 = gaus+gaus broadened More...
 
TNtuple * fntuParam
 number to multiply to the sigma of the signal to obtain the reflected gaussian More...
 
Double_t fMass
 contains fit parameters More...
 
Double_t fMassErr
 signal gaussian mean value More...
 
Double_t fSigmaSgn
 err signal gaussian mean value More...
 
Double_t fSigmaSgnErr
 signal gaussian sigma More...
 
Double_t fRawYield
 err signal gaussian sigma More...
 
Double_t fRawYieldErr
 signal gaussian integral More...
 
Bool_t fSideBands
 err on signal gaussian integral More...
 
Bool_tfFixPar
 kTRUE = only side bands considered More...
 
Int_t fSideBandl
 
Int_t fSideBandr
 left side band limit (bin number) More...
 
Int_t fcounter
 right side band limit (bin number) More...
 
Int_t fNpfits
 internal counter More...
 
TString fFitOption
 Number of points used in the fit. More...
 
TListfContourGraph
 L, LW or Chi2. More...
 

Detailed Description

AliHFMassFitter for the fit of invariant mass distribution of charmed mesons.

Author
Author: C.Bianchin, chiar.nosp@m.a.bi.nosp@m.anchi.nosp@m.n@pd.nosp@m..infn.nosp@m..it

Definition at line 28 of file AliHFMassFitter.h.

Member Enumeration Documentation

Enumerator
kExpo 
kLin 
kPol2 
kNoBk 
kPow 
kPowEx 

Definition at line 32 of file AliHFMassFitter.h.

Enumerator
kGaus 
k2Gaus 

Definition at line 33 of file AliHFMassFitter.h.

Constructor & Destructor Documentation

AliHFMassFitter::AliHFMassFitter ( )

Definition at line 54 of file AliHFMassFitter.cxx.

AliHFMassFitter::AliHFMassFitter ( const TH1F *  histoToFit,
Double_t  minvalue,
Double_t  maxvalue,
Int_t  rebin = 1,
Int_t  fittypeb = kExpo,
Int_t  fittypes = kGaus 
)

Definition at line 94 of file AliHFMassFitter.cxx.

AliHFMassFitter::~AliHFMassFitter ( )
virtual

Definition at line 196 of file AliHFMassFitter.cxx.

AliHFMassFitter::AliHFMassFitter ( const AliHFMassFitter mfit)

Definition at line 152 of file AliHFMassFitter.cxx.

Member Function Documentation

void AliHFMassFitter::AddFunctionsToHisto ( )
protectedvirtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 1556 of file AliHFMassFitter.cxx.

Referenced by MassFitter(), and RefitWithBkgOnly().

void AliHFMassFitter::Background ( Double_t  nOfSigma,
Double_t background,
Double_t errbackground 
) const
virtual

signal in (min, max) with error

Reimplemented in AliHFMassFitterVAR.

Definition at line 2007 of file AliHFMassFitter.cxx.

Referenced by Data(), FitMassSpectra(), GetYieldBox(), PlotFit(), ReadDvsMultiplicity(), Signal(), and Significance().

void AliHFMassFitter::Background ( Double_t  min,
Double_t  max,
Double_t background,
Double_t errbackground 
) const
virtual

backgournd in nsigma with error

Reimplemented in AliHFMassFitterVAR.

Definition at line 2024 of file AliHFMassFitter.cxx.

Bool_t AliHFMassFitter::CheckRangeFit ( )
protectedvirtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 897 of file AliHFMassFitter.cxx.

Referenced by AliHFMassFitter(), and SetRangeFit().

void AliHFMassFitter::ComputeNFinalPars ( )
protectedvirtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 262 of file AliHFMassFitter.cxx.

Referenced by SetDefaultFixParam().

void AliHFMassFitter::ComputeParSize ( )
protectedvirtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 295 of file AliHFMassFitter.cxx.

Referenced by AliHFMassFitter(), and SetType().

void AliHFMassFitter::DrawFit ( Double_t  nsigma = 3) const
void AliHFMassFitter::DrawHere ( TVirtualPad *  pd,
Double_t  nsigma = 3,
Int_t  writeFitInfo = 1 
) const

write the canvas in a root file

Definition at line 1889 of file AliHFMassFitter.cxx.

Referenced by FitMassSpectra(), ProjectCombinHFAndFit(), ReadDvsMultiplicity(), and SubtractBkg().

void AliHFMassFitter::FillNtuParam ( )

initialize TNtuple to store the parameters

Definition at line 433 of file AliHFMassFitter.cxx.

Referenced by NtuParamOneShot().

Double_t AliHFMassFitter::FitFunction4Bkg ( Double_t x,
Double_t par 
)
virtual
Double_t AliHFMassFitter::FitFunction4MassDistr ( Double_t x,
Double_t par 
)
virtual

significance in (min, max) with error

Reimplemented in AliHFMassFitterVAR.

Definition at line 585 of file AliHFMassFitter.cxx.

Referenced by GetAllRangeResidualsAndPulls(), and MassFitter().

Double_t AliHFMassFitter::FitFunction4Sgn ( Double_t x,
Double_t par 
)
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 704 of file AliHFMassFitter.cxx.

Referenced by FitFunction4Bkg(), and FitFunction4MassDistr().

TH1F * AliHFMassFitter::GetAllRangeResidualsAndPulls ( Double_t  minrange = 0,
Double_t  maxrange = -1,
TH1 hPulls = 0x0,
TH1 hResidualTrend = 0x0,
TH1 hPullsTrend = 0x0 
)
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 2251 of file AliHFMassFitter.cxx.

TF1* AliHFMassFitter::GetBackgroundFullRangeFunc ( )
inline
TF1* AliHFMassFitter::GetBackgroundRecalcFunc ( )
inline

Definition at line 121 of file AliHFMassFitter.h.

Referenced by FitMassSpectra(), ProjectCombinHFAndFit(), and ReadDvsMultiplicity().

Int_t AliHFMassFitter::GetBinN ( ) const
inline

Definition at line 64 of file AliHFMassFitter.h.

Referenced by FitMassSpectra(), and ReadDvsMultiplicity().

Double_t AliHFMassFitter::GetBkgChiSquare ( )

Definition at line 1461 of file AliHFMassFitter.cxx.

Referenced by GetBkgReducedChiSquare().

Double_t AliHFMassFitter::GetBkgReducedChiSquare ( )

Definition at line 1501 of file AliHFMassFitter.cxx.

Double_t AliHFMassFitter::GetChiSquare ( ) const

Definition at line 1440 of file AliHFMassFitter.cxx.

TPaveText * AliHFMassFitter::GetFitParametersBox ( Double_t  nsigma = 3.,
Int_t  mode = 0 
)
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 2277 of file AliHFMassFitter.cxx.

void AliHFMassFitter::GetFitPars ( Float_t pars) const

Definition at line 1530 of file AliHFMassFitter.cxx.

Double_t AliHFMassFitter::GetFitProbability ( ) const

Definition at line 1517 of file AliHFMassFitter.cxx.

Bool_t* AliHFMassFitter::GetFixParam ( ) const
inline

Definition at line 81 of file AliHFMassFitter.h.

Bool_t AliHFMassFitter::GetFixThisParam ( Int_t  thispar) const

Definition at line 369 of file AliHFMassFitter.cxx.

TH1F * AliHFMassFitter::GetHistoClone ( ) const
TF1* AliHFMassFitter::GetMassFunc ( )
inline

Definition at line 124 of file AliHFMassFitter.h.

Referenced by Data(), FitMassSpectra(), and ProjectCombinHFAndFit().

Double_t AliHFMassFitter::GetMaxRangeFit ( ) const
inline

Definition at line 63 of file AliHFMassFitter.h.

Double_t AliHFMassFitter::GetMean ( ) const
inline
Double_t AliHFMassFitter::GetMeanUncertainty ( ) const
inline
Double_t AliHFMassFitter::GetMinRangeFit ( ) const
inline

Definition at line 62 of file AliHFMassFitter.h.

Int_t AliHFMassFitter::GetNFinalPars ( ) const
inline

Definition at line 66 of file AliHFMassFitter.h.

Referenced by Data().

TNtuple* AliHFMassFitter::GetNtuParam ( ) const
inline

Definition at line 94 of file AliHFMassFitter.h.

TH1F * AliHFMassFitter::GetOverBackgroundResidualsAndPulls ( Double_t  minrange = 0,
Double_t  maxrange = -1,
TH1 hPulls = 0x0,
TH1 hResidualTrend = 0x0,
TH1 hPullsTrend = 0x0 
)
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 2203 of file AliHFMassFitter.cxx.

TVirtualPad * AliHFMassFitter::GetPad ( Double_t  nsigma = 3,
Int_t  writeFitInfo = 1 
) const

Definition at line 1762 of file AliHFMassFitter.cxx.

Referenced by DrawFit(), AliHFMassFitterVAR::WriteCanvas(), and WriteCanvas().

void AliHFMassFitter::GetRangeFit ( Double_t minvalue,
Double_t maxvalue 
) const
inline

return the histogram

Definition at line 61 of file AliHFMassFitter.h.

Double_t AliHFMassFitter::GetRawYield ( ) const
inline
Double_t AliHFMassFitter::GetRawYieldError ( ) const
inline
Double_t AliHFMassFitter::GetReducedChiSquare ( ) const
Int_t AliHFMassFitter::GetReflectionSigmaFactor ( ) const
inline

Definition at line 68 of file AliHFMassFitter.h.

TH1F * AliHFMassFitter::GetResidualsAndPulls ( TH1 h,
TF1 *  f,
Double_t  minrange = 0,
Double_t  maxrange = -1,
TH1 hPulls = 0x0,
TH1 hResidualTrend = 0x0,
TH1 hPullsTrend = 0x0 
)
void AliHFMassFitter::GetSideBandsBounds ( Int_t lb,
Int_t hb 
) const

Definition at line 884 of file AliHFMassFitter.cxx.

Double_t AliHFMassFitter::GetSigma ( ) const
inline
Double_t AliHFMassFitter::GetSigmaUncertainty ( ) const
inline
void AliHFMassFitter::GetTypeOfFit ( Bool_t background,
Int_t typeb 
) const
inline

Definition at line 67 of file AliHFMassFitter.h.

TPaveText * AliHFMassFitter::GetYieldBox ( Double_t  nsigma = 3.)
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 2303 of file AliHFMassFitter.cxx.

void AliHFMassFitter::InitNtuParam ( TString  ntuname = "ntupar")

Definition at line 422 of file AliHFMassFitter.cxx.

Referenced by NtuParamOneShot().

void AliHFMassFitter::IntS ( Float_t valuewitherror) const
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 1540 of file AliHFMassFitter.cxx.

virtual Double_t AliHFMassFitter::IntTot ( ) const
inlinevirtual

integral of signal given my the fit with error

Reimplemented in AliHFMassFitterVAR.

Definition at line 104 of file AliHFMassFitter.h.

Bool_t AliHFMassFitter::MassFitter ( Bool_t  draw = kTRUE)
virtual
TNtuple * AliHFMassFitter::NtuParamOneShot ( TString  ntuname = "ntupar")

return the TNtuple

Definition at line 547 of file AliHFMassFitter.cxx.

AliHFMassFitter & AliHFMassFitter::operator= ( const AliHFMassFitter mfit)

Definition at line 214 of file AliHFMassFitter.cxx.

Referenced by AliHFMassFitterVAR::operator=().

void AliHFMassFitter::PlotFit ( TVirtualPad *  pd,
Double_t  nsigma = 3,
Int_t  writeFitInfo = 1 
) const
protectedvirtual

Definition at line 1777 of file AliHFMassFitter.cxx.

Referenced by DrawHere(), and GetPad().

void AliHFMassFitter::PrintParTitles ( ) const

Definition at line 1913 of file AliHFMassFitter.cxx.

void AliHFMassFitter::RebinMass ( Int_t  bingroup = 1)

Definition at line 556 of file AliHFMassFitter.cxx.

Referenced by AliHFMassFitter(), and AliHFMassFitterVAR::AliHFMassFitterVAR().

Bool_t AliHFMassFitter::RefitWithBkgOnly ( Bool_t  draw = kTRUE)
virtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 1376 of file AliHFMassFitter.cxx.

Referenced by Data(), and MassFitter().

void AliHFMassFitter::Reset ( )

Definition at line 409 of file AliHFMassFitter.cxx.

void AliHFMassFitter::SetBinN ( Int_t  newbinN)
inline

Definition at line 47 of file AliHFMassFitter.h.

void AliHFMassFitter::SetDefaultFixParam ( )
virtual
void AliHFMassFitter::SetFitOption ( TString  opt)
inline

Definition at line 130 of file AliHFMassFitter.h.

Referenced by ConfigureFitterVAR().

virtual void AliHFMassFitter::SetFixGaussianMean ( Double_t  mean = 1.865,
Bool_t  fixpar = kTRUE 
)
inlinevirtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 56 of file AliHFMassFitter.h.

Referenced by ConfigureFitter(), and ReadDvsMultiplicity().

virtual void AliHFMassFitter::SetFixGaussianSigma ( Double_t  sigma = 0.012,
Bool_t  fixpar = kTRUE 
)
inlinevirtual

Reimplemented in AliHFMassFitterVAR.

Definition at line 57 of file AliHFMassFitter.h.

Referenced by ConfigureFitter(), and ReadDvsMultiplicity().

void AliHFMassFitter::SetFixParam ( Bool_t fixpar)
inline

consider only side bands

Definition at line 53 of file AliHFMassFitter.h.

Bool_t AliHFMassFitter::SetFixThisParam ( Int_t  thispar,
Bool_t  fixpar 
)
virtual

Definition at line 347 of file AliHFMassFitter.cxx.

Referenced by SetFixGaussianMean(), and SetFixGaussianSigma().

void AliHFMassFitter::SetHisto ( const TH1F *  histoToFit)

setters

Definition at line 385 of file AliHFMassFitter.cxx.

void AliHFMassFitter::SetInitialGaussianMean ( Double_t  mean)
inline
void AliHFMassFitter::SetInitialGaussianSigma ( Double_t  sigma)
inline
void AliHFMassFitter::SetMaxRangeFit ( Double_t  maxvalue)
inline

Definition at line 46 of file AliHFMassFitter.h.

void AliHFMassFitter::SetMinRangeFit ( Double_t  minvalue)
inline

Definition at line 45 of file AliHFMassFitter.h.

void AliHFMassFitter::SetRangeFit ( Double_t  minvalue,
Double_t  maxvalue 
)
inline

Definition at line 44 of file AliHFMassFitter.h.

Referenced by ReadDvsMultiplicity().

void AliHFMassFitter::SetReflectionSigmaFactor ( Int_t  constant)
inline
void AliHFMassFitter::SetSideBands ( Bool_t  onlysidebands = kTRUE)
inline

change the default value of the sigma

Definition at line 52 of file AliHFMassFitter.h.

Referenced by plotHFMassFitterOutput().

void AliHFMassFitter::SetType ( Int_t  fittypeb,
Int_t  fittypes 
)

Definition at line 394 of file AliHFMassFitter.cxx.

void AliHFMassFitter::SetUseChi2Fit ( )
inline

Definition at line 129 of file AliHFMassFitter.h.

Referenced by ConfigureFitter(), and AliHFMultiTrials::DoMultiTrials().

void AliHFMassFitter::SetUseLikelihoodFit ( )
inline

Definition at line 127 of file AliHFMassFitter.h.

void AliHFMassFitter::SetUseLikelihoodWithWeightsFit ( )
inline

Definition at line 128 of file AliHFMassFitter.h.

Bool_t AliHFMassFitter::SideBandsBounds ( )
protected

Definition at line 816 of file AliHFMassFitter.cxx.

Referenced by MassFitter().

void AliHFMassFitter::Signal ( Double_t  nOfSigma,
Double_t signal,
Double_t errsignal 
) const
virtual

return total integral of the histogram

Reimplemented in AliHFMassFitterVAR.

Definition at line 1935 of file AliHFMassFitter.cxx.

Referenced by Data(), FitMassSpectra(), GetYieldBox(), PlotFit(), ReadDvsMultiplicity(), Significance(), and WriteFitInfo().

void AliHFMassFitter::Signal ( Double_t  min,
Double_t  max,
Double_t signal,
Double_t errsignal 
) const
virtual

signal in nsigma with error

Reimplemented in AliHFMassFitterVAR.

Definition at line 1955 of file AliHFMassFitter.cxx.

void AliHFMassFitter::Significance ( Double_t  nOfSigma,
Double_t significance,
Double_t errsignificance 
) const

backgournd in (min, max) with error

Definition at line 2088 of file AliHFMassFitter.cxx.

Referenced by Data(), FitMassSpectra(), PlotFit(), and ReadDvsMultiplicity().

void AliHFMassFitter::Significance ( Double_t  min,
Double_t  max,
Double_t significance,
Double_t errsignificance 
) const

significance in nsigma with error

Definition at line 2100 of file AliHFMassFitter.cxx.

void AliHFMassFitter::WriteCanvas ( TString  userIDstring = "",
TString  path = "./",
Double_t  nsigma = 3,
Int_t  writeFitInfo = 1,
Bool_t  draw = kFALSE 
) const
virtual

write the TNtuple

Reimplemented in AliHFMassFitterVAR.

Definition at line 1716 of file AliHFMassFitter.cxx.

Referenced by Data().

void AliHFMassFitter::WriteHisto ( TString  path = "./") const

the three functions above all together

Definition at line 1665 of file AliHFMassFitter.cxx.

void AliHFMassFitter::WriteNtuple ( TString  path = "./") const

write the histogram

Definition at line 1695 of file AliHFMassFitter.cxx.

Member Data Documentation

TList* AliHFMassFitter::fContourGraph
protected
Int_t AliHFMassFitter::fcounter
protected
Int_t AliHFMassFitter::ffactor
protected

0 = gaus; 1 = gaus+gaus broadened

Definition at line 155 of file AliHFMassFitter.h.

Referenced by FitFunction4MassDistr(), GetReflectionSigmaFactor(), MassFitter(), operator=(), and SetReflectionSigmaFactor().

TString AliHFMassFitter::fFitOption
protected
Float_t* AliHFMassFitter::fFitPars
protected
Bool_t* AliHFMassFitter::fFixPar
protected
Double_t AliHFMassFitter::fMassErr
protected

signal gaussian mean value

Definition at line 158 of file AliHFMassFitter.h.

Referenced by GetMeanUncertainty(), MassFitter(), AliHFMassFitterVAR::MassFitter(), and operator=().

Int_t AliHFMassFitter::fmaxBinMass
protected

bin corresponding to fminMass

Definition at line 147 of file AliHFMassFitter.h.

Referenced by CheckRangeFit(), AliHFMassFitterVAR::CheckRangeFit(), MassFitter(), and AliHFMassFitterVAR::MassFitter().

Int_t AliHFMassFitter::fminBinMass
protected
Int_t AliHFMassFitter::fNpfits
protected

internal counter

Definition at line 168 of file AliHFMassFitter.h.

Referenced by GetBkgChiSquare(), GetBkgReducedChiSquare(), and operator=().

TNtuple* AliHFMassFitter::fntuParam
protected

number to multiply to the sigma of the signal to obtain the reflected gaussian

Definition at line 156 of file AliHFMassFitter.h.

Referenced by FillNtuParam(), GetNtuParam(), InitNtuParam(), NtuParamOneShot(), operator=(), WriteNtuple(), and ~AliHFMassFitter().

Double_t AliHFMassFitter::fRawYieldErr
protected

signal gaussian integral

Definition at line 162 of file AliHFMassFitter.h.

Referenced by GetRawYieldError(), AliHFMassFitterVAR::IntS(), MassFitter(), AliHFMassFitterVAR::MassFitter(), and operator=().

Int_t AliHFMassFitter::fSideBandr
protected
Double_t AliHFMassFitter::fSigmaSgnErr
protected

signal gaussian sigma

Definition at line 160 of file AliHFMassFitter.h.

Referenced by GetSigmaUncertainty(), MassFitter(), AliHFMassFitterVAR::MassFitter(), and operator=().

Bool_t AliHFMassFitter::fWithBkg
protected

The documentation for this class was generated from the following files: