CbmRoot
PairAnalysisSignalFit Class Reference

#include <PairAnalysisSignalFit.h>

Inheritance diagram for PairAnalysisSignalFit:
[legend]
Collaboration diagram for PairAnalysisSignalFit:
[legend]

Public Types

enum  EBackgroundMethod {
  kFittedMC = 0, kFitted, kLikeSign, kLikeSignArithm,
  kLikeSignRcorr, kLikeSignArithmRcorr, kLikeSignFit, kEventMixing,
  kEventMixingFit, kRotation, kCocktail
}
 
enum  ESignalExtractionMethod {
  kBinCounting = 0, kMCScaledMax, kMCScaledInt, kMCFitted,
  kCrystalBall, kGaus, kUserFunc
}
 
enum  EScalingMethod { kSclToRaw = 0, kSclToLikeSign }
 
enum  EFunction { kBoltzmann = 0, kPtExp, kHagedorn, kLevi }
 

Public Member Functions

 PairAnalysisSignalFit ()
 
 PairAnalysisSignalFit (const char *name, const char *title)
 
 PairAnalysisSignalFit (const PairAnalysisSignalFit &c)
 
PairAnalysisSignalFitoperator= (const PairAnalysisSignalFit &c)
 
virtual ~PairAnalysisSignalFit ()
 
virtual void Process (TObjArray *const arrhist)
 
void ProcessFit (TObjArray *const arrhist)
 
void ProcessFitLS (TObjArray *const arrhist)
 
void ProcessFitEM (TObjArray *const arrhist)
 
virtual void Draw (const Option_t *option="")
 
virtual void Print (Option_t *option="") const
 
void SetMCSignalShape (TH1F *hist)
 
void SetIntegralRange (Double_t min, Double_t max)
 
void SetPlotRange (Double_t min, Double_t max)
 
void SetRebin (Int_t factor)
 
void SetRebin (TArrayD *limits)
 
void SetRebin (TVectorD *limits)
 
void SetStatRebin (Double_t stat)
 
void SetExtractionMethod (ESignalExtractionMethod method, PairAnalysisFunction *sigF=0x0)
 
void SetMixingCorrection (Bool_t mixcorr=kTRUE)
 
void SetMethod (EBackgroundMethod method)
 
void SetNTrackRotations (Int_t iterations)
 
void SetScaleBackgroundTo (EScalingMethod method, Double_t intMin, Double_t intMax, Double_t intMin2=0., Double_t intMax2=0.)
 
void SetCocktailContribution (TObjArray *arr, Bool_t subtract=kTRUE)
 
Bool_t IsCocktailSubtracted () const
 
Double_t GetIntegralMin () const
 
Double_t GetIntegralMax () const
 
Int_t GetRebin () const
 
TArrayD * GetRebinLimits () const
 
ESignalExtractionMethod GetExtractionMethod () const
 
EBackgroundMethod GetMethod () const
 
Double_t GetScaleMin () const
 
Double_t GetScaleMax () const
 
Double_t GetScaleMin2 () const
 
Double_t GetScaleMax2 () const
 
Double_t GetScaleFactor () const
 
const TVectorD & GetValues () const
 
const TVectorD & GetErrors () const
 
Double_t GetSignal () const
 
Double_t GetSignalError () const
 
Double_t GetBackground () const
 
Double_t GetBackgroundError () const
 
Double_t GetSignificance () const
 
Double_t GetSignificanceError () const
 
Double_t GetSB () const
 
Double_t GetSBError () const
 
Double_t GetMass () const
 
Double_t GetMassError () const
 
Double_t GetMassWidth () const
 
Double_t GetMassWidthError () const
 
Double_t GetMatchChi2NDF () const
 
Double_t GetMatchChi2NDFError () const
 
TH1 * GetMCSignalShape () const
 
TH1 * GetSignalHistogram () const
 
TH1 * GetSoverBHistogram () const
 
TH1 * GetSignificanceHistogram () const
 
TH1 * GetBackgroundHistogram () const
 
TH1 * GetUnlikeSignHistogram () const
 
TH1 * GetCocktailHistogram () const
 
TH1 * GetRfactorHistogram () const
 
TObject * GetPeakShape () const
 
TObject * DescribePeakShape (ESignalExtractionMethod method=kMCFitted, Bool_t replaceValErr=kFALSE, TH1F *mcShape=0x0)
 
TPaveText * DrawStats (Double_t x1=0., Double_t y1=0., Double_t x2=0., Double_t y2=0., TString opt="pRnbsSmrc")
 
Double_t ScaleHistograms (TH1 *histRaw, TH1 *histBackground, Double_t intMin, Double_t intMax)
 
Double_t ScaleHistograms (TH1 *histRaw, TH1 *histBackground, Double_t intMin, Double_t intMax, Double_t intMin2, Double_t intMax2)
 
