![]() |
AliPhysics
2aaea23 (2aaea23)
|
#include <AliHFMultiTrials.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) |
AliHFMultiTrials (const AliHFMultiTrials &source) | |
AliHFMultiTrials & | operator= (const AliHFMultiTrials &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 | fSaveBkgVal |
switch for FixSigFixMean 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< AliHFMassFitterVAR * > | fMassFitters |
maximum yield More... | |
Definition at line 17 of file AliHFMultiTrials.h.
Enumerator | |
---|---|
kExpoBkg | |
kLinBkg | |
kPol2Bkg | |
kPol3Bkg | |
kPol4Bkg | |
kPol5Bkg | |
kPowBkg | |
kPowTimesExpoBkg | |
kNBkgFuncCases |
Definition at line 101 of file AliHFMultiTrials.h.
Enumerator | |
---|---|
kFixSigFreeMean | |
kFixSigUpFreeMean | |
kFixSigDownFreeMean | |
kFreeSigFreeMean | |
kFixSigFixMean | |
kFreeSigFixMean | |
kNFitConfCases |
Definition at line 102 of file AliHFMultiTrials.h.
AliHFMultiTrials::AliHFMultiTrials | ( | ) |
Definition at line 35 of file AliHFMultiTrials.cxx.
|
virtual |
Definition at line 107 of file AliHFMultiTrials.cxx.
|
private |
|
inline |
Definition at line 97 of file AliHFMultiTrials.h.
|
private |
Definition at line 559 of file AliHFMultiTrials.cxx.
Referenced by DoMultiTrials().
Definition at line 34 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
Definition at line 48 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
Definition at line 23 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
Definition at line 41 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
|
private |
Definition at line 117 of file AliHFMultiTrials.cxx.
Referenced by DoMultiTrials().
|
inline |
Definition at line 98 of file AliHFMultiTrials.h.
|
private |
Definition at line 574 of file AliHFMultiTrials.cxx.
Definition at line 190 of file AliHFMultiTrials.cxx.
Referenced by SetDrawIndividualFits().
void AliHFMultiTrials::DrawHistos | ( | TCanvas * | cry | ) | const |
Definition at line 487 of file AliHFMultiTrials.cxx.
Referenced by SetDrawIndividualFits().
Definition at line 55 of file AliHFMultiTrials.h.
|
private |
Definition at line 516 of file AliHFMultiTrials.cxx.
Referenced by DoMultiTrials().
Definition at line 448 of file AliHFMultiTrials.cxx.
Referenced by SetDrawIndividualFits().
|
inline |
Definition at line 88 of file AliHFMultiTrials.h.
|
inline |
Definition at line 95 of file AliHFMultiTrials.h.
|
inline |
Definition at line 60 of file AliHFMultiTrials.h.
|
inline |
Definition at line 30 of file AliHFMultiTrials.h.
Definition at line 86 of file AliHFMultiTrials.h.
|
inline |
Definition at line 61 of file AliHFMultiTrials.h.
|
inline |
Definition at line 62 of file AliHFMultiTrials.h.
|
inline |
Definition at line 64 of file AliHFMultiTrials.h.
TH1F * AliHFMultiTrials::SetTemplateRefl | ( | const TH1F * | hTemplRefl | ) |
Definition at line 622 of file AliHFMultiTrials.cxx.
Referenced by SetDrawIndividualFits().
|
inline |
Definition at line 67 of file AliHFMultiTrials.h.
|
inline |
Definition at line 70 of file AliHFMultiTrials.h.
|
inline |
Definition at line 82 of file AliHFMultiTrials.h.
|
inline |
Definition at line 80 of file AliHFMultiTrials.h.
|
inline |
Definition at line 84 of file AliHFMultiTrials.h.
|
inline |
Definition at line 83 of file AliHFMultiTrials.h.
|
inline |
Definition at line 79 of file AliHFMultiTrials.h.
|
inline |
Definition at line 81 of file AliHFMultiTrials.h.
|
inline |
Definition at line 69 of file AliHFMultiTrials.h.
|
inline |
Definition at line 71 of file AliHFMultiTrials.h.
|
inline |
Definition at line 68 of file AliHFMultiTrials.h.
|
inline |
Definition at line 72 of file AliHFMultiTrials.h.
|
inline |
Definition at line 73 of file AliHFMultiTrials.h.
|
inline |
Definition at line 74 of file AliHFMultiTrials.h.
|
inline |
Definition at line 75 of file AliHFMultiTrials.h.
|
inline |
Definition at line 76 of file AliHFMultiTrials.h.
|
inline |
Definition at line 77 of file AliHFMultiTrials.h.
|
private |
switch for saving bkg values in nsigma
Definition at line 149 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetDrawIndividualFits().
|
private |
name to characterize analysis case
Definition at line 131 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), SetUseChi2Fit(), SetUseLikelihoodWithWeightsFit(), and SetUseLogLikelihoodFit().
|
private |
template of reflection contribution
Definition at line 175 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetFixRefoS().
|
private |
histo with bkg from subsamples of trials
Definition at line 170 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bkg from all trials
Definition at line 158 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from subsamples of trials
Definition at line 169 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from all trials
Definition at line 157 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss mean from subsamples of trials
Definition at line 167 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss mean from all trials
Definition at line 155 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with gauss sigma from subsamples of trials
Definition at line 166 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss sigma from all trials
Definition at line 154 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from all trials
Definition at line 163 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), and DoMultiTrials().
|
private |
flag for drawing fits
Definition at line 151 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and DrawHistos().
|
private |
histo with bkg in mass bin edges from subsamples of trials
Definition at line 172 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bkg in mass bin edges from all trials
Definition at line 160 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from subsamples of trials
Definition at line 164 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from all trials
Definition at line 152 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with bin counts from subsamples of trials
Definition at line 173 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from all trials
Definition at line 161 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from subsamples of trials
Definition at line 165 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from all trials
Definition at line 153 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with chi2 from subsamples of trials
Definition at line 168 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from all trials
Definition at line 156 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from subsamples of trials
Definition at line 174 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), SetTemplateRefl(), and ~AliHFMultiTrials().
|
private |
Definition at line 115 of file AliHFMultiTrials.h.
Referenced by AddInvMassFitSaveAsFormat(), DisableInvMassFitSaveAs(), and DoMultiTrials().
|
private |
number of steps on the min. mass for fit
Definition at line 120 of file AliHFMultiTrials.h.
Referenced by ConfigureLowLimFitSteps(), DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
relative variation of the sigma
Definition at line 129 of file AliHFMultiTrials.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetMass().
|
private |
maximum yield
! Mass fitters
Definition at line 181 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
minimum yield
Definition at line 179 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), DrawHistos(), and GetGlobalMinMaxYield().
|
private |
tree
Definition at line 178 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), DrawHistos(), and GetGlobalMinMaxYield().
|
private |
number of steps on the bin counting
Definition at line 124 of file AliHFMultiTrials.h.
Referenced by ConfigurenSigmaBinCSteps(), and DoMultiTrials().
|
private |
Definition at line 125 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetSaveBkgValue().
|
private |
Definition at line 176 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
Definition at line 118 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SetNumOfFirstBinSteps().
|
private |
number of steps in the first bin for rebin
Definition at line 119 of file AliHFMultiTrials.h.
Referenced by ConfigureLowLimFitSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 123 of file AliHFMultiTrials.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 116 of file AliHFMultiTrials.h.
Referenced by ConfigureRebinSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 121 of file AliHFMultiTrials.h.
Referenced by ConfigureUpLimFitSteps(), CreateHistos(), and DoMultiTrials().
|
private |
number of rebin steps
Definition at line 117 of file AliHFMultiTrials.h.
Referenced by ConfigureRebinSteps(), DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
switch for FixSigFixMean
Definition at line 147 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), SaveToRoot(), and SetSaveBkgValue().
|
private |
Definition at line 127 of file AliHFMultiTrials.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetSigmaGaussMC().
|
private |
sigma of D meson peak from MC
Definition at line 128 of file AliHFMultiTrials.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetSigmaMCVariation().
|
private |
mass of D meson
Definition at line 130 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), and SetSuffixForHistoNames().
|
private |
number of steps on the max. mass for fit
Definition at line 122 of file AliHFMultiTrials.h.
Referenced by ConfigureUpLimFitSteps(), DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
LL or chi2 fit.
Definition at line 132 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseExpoBackground().
|
private |
switch for FreeSigma
Definition at line 143 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixedMeanFreeS().
|
private |
switch for FixSigUpFreeMean
Definition at line 141 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigDownFreeMean().
|
private |
switch for FixSigFreeMean
Definition at line 145 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigFixMean().
|
private |
switch for FixedMeanFreeS
Definition at line 144 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigFreeMean().
|
private |
switch for power law background
Definition at line 140 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigUpFreeMean().
|
private |
switch for FixSigDownFreeMean
Definition at line 142 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFreeS().
|
private |
switch for exponential background
Definition at line 133 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseLinBackground().
|
private |
switch for linear background
Definition at line 134 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol2Background().
|
private |
switch for pol2 background
Definition at line 135 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol3Background().
|
private |
switch for pol3 background
Definition at line 136 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol4Background().
|
private |
switch for pol4 background
Definition at line 137 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol5Background().
|
private |
switch for pol5 background
Definition at line 138 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePowerLawBackground().
|
private |
switch for power law background
Definition at line 139 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePowerLawTimesExpoBackground().