AliPhysics  b97afa6 (b97afa6)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliVertexingHFUtils Class Reference

Class with functions useful for different D2H analyses //. More...

#include <AliVertexingHFUtils.h>

Inheritance diagram for AliVertexingHFUtils:

Public Member Functions

 AliVertexingHFUtils ()
 
 AliVertexingHFUtils (Int_t k)
 
virtual ~AliVertexingHFUtils ()
 
void SetK (Int_t k)
 Functions for Event plane resolution. More...
 
void SetSubEvResol (Double_t res)
 
void SetSubEventHisto (const TH1F *hSub)
 
Int_t GetK () const
 
Double_t GetSubEvResol () const
 
Double_t Pol (Double_t x) const
 
Double_t FindChi () const
 
Double_t GetFullEvResol () const
 
Bool_t IsTrackInjected (AliAODTrack *track, AliAODMCHeader *header, TClonesArray *arrayMC)
 
void GetTrackPrimaryGenerator (AliAODTrack *track, AliAODMCHeader *header, TClonesArray *arrayMC, TString &nameGen)
 
Bool_t IsCandidateInjected (AliAODRecoDecayHF *cand, AliAODMCHeader *header, TClonesArray *arrayMC)
 
Bool_t HasCascadeCandidateAnyDaughInjected (AliAODRecoCascadeHF *cand, AliAODMCHeader *header, TClonesArray *arrayMC)
 
void SetEtaRangeForTracklets (Double_t mineta, Double_t maxeta)
 Functions for tracklet multiplcity calculation. More...
 
Int_t GetNumberOfTrackletsInEtaRange (AliAODEvent *ev) const
 

Static Public Member Functions

static void ComputeSignificance (Double_t signal, Double_t errsignal, Double_t background, Double_t errbackground, Double_t &significance, Double_t &errsignificance)
 Significance calculator. More...
 
static Double_t FindChi (Double_t res, Int_t k=1)
 
static Double_t Pol (Double_t x, Int_t k)
 
static Double_t ResolK1 (Double_t x)
 
static Double_t GetSubEvResol (const TH1F *hSubEvCorr)
 
static Double_t GetSubEvResolLowLim (const TH1F *hSubEvCorr)
 
static Double_t GetSubEvResolHighLim (const TH1F *hSubEvCorr)
 
static Double_t GetFullEvResol (Double_t resSub, Int_t k=1)
 
static Double_t GetFullEvResol (const TH1F *hSubEvCorr, Int_t k=1)
 
static Double_t GetFullEvResolLowLim (const TH1F *hSubEvCorr, Int_t k=1)
 
static Double_t GetFullEvResolHighLim (const TH1F *hSubEvCorr, Int_t k=1)
 
static TString GetGenerator (Int_t label, AliAODMCHeader *header)
 
static Int_t GetNumberOfTrackletsInEtaRange (AliAODEvent *ev, Double_t mineta, Double_t maxeta)
 
static Int_t GetGeneratedMultiplicityInEtaRange (TClonesArray *arrayMC, Double_t mineta, Double_t maxeta)
 
static Int_t GetGeneratedPrimariesInEtaRange (TClonesArray *arrayMC, Double_t mineta, Double_t maxeta)
 
static Int_t GetGeneratedPhysicalPrimariesInEtaRange (TClonesArray *arrayMC, Double_t mineta, Double_t maxeta)
 
static void GetSpherocity (AliAODEvent *aod, Double_t &spherocity, Double_t &phiRef, Double_t etaMin=-0.8, Double_t etaMax=0.8, Double_t ptMin=0.15, Double_t ptMax=10., Int_t filtbit1=256, Int_t filtbit2=512, Int_t minMult=3, Double_t phiStepSizeDeg=0.1, Int_t nTrksToSkip=0, Int_t *idToSkip=0x0)
 Functions for event shape variables. More...
 
static void GetGeneratedSpherocity (TClonesArray *arrayMC, Double_t &spherocity, Double_t &phiRef, Double_t etaMin=-0.8, Double_t etaMax=0.8, Double_t ptMin=0.15, Double_t ptMax=10., Int_t minMult=3, Double_t phiStepSizeDeg=0.1)
 
static Double_t GetSphericity (AliAODEvent *aod, Double_t etaMin=-0.8, Double_t etaMax=0.8, Double_t ptMin=0.15, Double_t ptMax=10., Int_t filtbit1=256, Int_t filtbit2=512, Int_t minMult=3)
 