void ProcessLS ()
 
void ProcessEM ()
 
void ProcessTR ()
 
void ProcessCocktail ()
 
TObject * FindObject (TObjArray *arrhist, PairAnalysis::EPairType type) const
 
TObject * FindObject (const char *) const
 
TObject * FindObject (const TObject *) const
 
TObject * FindObjectByTitle (TObjArray *arrhist, TString ref)
 
void SetParticleOfInterest (Int_t pdgcode)
 
void SetFitRange (Double_t min, Double_t max)
 
void SetUseIntegral (Bool_t flag=kTRUE)
 
void SetUseIntegral (Bool_t flag=kTRUE)
 
void SetFitOption (const char *opt)
 
void SetFitOption (const char *opt)
 
void SetFunctions (TF1 *const combined, TF1 *const sig=0, TF1 *const back=0, Int_t parM=1, Int_t parMres=2)
 
void SetDefault (EFunction predefinedFunc)
 
void SetDefaults (Int_t type)
 
void SetDefaults (Int_t type)
 
void CombineFunc (TF1 *const peak=0, TF1 *const bgnd=0)
 
void CombineFunc (TF1 *const peak=0, TF1 *const bgnd=0)
 
Double_t PeakFunMC (const Double_t *x, const Double_t *par)
 
Double_t PeakFunMC (const Double_t *x, const Double_t *par)
 
Double_t PeakFunCB (const Double_t *x, const Double_t *par)
 
Double_t PeakFunCB (const Double_t *x, const Double_t *par)
 
Double_t PeakFunGauss (const Double_t *x, const Double_t *par)
 
Double_t PeakFunPowGaussPow (const Double_t *x, const Double_t *par)
 
Double_t PeakFunExpGaussExp (const Double_t *x, const Double_t *par)
 
TF1 * GetBoltzmann ()
 
TF1 * GetPtExp ()
 
TF1 * GetHagedorn ()
 
TF1 * GetLevi ()
 
TF1 * GetSignalFunction () const
 
TF1 * GetSignalFunction () const
 
TF1 * GetBackgroundFunction () const
 
TF1 * GetBackgroundFunction () const
 
TF1 * GetCombinedFunction () const
 
TF1 * GetCombinedFunction () const
 
Int_t GetParticleOfInterest () const
 
Int_t GetDof () const
 
Int_t GetDof () const
 
Double_t GetChi2Dof () const
 
Double_t GetChi2Dof () const
 
Double_t GetFitMin () const
 
Double_t GetFitMax () const
 
void SetFunction (TF1 *const combined, TF1 *const sig=0, TF1 *const back=0, Int_t parM=1, Int_t parMres=2)
 
Double_t PeakFunGaus (const Double_t *x, const Double_t *par)
 

Static Public Member Functions

static const char * GetValueName (Int_t i)
 
static TH1 * MergeObjects (TH1 *obj1, TH1 *obj2, Double_t val=+1.)
 

Protected Member Functions

void ScaleBackground ()
 
void FillSignificance (TH1 *hfill, TObject *signal, TH1 *hbgrd)
 
void SetSignificanceAndSOB ()
 
void SetFWHM ()
 
Double_t PeakBgndFun (const Double_t *x, const Double_t *par)
 
Double_t PeakBgndFun (const Double_t *x, const Double_t *par)
 

Protected Attributes

TObjArray * fArrHists = NULL
 
TObjArray * fArrCocktail = NULL
 
TH1 * fHistSignal = NULL
 
TH1 * fHistSB = NULL
 
TH1 * fHistSgn = NULL
 
TH1 * fHistBackground
 
TH1 * fHistCocktail = NULL
 
TH1 * fHistDataPM = NULL
 
TH1 * fHistDataPP = NULL
 
TH1 * fHistDataMM = NULL
 
TH1 * fHistDataME
 
TH1 * fHistRfactor = NULL
 
TH1 * fHistSignalMC = NULL
 
TH1 * fHistMixPM = NULL
 
TH1 * fHistMixPP = NULL
 
TH1 * fHistMixMM = NULL
 
TH1 * fHistMixMP = NULL
 
TH1 * fHistDataTR = NULL
 
TVectorD fValues
 
TVectorD fErrors
 
Double_t fIntMin = 0.
 
Double_t fIntMax = 0.
 
Double_t fPlotMin = 0.
 
Double_t fPlotMax = 0.
 
Int_t fRebin = 1
 
Double_t fRebinStat = 1.
 
TArrayD * fBinLimits = NULL
 
EBackgroundMethod fMethod = kLikeSign
 
EScalingMethod fSclMethod = kSclToRaw
 
Double_t fScaleMin = 0.
 
Double_t fScaleMax = 0.
 
Double_t fScaleMin2 = 0.
 
Double_t fScaleMax2 = 0.
 
Int_t fNiterTR
 
Double_t fScaleFactor = 1.
 
Bool_t fMixingCorr
 
Bool_t fCocktailSubtr = kFALSE
 
PairAnalysisFunctionfExtrFunc = NULL
 
ESignalExtractionMethod fPeakMethod
 
Bool_t fPeakIsTF1 = kFALSE
 
Bool_t fProcessed = kFALSE
 
TF1 * fFuncSignal = NULL
 
TF1 * fFuncBackground = NULL
 
TF1 * fFuncSigBack = NULL
 
Double_t fFitMin = 0.
 
Double_t fFitMax = 0.
 
TParticlePDG * fPOI = NULL
 
Int_t fPOIpdg = 443
 
Int_t fParMass
 
Int_t fParMassWidth
 
TString fFitOpt = "SMNQE"
 
Bool_t fUseIntegral
 
Int_t fDof = 0
 
Double_t fChi2Dof = 0.
 
Int_t fNparPeak = 0
 
Int_t fNparBgnd = 0
 

Static Protected Attributes

static TObject * fgPeakShape
 
static TH1F * fgHistSimPM
 
static const char * fgkValueNames [7]
 
static const char * fgkBackgroundMethodNames [11]
 

Detailed Description

Definition at line 20 of file PairAnalysisSignalFit.h.

Member Enumeration Documentation

◆ EBackgroundMethod

Enumerator
kFittedMC 
kFitted 
kLikeSign 
kLikeSignArithm 
kLikeSignRcorr 
kLikeSignArithmRcorr 
kLikeSignFit 
kEventMixing 
kEventMixingFit 
kRotation 
kCocktail 

Definition at line 28 of file PairAnalysisSignalExt.h.

◆ EFunction

Enumerator
kBoltzmann 
kPtExp 
kHagedorn 
kLevi 

Definition at line 25 of file PairAnalysisFunction.h.

◆ EScalingMethod

Enumerator
kSclToRaw 
kSclToLikeSign 

Definition at line 52 of file PairAnalysisSignalExt.h.

◆ ESignalExtractionMethod

Enumerator
kBinCounting 
kMCScaledMax 
kMCScaledInt 
kMCFitted 
kCrystalBall 
kGaus 
kUserFunc 

Definition at line 42 of file PairAnalysisSignalExt.h.

Constructor & Destructor Documentation

◆ PairAnalysisSignalFit() [1/3]

PairAnalysisSignalFit::PairAnalysisSignalFit ( )

◆ PairAnalysisSignalFit() [2/3]

PairAnalysisSignalFit::PairAnalysisSignalFit ( const char *  name,
const char *  title 
)

Definition at line 124 of file PairAnalysisSignalFit.cxx.

◆ PairAnalysisSignalFit() [3/3]

PairAnalysisSignalFit::PairAnalysisSignalFit ( const PairAnalysisSignalFit c)

◆ ~PairAnalysisSignalFit()

PairAnalysisSignalFit::~PairAnalysisSignalFit ( )
virtual

Definition at line 135 of file PairAnalysisSignalFit.cxx.

Member Function Documentation

◆ CombineFunc() [1/2]

void PairAnalysisFunction::CombineFunc ( TF1 *const  peak = 0,
TF1 *const  bgnd = 0 
)
inherited

◆ CombineFunc() [2/2]

◆ DescribePeakShape()

◆ Draw()

◆ DrawStats()

TPaveText * PairAnalysisSignalExt::DrawStats ( Double_t  x1 = 0.,
Double_t  y1 = 0.,
Double_t  x2 = 0.,
Double_t  y2 = 0.,
TString  opt = "pRnbsSmrc" 
)
inherited

◆ FillSignificance()

void PairAnalysisSignalExt::FillSignificance ( TH1 *  hfill,
TObject *  signal,
TH1 *  hbgrd 
)
inlineprotectedinherited

fill significance histogram

TODO: signal error for TF1

Definition at line 386 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::GetValueName(), i, and sgn().

Referenced by PairAnalysisSignalExt::Draw().

◆ FindObject() [1/3]

TObject* PairAnalysisSignalExt::FindObject ( const char *  ) const
inlineinherited

Definition at line 200 of file PairAnalysisSignalExt.h.

◆ FindObject() [2/3]

TObject* PairAnalysisSignalExt::FindObject ( const TObject *  ) const
inlineinherited

Definition at line 204 of file PairAnalysisSignalExt.h.

◆ FindObject() [3/3]

TObject * PairAnalysisSignalExt::FindObject ( TObjArray *  arrhist,
PairAnalysis::EPairType  type 
) const
inlineinherited

Definition at line 283 of file PairAnalysisSignalExt.h.

References i, and PairAnalysis::PairClassName().

Referenced by PairAnalysisSignalExt::Process().

◆ FindObjectByTitle()

TObject * PairAnalysisSignalExt::FindObjectByTitle ( TObjArray *  arrhist,
TString  ref 
)
inlineinherited

Definition at line 298 of file PairAnalysisSignalExt.h.

References i.

Referenced by PairAnalysisSignalExt::Draw().

◆ GetBackground()

Double_t PairAnalysisSignalExt::GetBackground ( ) const
inlineinherited

Definition at line 128 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetBackgroundError()

Double_t PairAnalysisSignalExt::GetBackgroundError ( ) const
inlineinherited

Definition at line 129 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetBackgroundFunction() [1/2]

TF1* PairAnalysisFunction::GetBackgroundFunction ( ) const
inlineinherited

Definition at line 56 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fFuncBackground.

◆ GetBackgroundFunction() [2/2]

TF1* PairAnalysisFunction::GetBackgroundFunction ( ) const
inlineinherited

Definition at line 82 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fFuncBackground.

◆ GetBackgroundHistogram()

TH1* PairAnalysisSignalExt::GetBackgroundHistogram ( ) const
inlineinherited

Definition at line 150 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistBackground.

◆ GetBoltzmann()

TF1 * PairAnalysisFunction::GetBoltzmann ( )
inherited

◆ GetChi2Dof() [1/2]

Double_t PairAnalysisFunction::GetChi2Dof ( ) const
inlineinherited

Definition at line 60 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fChi2Dof.

◆ GetChi2Dof() [2/2]

Double_t PairAnalysisFunction::GetChi2Dof ( ) const
inlineinherited

Definition at line 87 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fChi2Dof.

◆ GetCocktailHistogram()

TH1* PairAnalysisSignalExt::GetCocktailHistogram ( ) const
inlineinherited

Definition at line 152 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistCocktail.

◆ GetCombinedFunction() [1/2]

TF1* PairAnalysisFunction::GetCombinedFunction ( ) const
inlineinherited

Definition at line 57 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fFuncSigBack.

◆ GetCombinedFunction() [2/2]

TF1* PairAnalysisFunction::GetCombinedFunction ( ) const
inlineinherited

◆ GetDof() [1/2]

Int_t PairAnalysisFunction::GetDof ( ) const
inlineinherited

Definition at line 59 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fDof.

◆ GetDof() [2/2]

Int_t PairAnalysisFunction::GetDof ( ) const
inlineinherited

Definition at line 86 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fDof.

◆ GetErrors()

const TVectorD& PairAnalysisSignalExt::GetErrors ( ) const
inlineinherited

Definition at line 125 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetExtractionMethod()

ESignalExtractionMethod PairAnalysisSignalExt::GetExtractionMethod ( ) const
inlineinherited

Definition at line 114 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fPeakMethod.

◆ GetFitMax()

Double_t PairAnalysisFunction::GetFitMax ( ) const
inlineinherited

Definition at line 89 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fFitMax.

◆ GetFitMin()

Double_t PairAnalysisFunction::GetFitMin ( ) const
inlineinherited

Definition at line 88 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fFitMin.

◆ GetHagedorn()

TF1 * PairAnalysisFunction::GetHagedorn ( )
inherited

◆ GetIntegralMax()

Double_t PairAnalysisSignalExt::GetIntegralMax ( ) const
inlineinherited

Definition at line 111 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fIntMax.

◆ GetIntegralMin()

Double_t PairAnalysisSignalExt::GetIntegralMin ( ) const
inlineinherited

Definition at line 110 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fIntMin.

◆ GetLevi()

TF1 * PairAnalysisFunction::GetLevi ( )
inherited

◆ GetMass()

Double_t PairAnalysisSignalExt::GetMass ( ) const
inlineinherited

Definition at line 134 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetMassError()

Double_t PairAnalysisSignalExt::GetMassError ( ) const
inlineinherited

Definition at line 135 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetMassWidth()

Double_t PairAnalysisSignalExt::GetMassWidth ( ) const
inlineinherited

Definition at line 136 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetMassWidthError()

Double_t PairAnalysisSignalExt::GetMassWidthError ( ) const
inlineinherited

Definition at line 137 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetMatchChi2NDF()

Double_t PairAnalysisSignalExt::GetMatchChi2NDF ( ) const
inlineinherited

Definition at line 138 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetMatchChi2NDFError()

Double_t PairAnalysisSignalExt::GetMatchChi2NDFError ( ) const
inlineinherited

Definition at line 139 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetMCSignalShape()

TH1* PairAnalysisSignalExt::GetMCSignalShape ( ) const
inlineinherited

Definition at line 146 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistSignalMC.

◆ GetMethod()

EBackgroundMethod PairAnalysisSignalExt::GetMethod ( ) const
inlineinherited

Definition at line 115 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fMethod.

◆ GetParticleOfInterest()

Int_t PairAnalysisFunction::GetParticleOfInterest ( ) const
inlineinherited

