![]() |
AliPhysics
71e3bc7 (71e3bc7)
|
#include <AliHFInvMassMultiTrialFit.h>
Public Types | |
enum | EBkgFuncCases { kExpoBkg, kLinBkg, kPol2Bkg, kPol3Bkg, kPol4Bkg, kPol5Bkg, kPowBkg, kPowTimesExpoBkg, kNBkgFuncCases } |
enum | EFitParamCases { kFixSigFreeMean, kFixSigUpFreeMean, kFixSigDownFreeMean, kFreeSigFreeMean, kFixSigFixMean, kFreeSigFixMean, kNFitConfCases } |
Private Member Functions | |
Bool_t | CreateHistos () |
TH1F * | RebinHisto (TH1D *hOrig, Int_t reb, Int_t firstUse) const |
void | BinCount (TH1F *h, TF1 *fB, Int_t rebin, Double_t minMass, Double_t maxMass, Double_t &count, Double_t &ecount) const |
Bool_t | DoFitWithPol3Bkg (TH1F *histoToFit, Double_t hmin, Double_t hmax, Int_t theCase) |
AliHFInvMassMultiTrialFit (const AliHFInvMassMultiTrialFit &source) | |
AliHFInvMassMultiTrialFit & | operator= (const AliHFInvMassMultiTrialFit &source) |
Private Attributes | |
std::set< std::string > | fInvMassFitSaveAsFormats |
Int_t | fNumOfRebinSteps |
saves the invariant mass fit canvases in the file formats listed in this vector (if empty, does nothing) More... | |
Int_t * | fRebinSteps |
number of rebin steps More... | |
Int_t | fNumOfFirstBinSteps |
Int_t | fNumOfLowLimFitSteps |
number of steps in the first bin for rebin More... | |
Double_t * | fLowLimFitSteps |
number of steps on the min. mass for fit More... | |
Int_t | fNumOfUpLimFitSteps |
Double_t * | fUpLimFitSteps |
number of steps on the max. mass for fit More... | |
Int_t | fNumOfnSigmaBinCSteps |
Double_t * | fnSigmaBinCSteps |
number of steps on the bin counting More... | |
Double_t | fnSigmaForBkgEval |
Double_t | fSigmaGausMC |
Double_t | fSigmaMCVariation |
sigma of D meson peak from MC More... | |
Double_t | fMassD |
relative variation of the sigma More... | |
TString | fSuffix |
mass of D meson More... | |
Int_t | fFitOption |
name to characterize analysis case More... | |
Bool_t | fUseExpoBkg |
LL or chi2 fit. More... | |
Bool_t | fUseLinBkg |
switch for exponential background More... | |
Bool_t | fUsePol2Bkg |
switch for linear background More... | |
Bool_t | fUsePol3Bkg |
switch for pol2 background More... | |
Bool_t | fUsePol4Bkg |
switch for pol3 background More... | |
Bool_t | fUsePol5Bkg |
switch for pol4 background More... | |
Bool_t | fUsePowLawBkg |
switch for pol5 background More... | |
Bool_t | fUsePowLawTimesExpoBkg |
switch for power law background More... | |
Bool_t | fUseFixSigUpFreeMean |
switch for power law background More... | |
Bool_t | fUseFixSigDownFreeMean |
switch for FixSigUpFreeMean More... | |
Bool_t | fUseFreeS |
switch for FixSigDownFreeMean More... | |
Bool_t | fUseFixedMeanFreeS |
switch for FreeSigma More... | |
Bool_t | fUseFixSigFreeMean |
switch for FixedMeanFreeS More... | |
Bool_t | fUseFixSigFixMean |
switch for FixSigFreeMean More... | |
Bool_t | fUseSecondPeak |
switch for FixSigFixMean More... | |
Double_t | fMassSecondPeak |
switch off/on second peak (for D+->KKpi in Ds) More... | |
Double_t | fSigmaSecondPeak |
position of the 2nd peak More... | |
Bool_t | fFixMassSecondPeak |
width of the 2nd peak More... | |
Bool_t | fFixSigmaSecondPeak |
flag to fix the position of the 2nd peak More... | |
Bool_t | fSaveBkgVal |
flag to fix the width of the 2nd peak More... | |
Bool_t | fDrawIndividualFits |
switch for saving bkg values in nsigma More... | |
TH1F * | fHistoRawYieldDistAll |
flag for drawing fits More... | |
TH1F * | fHistoRawYieldTrialAll |
histo with yield from all trials More... | |
TH1F * | fHistoSigmaTrialAll |
histo with yield from all trials More... | |
TH1F * | fHistoMeanTrialAll |
histo with gauss sigma from all trials More... | |
TH1F * | fHistoChi2TrialAll |
histo with gauss mean from all trials More... | |
TH1F * | fHistoSignifTrialAll |
histo with chi2 from all trials More... | |
TH1F * | fHistoBkgTrialAll |
histo with chi2 from all trials More... | |
TH1F * | fHistoBkgInBinEdgesTrialAll |
histo with bkg from all trials More... | |
TH1F * | fHistoRawYieldDistBinCAll |
histo with bkg in mass bin edges from all trials More... | |
TH2F * | fHistoRawYieldTrialBinCAll |
histo with bin counts from all trials More... | |
TH1F ** | fHistoRawYieldDist |
histo with bin counts from all trials More... | |
TH1F ** | fHistoRawYieldTrial |
histo with yield from subsamples of trials More... | |
TH1F ** | fHistoSigmaTrial |
histo with yield from subsamples of trials More... | |
TH1F ** | fHistoMeanTrial |
histo with gauss sigma from subsamples of trials More... | |
TH1F ** | fHistoChi2Trial |
histo with gauss mean from subsamples of trials More... | |
TH1F ** | fHistoSignifTrial |
histo with chi2 from subsamples of trials More... | |
TH1F ** | fHistoBkgTrial |
histo with chi2 from subsamples of trials More... | |
TH1F ** | fHistoBkgInBinEdgesTrial |
histo with bkg from subsamples of trials More... | |
TH1F ** | fHistoRawYieldDistBinC |
histo with bkg in mass bin edges from subsamples of trials More... | |
TH2F ** | fHistoRawYieldTrialBinC |
histo with bin counts from subsamples of trials More... | |
TH1F * | fhTemplRefl |
histo with bin counts from subsamples of trials More... | |
Float_t | fFixRefloS |
template of reflection contribution More... | |
TNtuple * | fNtupleMultiTrials |
Double_t | fMinYieldGlob |
tree More... | |
Double_t | fMaxYieldGlob |
minimum yield More... | |
std::vector< AliHFInvMassFitter * > | fMassFitters |
maximum yield More... | |
Definition at line 17 of file AliHFInvMassMultiTrialFit.h.
Enumerator | |
---|---|
kExpoBkg | |
kLinBkg | |
kPol2Bkg | |
kPol3Bkg | |
kPol4Bkg | |
kPol5Bkg | |
kPowBkg | |
kPowTimesExpoBkg | |
kNBkgFuncCases |
Definition at line 106 of file AliHFInvMassMultiTrialFit.h.
Enumerator | |
---|---|
kFixSigFreeMean | |
kFixSigUpFreeMean | |
kFixSigDownFreeMean | |
kFreeSigFreeMean | |
kFixSigFixMean | |
kFreeSigFixMean | |
kNFitConfCases |
Definition at line 107 of file AliHFInvMassMultiTrialFit.h.
AliHFInvMassMultiTrialFit::AliHFInvMassMultiTrialFit | ( | ) |
Definition at line 34 of file AliHFInvMassMultiTrialFit.cxx.
|
virtual |
Definition at line 111 of file AliHFInvMassMultiTrialFit.cxx.
|
private |
|
inline |
Definition at line 102 of file AliHFInvMassMultiTrialFit.h.
|
private |
Definition at line 557 of file AliHFInvMassMultiTrialFit.cxx.
Referenced by DoMultiTrials().
Definition at line 34 of file AliHFInvMassMultiTrialFit.h.
Referenced by AliHFInvMassMultiTrialFit().
Definition at line 48 of file AliHFInvMassMultiTrialFit.h.
Referenced by AliHFInvMassMultiTrialFit().
Definition at line 23 of file AliHFInvMassMultiTrialFit.h.
Referenced by AliHFInvMassMultiTrialFit().
Definition at line 41 of file AliHFInvMassMultiTrialFit.h.
Referenced by AliHFInvMassMultiTrialFit().
|
private |
Definition at line 121 of file AliHFInvMassMultiTrialFit.cxx.
Referenced by DoMultiTrials().
|
inline |
Definition at line 103 of file AliHFInvMassMultiTrialFit.h.
|
private |
Definition at line 572 of file AliHFInvMassMultiTrialFit.cxx.
Definition at line 194 of file AliHFInvMassMultiTrialFit.cxx.
void AliHFInvMassMultiTrialFit::DrawHistos | ( | TCanvas * | cry | ) | const |
Definition at line 485 of file AliHFInvMassMultiTrialFit.cxx.
Definition at line 55 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 96 of file AliHFInvMassMultiTrialFit.h.
|
private |
|
private |
Definition at line 514 of file AliHFInvMassMultiTrialFit.cxx.
Referenced by DoMultiTrials().
Definition at line 446 of file AliHFInvMassMultiTrialFit.cxx.
|
inline |
Definition at line 87 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 94 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 60 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 30 of file AliHFInvMassMultiTrialFit.h.
Definition at line 85 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 61 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 62 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 64 of file AliHFInvMassMultiTrialFit.h.
TH1F * AliHFInvMassMultiTrialFit::SetTemplateRefl | ( | const TH1F * | hTemplRefl | ) |
Definition at line 620 of file AliHFInvMassMultiTrialFit.cxx.
|
inline |
Definition at line 67 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 69 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 81 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 79 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 83 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 82 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 78 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 80 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 70 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 68 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 71 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 72 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 73 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 74 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 75 of file AliHFInvMassMultiTrialFit.h.
|
inline |
Definition at line 76 of file AliHFInvMassMultiTrialFit.h.
|
private |
switch for saving bkg values in nsigma
Definition at line 160 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetDrawIndividualFits().
|
private |
name to characterize analysis case
Definition at line 136 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), SetUseChi2Fit(), and SetUseLogLikelihoodFit().
|
private |
width of the 2nd peak
Definition at line 155 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and IncludeSecondGausPeak().
|
private |
template of reflection contribution
Definition at line 186 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetFixRefoS().
|
private |
flag to fix the position of the 2nd peak
Definition at line 156 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and IncludeSecondGausPeak().
|
private |
histo with bkg from subsamples of trials
Definition at line 181 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bkg from all trials
Definition at line 169 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from subsamples of trials
Definition at line 180 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from all trials
Definition at line 168 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss mean from subsamples of trials
Definition at line 178 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss mean from all trials
Definition at line 166 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with gauss sigma from subsamples of trials
Definition at line 177 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss sigma from all trials
Definition at line 165 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from all trials
Definition at line 174 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), and DoMultiTrials().
|
private |
flag for drawing fits
Definition at line 162 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and DrawHistos().
|
private |
histo with bkg in mass bin edges from subsamples of trials
Definition at line 183 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bkg in mass bin edges from all trials
Definition at line 171 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from subsamples of trials
Definition at line 175 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from all trials
Definition at line 163 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with bin counts from subsamples of trials
Definition at line 184 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from all trials
Definition at line 172 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from subsamples of trials
Definition at line 176 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from all trials
Definition at line 164 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with chi2 from subsamples of trials
Definition at line 179 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from all trials
Definition at line 167 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from subsamples of trials
Definition at line 185 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), SetTemplateRefl(), and ~AliHFInvMassMultiTrialFit().
|
private |
Definition at line 120 of file AliHFInvMassMultiTrialFit.h.
Referenced by AddInvMassFitSaveAsFormat(), DisableInvMassFitSaveAs(), and DoMultiTrials().
|
private |
number of steps on the min. mass for fit
Definition at line 125 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigureLowLimFitSteps(), DoMultiTrials(), and ~AliHFInvMassMultiTrialFit().
|
private |
relative variation of the sigma
Definition at line 134 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetMass().
|
private |
maximum yield
! Mass fitters
Definition at line 192 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and ~AliHFInvMassMultiTrialFit().
|
private |
switch off/on second peak (for D+->KKpi in Ds)
Definition at line 153 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and IncludeSecondGausPeak().
|
private |
minimum yield
Definition at line 190 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), DrawHistos(), and GetGlobalMinMaxYield().
|
private |
tree
Definition at line 189 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), DrawHistos(), and GetGlobalMinMaxYield().
|
private |
number of steps on the bin counting
Definition at line 129 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigurenSigmaBinCSteps(), and DoMultiTrials().
|
private |
Definition at line 130 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetSaveBkgValue().
|
private |
Definition at line 187 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
Definition at line 123 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), and SetNumOfFirstBinSteps().
|
private |
number of steps in the first bin for rebin
Definition at line 124 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigureLowLimFitSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 128 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigurenSigmaBinCSteps(), CreateHistos(), and DoMultiTrials().
|
private |
saves the invariant mass fit canvases in the file formats listed in this vector (if empty, does nothing)
Definition at line 121 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigureRebinSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 126 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigureUpLimFitSteps(), CreateHistos(), and DoMultiTrials().
|
private |
number of rebin steps
Definition at line 122 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigureRebinSteps(), DoMultiTrials(), and ~AliHFInvMassMultiTrialFit().
|
private |
flag to fix the width of the 2nd peak
Definition at line 158 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), DoMultiTrials(), SaveToRoot(), and SetSaveBkgValue().
|
private |
Definition at line 132 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetSigmaGaussMC().
|
private |
sigma of D meson peak from MC
Definition at line 133 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetSigmaMCVariation().
|
private |
position of the 2nd peak
Definition at line 154 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and IncludeSecondGausPeak().
|
private |
mass of D meson
Definition at line 135 of file AliHFInvMassMultiTrialFit.h.
Referenced by CreateHistos(), and SetSuffixForHistoNames().
|
private |
number of steps on the max. mass for fit
Definition at line 127 of file AliHFInvMassMultiTrialFit.h.
Referenced by ConfigureUpLimFitSteps(), DoMultiTrials(), and ~AliHFInvMassMultiTrialFit().
|
private |
LL or chi2 fit.
Definition at line 137 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseExpoBackground().
|
private |
switch for FreeSigma
Definition at line 148 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseFixedMeanFreeS().
|
private |
switch for FixSigUpFreeMean
Definition at line 146 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseFixSigDownFreeMean().
|
private |
switch for FixSigFreeMean
Definition at line 150 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseFixSigFixMean().
|
private |
switch for FixedMeanFreeS
Definition at line 149 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseFixSigFreeMean().
|
private |
switch for power law background
Definition at line 145 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseFixSigUpFreeMean().
|
private |
switch for FixSigDownFreeMean
Definition at line 147 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseFreeS().
|
private |
switch for exponential background
Definition at line 138 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUseLinBackground().
|
private |
switch for linear background
Definition at line 139 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUsePol2Background().
|
private |
switch for pol2 background
Definition at line 140 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUsePol3Background().
|
private |
switch for pol3 background
Definition at line 141 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUsePol4Background().
|
private |
switch for pol4 background
Definition at line 142 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUsePol5Background().
|
private |
switch for pol5 background
Definition at line 143 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUsePowerLawBackground().
|
private |
switch for power law background
Definition at line 144 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and SetUsePowerLawTimesExpoBackground().
|
private |
switch for FixSigFixMean
Definition at line 152 of file AliHFInvMassMultiTrialFit.h.
Referenced by DoMultiTrials(), and IncludeSecondGausPeak().