static Double_t GetVZEROAEqualizedMultiplicity (AliAODEvent *ev)
 Utilities for V0 multiplicity checks. More...
 
static Double_t GetVZEROCEqualizedMultiplicity (AliAODEvent *ev)
 
static void AveragePt (Float_t &averagePt, Float_t &errorPt, Float_t ptmin, Float_t ptmax, TH2F *hMassD, Float_t massFromFit, Float_t sigmaFromFit, TF1 *funcB2, Float_t sigmaRangeForSig=2.5, Float_t sigmaRangeForBkg=4.5, Float_t minMass=0., Float_t maxMass=3., Int_t rebin=1)
 Functions for computing average pt. More...
 
static Bool_t CheckT0TriggerFired (AliAODEvent *aodEv)
 Functions for processing trigger information. More...
 
static TH1DRebinHisto (TH1 *hOrig, Int_t reb, Int_t firstUse=-1)
 Rebinning of invariant mass histograms. More...
 
static TH1AdaptTemplateRangeAndBinning (const TH1 *hRef, TH1 *hData, Double_t minFit, Double_t maxFit)
 
static Double_t GetTrueImpactParameterDzero (AliAODMCHeader *mcHeader, TClonesArray *arrayMC, AliAODMCParticle *partDp)
 Functions for computing true impact parameter of D meson. More...
 
static Double_t GetTrueImpactParameterDplus (AliAODMCHeader *mcHeader, TClonesArray *arrayMC, AliAODMCParticle *partDp)
 
static Double_t GetCorrectedNtracklets (TProfile *estimatorAvg, Double_t uncorrectedNacc, Double_t vtxZ, Double_t refMult)
 
static Int_t CheckOrigin (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Bool_t searchUpToQuark=kTRUE)
 Functions to check the decay tree. More...
 
static Int_t CheckOrigin (AliMCEvent *mcEvent, TParticle *mcPart, Bool_t searchUpToQuark=kTRUE)
 
static Double_t GetBeautyMotherPt (TClonesArray *arrayMC, AliAODMCParticle *mcPart)
 
static Int_t CheckD0Decay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckD0Decay (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Int_t *arrayDauLab)
 
static Int_t CheckDplusDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckDplusDecay (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Int_t *arrayDauLab)
 
static Int_t CheckDplusKKpiDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckDplusKKpiDecay (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Int_t *arrayDauLab)
 
static Int_t CheckDplusK0spiDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckDsDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckDsDecay (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Int_t *arrayDauLab)
 
static Int_t CheckDsK0sKDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckDstarDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckDstarDecay (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Int_t *arrayDauLab)
 
static Int_t CheckLcpKpiDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckLcpKpiDecay (TClonesArray *arrayMC, AliAODMCParticle *mcPart, Int_t *arrayDauLab)
 
static Int_t CheckLcV0bachelorDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 
static Int_t CheckXicXipipiDecay (AliMCEvent *mcEvent, Int_t label, Int_t *arrayDauLab)
 

Private Attributes

Int_t fK
 
Double_t fSubRes
 ratio of measured harmonic to event plane harmonic More...
 
Double_t fMinEtaForTracklets
 sub-event resolution = sqrt(<cos[n(phiA-phiB)] >) More...
 
Double_t fMaxEtaForTracklets
 min eta for counting tracklets More...
 

Detailed Description

Class with functions useful for different D2H analyses //.

//

Definition at line 36 of file AliVertexingHFUtils.h.

Constructor & Destructor Documentation

AliVertexingHFUtils::AliVertexingHFUtils ( )

Default contructor

Definition at line 50 of file AliVertexingHFUtils.cxx.

AliVertexingHFUtils::AliVertexingHFUtils ( Int_t  k)

Standard constructor

Definition at line 61 of file AliVertexingHFUtils.cxx.

virtual AliVertexingHFUtils::~AliVertexingHFUtils ( )
inlinevirtual

Definition at line 40 of file AliVertexingHFUtils.h.

Member Function Documentation

TH1 * AliVertexingHFUtils::AdaptTemplateRangeAndBinning ( const TH1 hRef,
TH1 hData,
Double_t  minFit,
Double_t  maxFit 
)
static

Adapt the MC histograms (for signal and reflections) to the binning of the data histogram

Definition at line 2343 of file AliVertexingHFUtils.cxx.

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