Definition at line 85 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fPOIpdg.

◆ GetPeakShape()

TObject* PairAnalysisSignalExt::GetPeakShape ( ) const
inlineinherited

Definition at line 154 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fgPeakShape.

◆ GetPtExp()

TF1 * PairAnalysisFunction::GetPtExp ( )
inherited

◆ GetRebin()

Int_t PairAnalysisSignalExt::GetRebin ( ) const
inlineinherited

Definition at line 112 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fRebin.

◆ GetRebinLimits()

TArrayD* PairAnalysisSignalExt::GetRebinLimits ( ) const
inlineinherited

Definition at line 113 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fBinLimits.

◆ GetRfactorHistogram()

TH1* PairAnalysisSignalExt::GetRfactorHistogram ( ) const
inlineinherited

Definition at line 153 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistRfactor.

◆ GetSB()

Double_t PairAnalysisSignalExt::GetSB ( ) const
inlineinherited

Definition at line 132 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetSBError()

Double_t PairAnalysisSignalExt::GetSBError ( ) const
inlineinherited

Definition at line 133 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetScaleFactor()

Double_t PairAnalysisSignalExt::GetScaleFactor ( ) const
inlineinherited

Definition at line 123 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fScaleFactor.

◆ GetScaleMax()

Double_t PairAnalysisSignalExt::GetScaleMax ( ) const
inlineinherited

Definition at line 117 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fScaleMax.

◆ GetScaleMax2()

Double_t PairAnalysisSignalExt::GetScaleMax2 ( ) const
inlineinherited

Definition at line 119 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fScaleMax2.

◆ GetScaleMin()

Double_t PairAnalysisSignalExt::GetScaleMin ( ) const
inlineinherited

Definition at line 116 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fScaleMin.

◆ GetScaleMin2()

Double_t PairAnalysisSignalExt::GetScaleMin2 ( ) const
inlineinherited

Definition at line 118 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fScaleMin2.

◆ GetSignal()

Double_t PairAnalysisSignalExt::GetSignal ( ) const
inlineinherited

Definition at line 126 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetSignalError()

Double_t PairAnalysisSignalExt::GetSignalError ( ) const
inlineinherited

Definition at line 127 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetSignalFunction() [1/2]

TF1* PairAnalysisFunction::GetSignalFunction ( ) const
inlineinherited

Definition at line 55 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fFuncSignal.

◆ GetSignalFunction() [2/2]

TF1* PairAnalysisFunction::GetSignalFunction ( ) const
inlineinherited

Definition at line 81 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fFuncSignal.

◆ GetSignalHistogram()

TH1* PairAnalysisSignalExt::GetSignalHistogram ( ) const
inlineinherited

Definition at line 147 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistSignal.

◆ GetSignificance()

Double_t PairAnalysisSignalExt::GetSignificance ( ) const
inlineinherited

Definition at line 130 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ GetSignificanceError()

Double_t PairAnalysisSignalExt::GetSignificanceError ( ) const
inlineinherited

Definition at line 131 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fErrors.

◆ GetSignificanceHistogram()

TH1* PairAnalysisSignalExt::GetSignificanceHistogram ( ) const
inlineinherited

Definition at line 149 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistSgn.

◆ GetSoverBHistogram()

TH1* PairAnalysisSignalExt::GetSoverBHistogram ( ) const
inlineinherited

Definition at line 148 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistSB.

◆ GetUnlikeSignHistogram()

TH1* PairAnalysisSignalExt::GetUnlikeSignHistogram ( ) const
inlineinherited

Definition at line 151 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fHistDataPM.

◆ GetValueName()

static const char* PairAnalysisSignalExt::GetValueName ( Int_t  i)
inlinestaticinherited

◆ GetValues()

const TVectorD& PairAnalysisSignalExt::GetValues ( ) const
inlineinherited

Definition at line 124 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fValues.

◆ IsCocktailSubtracted()

Bool_t PairAnalysisSignalExt::IsCocktailSubtracted ( ) const
inlineinherited

Definition at line 109 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fCocktailSubtr.

◆ MergeObjects()

TH1 * PairAnalysisSignalExt::MergeObjects ( TH1 *  obj1,
TH1 *  obj2,
Double_t  val = +1. 
)
staticinherited

Definition at line 321 of file PairAnalysisSignalExt.cxx.

References i.

◆ operator=()

PairAnalysisSignalFit& PairAnalysisSignalFit::operator= ( const PairAnalysisSignalFit c)

◆ PeakBgndFun() [1/2]

Double_t PairAnalysisFunction::PeakBgndFun ( const Double_t *  x,
const Double_t *  par 
)
protectedinherited

◆ PeakBgndFun() [2/2]

Double_t PairAnalysisFunction::PeakBgndFun ( const Double_t *  x,
const Double_t *  par 
)
protectedinherited

