![]() |
AliPhysics
8c8cc25 (8c8cc25)
|
#include <AliHFMultiTrials.h>
Public Types | |
enum | EBkgFuncCases { kExpoBkg, kLinBkg, kPol2Bkg, kPol3Bkg, kPol4Bkg, kPol5Bkg, kNBkgFuncCases } |
enum | EFitParamCases { kFixSigFreeMean, kFixSigUpFreeMean, kFixSigDownFreeMean, kFreeSigFreeMean, kFixSigFixMean, kFreeSigFixMean, kNFitConfCases } |
Public Member Functions | |
AliHFMultiTrials () | |
virtual | ~AliHFMultiTrials () |
void | ConfigureRebinSteps (Int_t nSteps, Int_t *values) |
void | SetNumOfFirstBinSteps (Int_t nfst) |
void | ConfigureLowLimFitSteps (Int_t nSteps, Double_t *values) |
void | ConfigureUpLimFitSteps (Int_t nSteps, Double_t *values) |
void | ConfigurenSigmaBinCSteps (Int_t nSteps, Double_t *values) |
void | GetGlobalMinMaxYield (Double_t &min, Double_t &max) |
void | SetMass (Double_t mass) |
void | SetSigmaGaussMC (Double_t sig) |
void | SetSigmaMCVariation (Double_t var=0.15) |
void | SetSuffixForHistoNames (const Char_t *name) |
void | SetUseChi2Fit () |
void | SetUseLogLikelihoodFit () |
void | SetUseExpoBackground (Bool_t opt=kTRUE) |
void | SetUseLinBackground (Bool_t opt=kTRUE) |
void | SetUsePol2Background (Bool_t opt=kTRUE) |
void | SetUsePol3Background (Bool_t opt=kTRUE) |
void | SetUsePol4Background (Bool_t opt=kTRUE) |
void | SetUsePol5Background (Bool_t opt=kTRUE) |
void | SetUseFixSigUpFreeMean (Bool_t opt=kTRUE) |
void | SetUseFixSigDownFreeMean (Bool_t opt=kTRUE) |
void | SetUseFreeS (Bool_t opt=kTRUE) |
void | SetUseFixedMeanFreeS (Bool_t opt=kTRUE) |
void | SetUseFixSigFreeMean (Bool_t opt=kTRUE) |
void | SetUseFixSigFixMean (Bool_t opt=kTRUE) |
void | SetDrawIndividualFits (Bool_t opt=kTRUE) |
Bool_t | DoMultiTrials (TH1D *hInvMassHisto, TPad *thePad=0x0) |
void | SaveToRoot (TString fileName, TString option="recreate") const |
void | DrawHistos (TCanvas *cry) const |
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 | |
Int_t | fNumOfRebinSteps |
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 | 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 | fUseFixSigUpFreeMean |
switch for pol5 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 | fDrawIndividualFits |
switch for FixSigFixMean 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 * | fHistoRawYieldDistBinCAll |
histo with chi2 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 ** | fHistoRawYieldDistBinC |
histo with chi2 from subsamples of trials More... | |
TH2F ** | fHistoRawYieldTrialBinC |
histo with bin counts from subsamples of trials More... | |
TNtuple * | fNtupleMultiTrials |
histo with bin counts from subsamples of trials More... | |
Double_t | fMinYieldGlob |
tree More... | |
Double_t | fMaxYieldGlob |
minimum yield More... | |
Definition at line 12 of file AliHFMultiTrials.h.
Enumerator | |
---|---|
kExpoBkg | |
kLinBkg | |
kPol2Bkg | |
kPol3Bkg | |
kPol4Bkg | |
kPol5Bkg | |
kNBkgFuncCases |
Definition at line 84 of file AliHFMultiTrials.h.
Enumerator | |
---|---|
kFixSigFreeMean | |
kFixSigUpFreeMean | |
kFixSigDownFreeMean | |
kFreeSigFreeMean | |
kFixSigFixMean | |
kFreeSigFixMean | |
kNFitConfCases |
Definition at line 85 of file AliHFMultiTrials.h.
AliHFMultiTrials::AliHFMultiTrials | ( | ) |
Definition at line 35 of file AliHFMultiTrials.cxx.
|
virtual |
Definition at line 96 of file AliHFMultiTrials.cxx.
|
private |
|
private |
Definition at line 463 of file AliHFMultiTrials.cxx.
Referenced by DoMultiTrials().
|
inline |
Definition at line 29 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
|
inline |
Definition at line 43 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
|
inline |
Definition at line 18 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
|
inline |
Definition at line 36 of file AliHFMultiTrials.h.
Referenced by AliHFMultiTrials().
|
private |
Definition at line 104 of file AliHFMultiTrials.cxx.
Referenced by DoMultiTrials().
|
private |
Definition at line 478 of file AliHFMultiTrials.cxx.
Bool_t AliHFMultiTrials::DoMultiTrials | ( | TH1D * | hInvMassHisto, |
TPad * | thePad = 0x0 |
||
) |
Definition at line 159 of file AliHFMultiTrials.cxx.
void AliHFMultiTrials::DrawHistos | ( | TCanvas * | cry | ) | const |
Definition at line 391 of file AliHFMultiTrials.cxx.
|
inline |
Definition at line 50 of file AliHFMultiTrials.h.
|
private |
|
private |
Definition at line 420 of file AliHFMultiTrials.cxx.
Referenced by DoMultiTrials().
void AliHFMultiTrials::SaveToRoot | ( | TString | fileName, |
TString | option = "recreate" |
||
) | const |
Definition at line 365 of file AliHFMultiTrials.cxx.
|
inline |
Definition at line 78 of file AliHFMultiTrials.h.
|
inline |
Definition at line 55 of file AliHFMultiTrials.h.
|
inline |
Definition at line 25 of file AliHFMultiTrials.h.
|
inline |
Definition at line 56 of file AliHFMultiTrials.h.
|
inline |
Definition at line 57 of file AliHFMultiTrials.h.
|
inline |
Definition at line 59 of file AliHFMultiTrials.h.
|
inline |
Definition at line 62 of file AliHFMultiTrials.h.
|
inline |
Definition at line 64 of file AliHFMultiTrials.h.
|
inline |
Definition at line 74 of file AliHFMultiTrials.h.
|
inline |
Definition at line 72 of file AliHFMultiTrials.h.
|
inline |
Definition at line 76 of file AliHFMultiTrials.h.
|
inline |
Definition at line 75 of file AliHFMultiTrials.h.
|
inline |
Definition at line 71 of file AliHFMultiTrials.h.
|
inline |
Definition at line 73 of file AliHFMultiTrials.h.
|
inline |
Definition at line 65 of file AliHFMultiTrials.h.
|
inline |
Definition at line 63 of file AliHFMultiTrials.h.
|
inline |
Definition at line 66 of file AliHFMultiTrials.h.
|
inline |
Definition at line 67 of file AliHFMultiTrials.h.
|
inline |
Definition at line 68 of file AliHFMultiTrials.h.
|
inline |
Definition at line 69 of file AliHFMultiTrials.h.
|
private |
switch for FixSigFixMean
Definition at line 126 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetDrawIndividualFits().
|
private |
name to characterize analysis case
Definition at line 112 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), SetUseChi2Fit(), and SetUseLogLikelihoodFit().
|
private |
histo with gauss mean from subsamples of trials
Definition at line 142 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss mean from all trials
Definition at line 132 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with gauss sigma from subsamples of trials
Definition at line 141 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with gauss sigma from all trials
Definition at line 131 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from all trials
Definition at line 138 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), and DoMultiTrials().
|
private |
flag for drawing fits
Definition at line 128 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and DrawHistos().
|
private |
histo with chi2 from subsamples of trials
Definition at line 145 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from all trials
Definition at line 135 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from subsamples of trials
Definition at line 139 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from all trials
Definition at line 129 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with bin counts from subsamples of trials
Definition at line 146 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with bin counts from all trials
Definition at line 136 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from subsamples of trials
Definition at line 140 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with yield from all trials
Definition at line 130 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), DrawHistos(), and SaveToRoot().
|
private |
histo with chi2 from subsamples of trials
Definition at line 143 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
histo with chi2 from all trials
Definition at line 133 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
number of steps on the min. mass for fit
Definition at line 102 of file AliHFMultiTrials.h.
Referenced by ConfigureLowLimFitSteps(), DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
relative variation of the sigma
Definition at line 110 of file AliHFMultiTrials.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetMass().
|
private |
minimum yield
Definition at line 151 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), DrawHistos(), and GetGlobalMinMaxYield().
|
private |
tree
Definition at line 150 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), DrawHistos(), and GetGlobalMinMaxYield().
|
private |
number of steps on the bin counting
Definition at line 106 of file AliHFMultiTrials.h.
Referenced by ConfigurenSigmaBinCSteps(), and DoMultiTrials().
|
private |
histo with bin counts from subsamples of trials
Definition at line 148 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SaveToRoot().
|
private |
Definition at line 100 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), DoMultiTrials(), and SetNumOfFirstBinSteps().
|
private |
number of steps in the first bin for rebin
Definition at line 101 of file AliHFMultiTrials.h.
Referenced by ConfigureLowLimFitSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 105 of file AliHFMultiTrials.h.
Referenced by ConfigurenSigmaBinCSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 98 of file AliHFMultiTrials.h.
Referenced by ConfigureRebinSteps(), CreateHistos(), and DoMultiTrials().
|
private |
Definition at line 103 of file AliHFMultiTrials.h.
Referenced by ConfigureUpLimFitSteps(), CreateHistos(), and DoMultiTrials().
|
private |
number of rebin steps
Definition at line 99 of file AliHFMultiTrials.h.
Referenced by ConfigureRebinSteps(), DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
Definition at line 108 of file AliHFMultiTrials.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetSigmaGaussMC().
|
private |
sigma of D meson peak from MC
Definition at line 109 of file AliHFMultiTrials.h.
Referenced by DoFitWithPol3Bkg(), DoMultiTrials(), and SetSigmaMCVariation().
|
private |
mass of D meson
Definition at line 111 of file AliHFMultiTrials.h.
Referenced by CreateHistos(), and SetSuffixForHistoNames().
|
private |
number of steps on the max. mass for fit
Definition at line 104 of file AliHFMultiTrials.h.
Referenced by ConfigureUpLimFitSteps(), DoMultiTrials(), and ~AliHFMultiTrials().
|
private |
LL or chi2 fit.
Definition at line 113 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseExpoBackground().
|
private |
switch for FreeSigma
Definition at line 122 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixedMeanFreeS().
|
private |
switch for FixSigUpFreeMean
Definition at line 120 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigDownFreeMean().
|
private |
switch for FixSigFreeMean
Definition at line 124 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigFixMean().
|
private |
switch for FixedMeanFreeS
Definition at line 123 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigFreeMean().
|
private |
switch for pol5 background
Definition at line 119 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFixSigUpFreeMean().
|
private |
switch for FixSigDownFreeMean
Definition at line 121 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseFreeS().
|
private |
switch for exponential background
Definition at line 114 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUseLinBackground().
|
private |
switch for linear background
Definition at line 115 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol2Background().
|
private |
switch for pol2 background
Definition at line 116 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol3Background().
|
private |
switch for pol3 background
Definition at line 117 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol4Background().
|
private |
switch for pol4 background
Definition at line 118 of file AliHFMultiTrials.h.
Referenced by DoMultiTrials(), and SetUsePol5Background().