void AliVertexingHFUtils::AveragePt ( Float_t averagePt,
Float_t errorPt,
Float_t  ptmin,
Float_t  ptmax,
TH2F hMassD,
Float_t  massFromFit,
Float_t  sigmaFromFit,
TF1 *  funcB2,
Float_t  sigmaRangeForSig = 2.5,
Float_t  sigmaRangeForBkg = 4.5,
Float_t  minMass = 0.,
Float_t  maxMass = 3.,
Int_t  rebin = 1 
)
static

Functions for computing average pt.

Compute <pt> from 2D histogram M vs pt

Definition at line 277 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckD0Decay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static
Int_t AliVertexingHFUtils::CheckD0Decay ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Int_t arrayDauLab 
)
static

Checks the D0 decay channel. Returns 1 for the D0->Kpi case, 2 for the D0->Kpipipi case, -1 in other cases

Definition at line 807 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckDplusDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static
Int_t AliVertexingHFUtils::CheckDplusDecay ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Int_t arrayDauLab 
)
static

Checks the Dplus decay channel. Returns 1 for the non-resonant case, 2 for the resonant case, -1 in other cases

Definition at line 1001 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckDplusK0spiDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Dplus->V0+pion decay channel. Returns 1 if success, -1 otherwise

Definition at line 1261 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckDplusKKpiDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Ds decay channel. Returns 1 for Ds->phipi->KKpi, 2 for Ds->K0*K->KKpi, 3 for the non-resonant case

Definition at line 1085 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDs::FillMCGenAccHistos(), and AliAnalysisTaskCheckHFMCProd::UserExec().

Int_t AliVertexingHFUtils::CheckDplusKKpiDecay ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Int_t arrayDauLab 
)
static

Checks the D+ decay channel. Returns 1 for D+->phipi->KKpi, 2 for D+->K0*K->KKpi, 3 for the non-resonant case

Definition at line 1174 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckDsDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Ds decay channel. Returns 1 for Ds->phipi->KKpi, 2 for Ds->K0*K->KKpi, 3 for the non-resonant case

Definition at line 1339 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskCombinHF::FillGenHistos(), AliAnalysisTaskDmesonMCPerform::FillGenLevelHistos(), AliAnalysisTaskSEDs::FillMCGenAccHistos(), AliAnalysisTaskSEDvsEventShapes::FillMCGenAccHistos(), and AliAnalysisTaskCheckHFMCProd::UserExec().

Int_t AliVertexingHFUtils::CheckDsDecay ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Int_t arrayDauLab 
)
static

Checks the Ds decay channel. Returns 1 for Ds->phipi->KKpi, 2 for Ds->K0*K->KKpi, 3 for the non-resonant case

Definition at line 1515 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckDsK0sKDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Ds->K0s+S decay channel. Returns 1 in case of success, otherwise -1

Definition at line 1428 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckDstarDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Dstar decay channel. Returns 1 for D*->D0pi->Kpipi, -1 in other cases

Definition at line 1602 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskDmesonMCPerform::FillGenLevelHistos(), AliAnalysisTaskSEDvsEventShapes::FillMCGenAccHistos(), and AliAnalysisTaskCheckHFMCProd::UserExec().

Int_t AliVertexingHFUtils::CheckDstarDecay ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Int_t arrayDauLab 
)
static

Checks the Dstar decay channel. Returns 1 for D*->D0pi->Kpipi, -1 in other cases

Definition at line 1677 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckLcpKpiDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Lc->pKpi decay channel. Returns 1 for non-resonant decays and 2, 3 or 4 for resonant ones, -1 in other cases

Definition at line 1750 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskDmesonMCPerform::FillGenLevelHistos(), and AliAnalysisTaskCheckHFMCProd::UserExec().

Int_t AliVertexingHFUtils::CheckLcpKpiDecay ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Int_t arrayDauLab 
)
static

Checks the Lc->pKpi decay channel. Returns 1 for non-resonant decays and 2, 3 or 4 for resonant ones, -1 in other cases

Definition at line 1854 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckLcV0bachelorDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Lc->V0+bachelor decay channel. Returns 1 for pK0s, 2 for piLambda, 3 for pK0l -1 in other cases

Definition at line 1955 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskCheckHFMCProd::UserExec().

Int_t AliVertexingHFUtils::CheckOrigin ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart,
Bool_t  searchUpToQuark = kTRUE 
)
static
Int_t AliVertexingHFUtils::CheckOrigin ( AliMCEvent *  mcEvent,
TParticle *  mcPart,
Bool_t  searchUpToQuark = kTRUE 
)
static

checking whether the mother of the particles come from a charm or a bottom quark