◆ PeakFunCB() [1/2]

Double_t PairAnalysisFunction::PeakFunCB ( const Double_t *  x,
const Double_t *  par 
)
inherited

◆ PeakFunCB() [2/2]

Double_t PairAnalysisFunction::PeakFunCB ( const Double_t *  x,
const Double_t *  par 
)
inherited

Definition at line 121 of file PairAnalysisFunction.cxx.

References x.

Referenced by PairAnalysisSignalExt::DescribePeakShape().

◆ PeakFunExpGaussExp()

Double_t PairAnalysisFunction::PeakFunExpGaussExp ( const Double_t *  x,
const Double_t *  par 
)
inherited

Definition at line 177 of file PairAnalysisFunction.cxx.

References x.

◆ PeakFunGaus()

Double_t PairAnalysisFunction::PeakFunGaus ( const Double_t *  x,
const Double_t *  par 
)
inherited

Definition at line 130 of file PairAnalysisSignalFunc.cxx.

References x.

◆ PeakFunGauss()

Double_t PairAnalysisFunction::PeakFunGauss ( const Double_t *  x,
const Double_t *  par 
)
inherited

Definition at line 202 of file PairAnalysisFunction.cxx.

References x.

Referenced by PairAnalysisSignalExt::DescribePeakShape().

◆ PeakFunMC() [1/2]

Double_t PairAnalysisFunction::PeakFunMC ( const Double_t *  x,
const Double_t *  par 
)
inherited

◆ PeakFunMC() [2/2]

Double_t PairAnalysisFunction::PeakFunMC ( const Double_t *  x,
const Double_t *  par 
)
inherited

◆ PeakFunPowGaussPow()

Double_t PairAnalysisFunction::PeakFunPowGaussPow ( const Double_t *  x,
const Double_t *  par 
)
inherited

Definition at line 148 of file PairAnalysisFunction.cxx.

References x.

◆ Print()

void PairAnalysisSignalFit::Print ( Option_t *  option = "") const
virtual

◆ Process()

◆ ProcessCocktail()

◆ ProcessEM()

◆ ProcessFit()

◆ ProcessFitEM()

void PairAnalysisSignalFit::ProcessFitEM ( TObjArray *const  arrhist)

Definition at line 356 of file PairAnalysisSignalFit.cxx.

Referenced by Process().

◆ ProcessFitLS()

◆ ProcessLS()

◆ ProcessTR()

◆ ScaleBackground()

◆ ScaleHistograms() [1/2]

Double_t PairAnalysisSignalExt::ScaleHistograms ( TH1 *  histRaw,
TH1 *  histBackground,
Double_t  intMin,
Double_t  intMax 
)
inherited

◆ ScaleHistograms() [2/2]

Double_t PairAnalysisSignalExt::ScaleHistograms ( TH1 *  histRaw,
TH1 *  histBackground,
Double_t  intMin,
Double_t  intMax,
Double_t  intMin2,
Double_t  intMax2 
)
inherited

◆ SetCocktailContribution()

void PairAnalysisSignalExt::SetCocktailContribution ( TObjArray *  arr,
Bool_t  subtract = kTRUE 
)
inlineinherited

◆ SetDefault()

void PairAnalysisFunction::SetDefault ( EFunction  predefinedFunc)
inherited

◆ SetDefaults() [1/2]

void PairAnalysisFunction::SetDefaults ( Int_t  type)
inherited

◆ SetDefaults() [2/2]

void PairAnalysisFunction::SetDefaults ( Int_t  type)
inherited

◆ SetExtractionMethod()

void PairAnalysisSignalExt::SetExtractionMethod ( ESignalExtractionMethod  method,
PairAnalysisFunction sigF = 0x0 
)
inlineinherited

◆ SetFitOption() [1/2]

void PairAnalysisFunction::SetFitOption ( const char *  opt)
inlineinherited

Definition at line 32 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fFitOpt.

◆ SetFitOption() [2/2]

void PairAnalysisFunction::SetFitOption ( const char *  opt)
inlineinherited

Definition at line 46 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fFitOpt.

◆ SetFitRange()

void PairAnalysisFunction::SetFitRange ( Double_t  min,
Double_t  max 
)
inlineinherited

◆ SetFunction()

void PairAnalysisFunction::SetFunction ( TF1 *const  combined,
TF1 *const  sig = 0,
TF1 *const  back = 0,
Int_t  parM = 1,
Int_t  parMres = 2 
)
inherited

◆ SetFunctions()

void PairAnalysisFunction::SetFunctions ( TF1 *const  combined,
TF1 *const  sig = 0,
TF1 *const  back = 0,
Int_t  parM = 1,
Int_t  parMres = 2 
)
inherited

◆ SetFWHM()

void PairAnalysisSignalExt::SetFWHM ( )
inlineprotectedinherited

◆ SetIntegralRange()

void PairAnalysisSignalExt::SetIntegralRange ( Double_t  min,
Double_t  max 
)
inlineinherited

◆ SetMCSignalShape()

void PairAnalysisSignalExt::SetMCSignalShape ( TH1F *  hist)
inlineinherited

◆ SetMethod()

void PairAnalysisSignalExt::SetMethod ( EBackgroundMethod  method)
inlineinherited

Definition at line 89 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fMethod.

◆ SetMixingCorrection()

void PairAnalysisSignalExt::SetMixingCorrection ( Bool_t  mixcorr = kTRUE)
inlineinherited

Definition at line 85 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fMixingCorr.

◆ SetNTrackRotations()

void PairAnalysisSignalExt::SetNTrackRotations ( Int_t  iterations)
inlineinherited

Definition at line 90 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fNiterTR.

◆ SetParticleOfInterest()

void PairAnalysisFunction::SetParticleOfInterest ( Int_t  pdgcode)
inlineinherited

◆ SetPlotRange()

void PairAnalysisSignalExt::SetPlotRange ( Double_t  min,
Double_t  max 
)
inlineinherited

◆ SetRebin() [1/3]

void PairAnalysisSignalExt::SetRebin ( Int_t  factor)
inlineinherited

Definition at line 74 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fRebin.

◆ SetRebin() [2/3]

void PairAnalysisSignalExt::SetRebin ( TArrayD *  limits)
inlineinherited

Definition at line 76 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fBinLimits.

◆ SetRebin() [3/3]

void PairAnalysisSignalExt::SetRebin ( TVectorD *  limits)
inlineinherited

Definition at line 77 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fBinLimits.

◆ SetScaleBackgroundTo()

void PairAnalysisSignalExt::SetScaleBackgroundTo ( EScalingMethod  method,
Double_t  intMin,
Double_t  intMax,
Double_t  intMin2 = 0.,
Double_t  intMax2 = 0. 
)
inlineinherited

◆ SetSignificanceAndSOB()

void PairAnalysisSignalExt::SetSignificanceAndSOB ( )
inlineprotectedinherited

◆ SetStatRebin()

void PairAnalysisSignalExt::SetStatRebin ( Double_t  stat)
inlineinherited

Definition at line 75 of file PairAnalysisSignalExt.h.

References PairAnalysisSignalExt::fRebinStat.

◆ SetUseIntegral() [1/2]

void PairAnalysisFunction::SetUseIntegral ( Bool_t  flag = kTRUE)
inlineinherited

Definition at line 31 of file PairAnalysisSignalFunc.h.

References PairAnalysisFunction::fUseIntegral.

◆ SetUseIntegral() [2/2]

void PairAnalysisFunction::SetUseIntegral ( Bool_t  flag = kTRUE)
inlineinherited

Definition at line 45 of file PairAnalysisFunction.h.

References PairAnalysisFunction::fUseIntegral.

Member Data Documentation

◆ fArrCocktail

◆ fArrHists

TObjArray* PairAnalysisSignalExt::fArrHists = NULL
protectedinherited

◆ fBinLimits

◆ fChi2Dof

Double_t PairAnalysisFunction::fChi2Dof = 0.
protectedinherited

◆ fCocktailSubtr

◆ fDof

Int_t PairAnalysisFunction::fDof = 0
protectedinherited

◆ fErrors

◆ fExtrFunc

◆ fFitMax

◆ fFitMin

◆ fFitOpt

TString PairAnalysisFunction::fFitOpt = "SMNQE"
protectedinherited

◆ fFuncBackground

◆ fFuncSigBack

◆ fFuncSignal

◆ fgHistSimPM

◆ fgkBackgroundMethodNames

const char * PairAnalysisSignalExt::fgkBackgroundMethodNames
staticprotectedinherited
Initial value:
= {
"FittedMC",
"Fitted",
"like-sign",
"like-sign (arithm.)",
"like-sign #times R(#Deltam)",
"like-sign (arithm.) #times R(#Deltam)",
"fitted like-sign",
"mixed event",
"fitted mixed event",
"track rotation",
"cocktail"}

Definition at line 274 of file PairAnalysisSignalExt.h.

Referenced by PairAnalysisSignalExt::Draw().

◆ fgkValueNames

const char * PairAnalysisSignalExt::fgkValueNames
staticprotectedinherited
Initial value:
=
{"S", "B", "S/#sqrt{S+B}", "S/B", "Mass", "MassWidth", "ChiSqNDFmatch"}

Definition at line 272 of file PairAnalysisSignalExt.h.

Referenced by PairAnalysisSignalExt::DrawStats(), and PairAnalysisSignalExt::GetValueName().

◆ fgPeakShape

◆ fHistBackground

◆ fHistCocktail

◆ fHistDataME