Definition at line 605 of file AliVertexingHFUtils.cxx.

Bool_t AliVertexingHFUtils::CheckT0TriggerFired ( AliAODEvent aodEv)
static

Functions for processing trigger information.

check if T0VTX trigger was fired, based on a workaround suggested by Alla

Definition at line 354 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::CheckXicXipipiDecay ( AliMCEvent *  mcEvent,
Int_t  label,
Int_t arrayDauLab 
)
static

Checks the Xic decay channel. Returns 1 for Xic->Xipipi, -1 in other cases

Definition at line 2050 of file AliVertexingHFUtils.cxx.

void AliVertexingHFUtils::ComputeSignificance ( Double_t  signal,
Double_t  errsignal,
Double_t  background,
Double_t  errbackground,
Double_t significance,
Double_t errsignificance 
)
static
Double_t AliVertexingHFUtils::FindChi ( ) const
inline

Definition at line 54 of file AliVertexingHFUtils.h.

Referenced by FindChi(), and GetFullEvResol().

Double_t AliVertexingHFUtils::FindChi ( Double_t  res,
Int_t  k = 1 
)
static

compute chi variable (=v2*sqrt(N)) from external values

Definition at line 111 of file AliVertexingHFUtils.cxx.

Double_t AliVertexingHFUtils::GetBeautyMotherPt ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart 
)
static
Double_t AliVertexingHFUtils::GetFullEvResol ( ) const
inline
Double_t AliVertexingHFUtils::GetFullEvResol ( Double_t  resSub,
Int_t  k = 1 
)
static

computes event plane resolution starting from sub event resolution

Definition at line 154 of file AliVertexingHFUtils.cxx.

Double_t AliVertexingHFUtils::GetFullEvResol ( const TH1F *  hSubEvCorr,
Int_t  k = 1 
)
static

computes event plane resolution starting from sub event correlation histogram

Definition at line 167 of file AliVertexingHFUtils.cxx.

Double_t AliVertexingHFUtils::GetFullEvResolHighLim ( const TH1F *  hSubEvCorr,
Int_t  k = 1 
)
static

computes high limit event plane resolution starting from sub event correlation histogram

Definition at line 182 of file AliVertexingHFUtils.cxx.

Double_t AliVertexingHFUtils::GetFullEvResolLowLim ( const TH1F *  hSubEvCorr,
Int_t  k = 1 
)
static

computes low limit event plane resolution starting from sub event correlation histogram

Definition at line 174 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::GetGeneratedMultiplicityInEtaRange ( TClonesArray *  arrayMC,
Double_t  mineta,
Double_t  maxeta 
)
static

counts generated particles in fgiven eta range

Definition at line 203 of file AliVertexingHFUtils.cxx.

Int_t AliVertexingHFUtils::GetGeneratedPhysicalPrimariesInEtaRange ( TClonesArray *  arrayMC,
Double_t  mineta,
Double_t  maxeta 
)
static

counts generated primary particles in given eta range

Definition at line 231 of file AliVertexingHFUtils.cxx.

Referenced by AliCFTaskVertexingHFCutVarFDSub::UserExec(), and AliCFTaskVertexingHF::UserExec().

Int_t AliVertexingHFUtils::GetGeneratedPrimariesInEtaRange ( TClonesArray *  arrayMC,
Double_t  mineta,
Double_t  maxeta 
)
static

counts generated primary particles in given eta range

Definition at line 216 of file AliVertexingHFUtils.cxx.

void AliVertexingHFUtils::GetGeneratedSpherocity ( TClonesArray *  arrayMC,
Double_t spherocity,
Double_t phiRef,
Double_t  etaMin = -0.8,
Double_t  etaMax = 0.8,
Double_t  ptMin = 0.15,
Double_t  ptMax = 10.,
Int_t  minMult = 3,
Double_t  phiStepSizeDeg = 0.1 
)
static

compute generated spherocity

Definition at line 2235 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::UserExec().

TString AliVertexingHFUtils::GetGenerator ( Int_t  label,
AliAODMCHeader *  header 
)
static

get the name of the generator that produced a given particle

Definition at line 515 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDmesonsFilterCJ::GetMCTrackPrimaryGenerator(), GetTrackPrimaryGenerator(), and AliAnalysisTaskSEDmesonsFilterCJ::GetTrackPrimaryGenerator().

Int_t AliVertexingHFUtils::GetK ( ) const
inline

Definition at line 51 of file AliVertexingHFUtils.h.