TH1* PairAnalysisSignalExt::fHistDataME
protectedinherited
Initial value:
=
NULL

Definition at line 221 of file PairAnalysisSignalExt.h.

Referenced by PairAnalysisSignalExt::Process(), and PairAnalysisSignalExt::~PairAnalysisSignalExt().

◆ fHistDataMM

◆ fHistDataPM

◆ fHistDataPP

◆ fHistDataTR

TH1* PairAnalysisSignalExt::fHistDataTR = NULL
protectedinherited

◆ fHistMixMM

TH1* PairAnalysisSignalExt::fHistMixMM = NULL
protectedinherited

◆ fHistMixMP

TH1* PairAnalysisSignalExt::fHistMixMP = NULL
protectedinherited

◆ fHistMixPM

TH1* PairAnalysisSignalExt::fHistMixPM = NULL
protectedinherited

◆ fHistMixPP

TH1* PairAnalysisSignalExt::fHistMixPP = NULL
protectedinherited

◆ fHistRfactor

◆ fHistSB

TH1* PairAnalysisSignalExt::fHistSB = NULL
protectedinherited

◆ fHistSgn

◆ fHistSignal

◆ fHistSignalMC

TH1* PairAnalysisSignalExt::fHistSignalMC = NULL
protectedinherited

◆ fIntMax

◆ fIntMin

◆ fMethod

◆ fMixingCorr

Bool_t PairAnalysisSignalExt::fMixingCorr
protectedinherited
Initial value:
=
kFALSE

Definition at line 254 of file PairAnalysisSignalExt.h.

Referenced by PairAnalysisSignalExt::ProcessLS(), and PairAnalysisSignalExt::SetMixingCorrection().

◆ fNiterTR

Int_t PairAnalysisSignalExt::fNiterTR
protectedinherited
Initial value:
=
1

Definition at line 251 of file PairAnalysisSignalExt.h.

Referenced by PairAnalysisSignalExt::ProcessTR(), and PairAnalysisSignalExt::SetNTrackRotations().

◆ fNparBgnd

Int_t PairAnalysisFunction::fNparBgnd = 0
protectedinherited

Definition at line 124 of file PairAnalysisFunction.h.

Referenced by PairAnalysisFunction::CombineFunc().

◆ fNparPeak

Int_t PairAnalysisFunction::fNparPeak = 0
protectedinherited

◆ fParMass

Int_t PairAnalysisFunction::fParMass
protectedinherited
Initial value:
=
1

Definition at line 111 of file PairAnalysisFunction.h.

Referenced by ProcessFit(), ProcessFitLS(), and PairAnalysisFunction::SetFunctions().

◆ fParMassWidth

Int_t PairAnalysisFunction::fParMassWidth
protectedinherited
Initial value:
=
2

Definition at line 113 of file PairAnalysisFunction.h.

Referenced by ProcessFit(), ProcessFitLS(), and PairAnalysisFunction::SetFunctions().

◆ fPeakIsTF1

Bool_t PairAnalysisSignalExt::fPeakIsTF1 = kFALSE
protectedinherited

◆ fPeakMethod

◆ fPlotMax

Double_t PairAnalysisSignalExt::fPlotMax = 0.
protectedinherited

◆ fPlotMin

Double_t PairAnalysisSignalExt::fPlotMin = 0.
protectedinherited

◆ fPOI

TParticlePDG* PairAnalysisFunction::fPOI = NULL
protectedinherited

◆ fPOIpdg

Int_t PairAnalysisFunction::fPOIpdg = 443
protectedinherited

◆ fProcessed

◆ fRebin

◆ fRebinStat

Double_t PairAnalysisSignalExt::fRebinStat = 1.
protectedinherited

◆ fScaleFactor

Double_t PairAnalysisSignalExt::fScaleFactor = 1.
protectedinherited

◆ fScaleMax

Double_t PairAnalysisSignalExt::fScaleMax = 0.
protectedinherited

◆ fScaleMax2

Double_t PairAnalysisSignalExt::fScaleMax2 = 0.
protectedinherited

◆ fScaleMin

Double_t PairAnalysisSignalExt::fScaleMin = 0.
protectedinherited

◆ fScaleMin2

Double_t PairAnalysisSignalExt::fScaleMin2 = 0.
protectedinherited

◆ fSclMethod

EScalingMethod PairAnalysisSignalExt::fSclMethod = kSclToRaw
protectedinherited

◆ fUseIntegral

Bool_t PairAnalysisFunction::fUseIntegral
protectedinherited
Initial value:
=
kFALSE

Definition at line 117 of file PairAnalysisFunction.h.

Referenced by ProcessFit(), and PairAnalysisFunction::SetUseIntegral().

◆ fValues


The documentation for this class was generated from the following files:
PairAnalysisSignalExt::kBinCounting
@ kBinCounting
Definition: PairAnalysisSignalExt.h:43