Int_t AliVertexingHFUtils::GetNumberOfTrackletsInEtaRange ( AliAODEvent ev) const
inline

Definition at line 86 of file AliVertexingHFUtils.h.

Double_t AliVertexingHFUtils::GetSphericity ( AliAODEvent aod,
Double_t  etaMin = -0.8,
Double_t  etaMax = 0.8,
Double_t  ptMin = 0.15,
Double_t  ptMax = 10.,
Int_t  filtbit1 = 256,
Int_t  filtbit2 = 512,
Int_t  minMult = 3 
)
static

compute sphericity

Definition at line 2104 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::UserExec().

void AliVertexingHFUtils::GetSpherocity ( AliAODEvent aod,
Double_t spherocity,
Double_t phiRef,
Double_t  etaMin = -0.8,
Double_t  etaMax = 0.8,
Double_t  ptMin = 0.15,
Double_t  ptMax = 10.,
Int_t  filtbit1 = 256,
Int_t  filtbit2 = 512,
Int_t  minMult = 3,
Double_t  phiStepSizeDeg = 0.1,
Int_t  nTrksToSkip = 0,
Int_t idToSkip = 0x0 
)
static

Functions for event shape variables.

compute spherocity

Definition at line 2161 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::FillMCGenAccHistos(), and AliAnalysisTaskSEDvsEventShapes::UserExec().

Double_t AliVertexingHFUtils::GetSubEvResol ( ) const
inline

Definition at line 52 of file AliVertexingHFUtils.h.

Referenced by GetFullEvResol(), and SetSubEventHisto().

static Double_t AliVertexingHFUtils::GetSubEvResol ( const TH1F *  hSubEvCorr)
inlinestatic

Definition at line 59 of file AliVertexingHFUtils.h.

static Double_t AliVertexingHFUtils::GetSubEvResolHighLim ( const TH1F *  hSubEvCorr)
inlinestatic

Definition at line 67 of file AliVertexingHFUtils.h.

Referenced by GetFullEvResolHighLim().

static Double_t AliVertexingHFUtils::GetSubEvResolLowLim ( const TH1F *  hSubEvCorr)
inlinestatic

Definition at line 63 of file AliVertexingHFUtils.h.

Referenced by GetFullEvResolLowLim().

void AliVertexingHFUtils::GetTrackPrimaryGenerator ( AliAODTrack *  track,
AliAODMCHeader *  header,
TClonesArray *  arrayMC,
TString nameGen 
)

method to check if a track comes from a given generator

Definition at line 532 of file AliVertexingHFUtils.cxx.

Referenced by IsTrackInjected(), and AliAnalysisTaskSECharmFraction::UserExec().

Double_t AliVertexingHFUtils::GetTrueImpactParameterDplus ( AliAODMCHeader *  mcHeader,
TClonesArray *  arrayMC,
AliAODMCParticle *  partDp 
)
static

true impact parameter calculation for Dplus

Definition at line 404 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::UserExec(), and AliAnalysisTaskSEDvsMultiplicity::UserExec().

Double_t AliVertexingHFUtils::GetTrueImpactParameterDzero ( AliAODMCHeader *  mcHeader,
TClonesArray *  arrayMC,
AliAODMCParticle *  partDp 
)
static

Functions for computing true impact parameter of D meson.

true impact parameter calculation for Dzero

Definition at line 361 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::UserExec(), and AliAnalysisTaskSEDvsMultiplicity::UserExec().

Double_t AliVertexingHFUtils::GetVZEROAEqualizedMultiplicity ( AliAODEvent ev)
static

Utilities for V0 multiplicity checks.

Method to get VZERO-A equalized multiplicty as done in AliCentralitySelectionTask getting the equalized VZERO factors from the tender or AOD

Definition at line 248 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::UserExec(), and AliAnalysisTaskSEDvsMultiplicity::UserExec().

Double_t AliVertexingHFUtils::GetVZEROCEqualizedMultiplicity ( AliAODEvent ev)
static

Method to get VZERO-C equalized multiplicty as done in AliCentralitySelectionTask getting the equalized VZERO factors from the tender or AOD http://git.cern.ch/pubweb/AliRoot.git/blob/HEAD:/ANALYSIS/AliCentralitySelectionTask.cxx#l1345

Definition at line 263 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSEDvsEventShapes::UserExec(), and AliAnalysisTaskSEDvsMultiplicity::UserExec().

Bool_t AliVertexingHFUtils::HasCascadeCandidateAnyDaughInjected ( AliAODRecoCascadeHF cand,
AliAODMCHeader *  header,
TClonesArray *  arrayMC 
)

method to check if a cascade candidate comes from the signal event or from the underlying Hijing event

Definition at line 585 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSELc2V0bachelorTMVA::MakeAnalysisForLc2prK0S().

Bool_t AliVertexingHFUtils::IsCandidateInjected ( AliAODRecoDecayHF cand,
AliAODMCHeader *  header,
TClonesArray *  arrayMC 
)

method to check if a D meson candidate comes from the signal event or from the underlying Hijing event

Definition at line 574 of file AliVertexingHFUtils.cxx.

Referenced by AliAnalysisTaskSELambdacTMVA::FillMassHists(), AliAnalysisTaskSELambdacTMVA::FillNtuple(), AliAnalysisTaskSELambdacTMVA::FillRecoNtuple(), AliAnalysisTaskSELambdac::FillVarHists(), and AliAnalysisTaskSECharmFraction::UserExec().

Bool_t AliVertexingHFUtils::IsTrackInjected ( AliAODTrack *  track,
AliAODMCHeader *  header,
TClonesArray *  arrayMC 
)

method to check if a track comes from the signal event or from the underlying Hijing event

Definition at line 564 of file AliVertexingHFUtils.cxx.

Referenced by HasCascadeCandidateAnyDaughInjected(), and IsCandidateInjected().

Double_t AliVertexingHFUtils::Pol ( Double_t  x) const
inline

Definition at line 53 of file AliVertexingHFUtils.h.

Referenced by FindChi(), GetFullEvResol(), and Pol().

Double_t AliVertexingHFUtils::Pol ( Double_t  x,
Int_t  k 
)
static

compute chi from polynomial approximation

Definition at line 91 of file AliVertexingHFUtils.cxx.

TH1D * AliVertexingHFUtils::RebinHisto ( TH1 hOrig,
Int_t  reb,
Int_t  firstUse = -1 
)
static

Rebinning of invariant mass histograms.

Rebin histogram, from bin firstUse to lastUse Use all bins if firstUse=-1 If ngroup is not an exact divider of the number of bins, the bin width is kept as reb*original width and the range of rebinned histogram is adapted

Definition at line 2299 of file AliVertexingHFUtils.cxx.

Referenced by AliHFInvMassMultiTrialFit::DoMultiTrials(), FitMassSpectra(), and ProjectCombinHFAndFit().

Double_t AliVertexingHFUtils::ResolK1 ( Double_t  x)
static

Definition at line 105 of file AliVertexingHFUtils.cxx.

Referenced by FindChi(), and GetFullEvResol().

void AliVertexingHFUtils::SetEtaRangeForTracklets ( Double_t  mineta,
Double_t  maxeta 
)
inline

Functions for tracklet multiplcity calculation.

Definition at line 81 of file AliVertexingHFUtils.h.

void AliVertexingHFUtils::SetK ( Int_t  k)
inline

Functions for Event plane resolution.

Definition at line 46 of file AliVertexingHFUtils.h.

void AliVertexingHFUtils::SetSubEventHisto ( const TH1F *  hSub)
inline

Definition at line 48 of file AliVertexingHFUtils.h.

void AliVertexingHFUtils::SetSubEvResol ( Double_t  res)
inline

Definition at line 47 of file AliVertexingHFUtils.h.

Member Data Documentation

Int_t AliVertexingHFUtils::fK
private

Definition at line 157 of file AliVertexingHFUtils.h.

Referenced by FindChi(), GetFullEvResol(), GetK(), Pol(), and SetK().

Double_t AliVertexingHFUtils::fMaxEtaForTracklets
private

min eta for counting tracklets

Definition at line 160 of file AliVertexingHFUtils.h.

Referenced by GetNumberOfTrackletsInEtaRange(), and SetEtaRangeForTracklets().

Double_t AliVertexingHFUtils::fMinEtaForTracklets
private

sub-event resolution = sqrt(<cos[n(phiA-phiB)] >)

Definition at line 159 of file AliVertexingHFUtils.h.

Referenced by GetNumberOfTrackletsInEtaRange(), and SetEtaRangeForTracklets().

Double_t AliVertexingHFUtils::fSubRes
private

ratio of measured harmonic to event plane harmonic

Definition at line 158 of file AliVertexingHFUtils.h.

Referenced by FindChi(), GetFullEvResol(), GetSubEvResol(), SetSubEventHisto(), and SetSubEvResol().


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