ROOT logo
AliRoot » PWGHF » VERTEXINGHF » AliCFVertexingHF

class AliCFVertexingHF: public TObject

 Class for HF corrections as a function of many variables and step
 Author : C. Zampolli, CERN
 D. Caffarri, Univ & INFN Padova caffarri@pd.infn.it
 Base class for HF Unfolding - agrelli@uu.nl

Function Members (Methods)

public:
AliCFVertexingHF()
AliCFVertexingHF(const AliCFVertexingHF& c)
AliCFVertexingHF(TClonesArray* mcArray, UShort_t originDselection)
virtual~AliCFVertexingHF()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tCheckMCChannelDecay() const
Bool_tCheckMCDaughters() const
Bool_tCheckMCPartFamily(AliAODMCParticle*, TClonesArray*) const
Int_tCheckOrigin() const
Int_tCheckReflexion(Char_t isSign)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
Bool_tFillMCContainer(Double_t* containerInputMC)
Bool_tFillRecoContainer(Double_t* containerInput)
Bool_tFillUnfoldingMatrix(UInt_t pdg, Double_t* fill) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
UShort_tGetDselection()
static Long_tTObject::GetDtorOnly()
virtual Double_tGetEtaProng(Int_t iProng) const
Int_tGetFakeSelection()
Bool_tGetFillFromGenerated() const
virtual Bool_tGetGeneratedValuesFromMCParticle(Double_t*)
virtual const char*TObject::GetIconName() const
Int_tGetMCLabel() const
virtual const char*TObject::GetName() const
Int_tGetNProngs() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetPtCand() const
virtual Double_tGetPtProng(Int_t iProng) const
virtual Bool_tGetRecoValuesFromCandidate(Double_t*) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetYCand(UInt_t pdg) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
Bool_tMCAcceptanceStep() const
Int_tMCcquarkCounting(AliAODMCParticle* mcPart) const
Bool_tMCRefitStep(AliAODEvent* aodEvent, AliESDtrackCuts** trackCuts) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AliCFVertexingHF&operator=(const AliCFVertexingHF& c)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
Bool_tRecoAcceptStep(AliESDtrackCuts** trackCuts) const
Bool_tRecoStep()
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
virtual voidSetAccCut()
virtual voidSetAccCut(Float_t* ptAccCut, Float_t* etaAccCut)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetCentralityValue(Float_t centValue)
voidSetConfiguration(Int_t configuration)
virtual voidSetDecay3Prong(Int_t)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
voidSetDselection(UShort_t originDselection)
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetEtaAccCut(Float_t* etaAccCut)
voidSetFakeSelection(Int_t fakeSel)
voidSetFillFromGenerated(Bool_t flag)
virtual voidSetGeneratedDsOption(Int_t)
virtual Bool_tSetLabelArray()
voidSetMCCandidateParam(Int_t label)
voidSetMCLabel(Int_t mcLabel)
voidSetMCPrimaryVertex(Double_t zMCVertex)
voidSetMultiplicity(Double_t multiplicity)
voidSetNProngs(Int_t nProngs)
voidSetNVar(Int_t nVar)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetPtAccCut(Float_t* ptAccCut)
virtual Bool_tSetRecoCandidateParam(AliAODRecoDecayHF*)
voidSetRecoPrimVertex(Double_t zPrimVertex)
voidSetRejectCandidateIfNotFromQuark(Bool_t opt)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum DecayChannel { kD0toKpi
kDStartoKpipi
kLctoV0bachelor
kDplustoKpipi
kLctopKpi
kDstoKKpi
kD0toKpipipi
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Float_tfCentValuecentrality value
Int_tfConfigurationconfiguration (slow / fast) of the CF --> different variables will be allocated (all / reduced number)
Float_t*fEtaAccCut[fProngs] array of eta (absolute value) cut values for the Acceptance (MC+Rec) steps
Float_tfFakevariable to indicate whether the D0 was a fake or not: 0 --> fake, 1 --> MC, 2 --> non-fake
Int_tfFakeSelectionfakes selection: 0 --> all, 1 --> non-fake, 2 --> fake
Bool_tfFillFromGeneratedflag to indicate whether data container should be filled
Bool_tfKeepDfromBflag for the feed down from b quark decay.
Bool_tfKeepDfromBOnlyflag to keep only the charm particles that comes from beauty decays
Int_t*fLabelArray[fProngs] array of labels
Double_tfMultiplicitymultiplicity of the event
Int_tfNDaughters
Int_tfNVarget Number of variables for the container from the channel decay
UShort_tfOriginDselectionflag to select D0 origins. 0 Only from charm 1 only from beauty 2 both from charm and beauty
Int_tfProngsn. of prongs
Float_t*fPtAccCut[fProngs] array of pt cut values for the Acceptance (MC+Rec) steps
AliAODRecoDecayHF*fRecoCandidateReconstructed HF candidate
Bool_tfRejectIfNoQuarkflag to remove events not geenrated with PYTHIA
TClonesArray*fmcArraymcArray candidate
Int_tfmcLabelresults of the MatchToMC()
AliAODMCParticle*fmcPartCandidate
Double_tfzMCVertexMC z primary vertex
Double_tfzPrimVertexReco z primary vertex

Class Charts

Inheritance Chart:
TObject
AliCFVertexingHF
AliCFVertexingHF2Prong
AliCFVertexingHF3Prong
AliCFVertexingHFCascade
AliCFVertexingHFLctoV0bachelor

Function documentation

AliCFVertexingHF()
 constructor

AliCFVertexingHF(TClonesArray* mcArray, UShort_t originDselection)
 constructor with mcArray

~AliCFVertexingHF()
 destructor

AliCFVertexingHF& operator=(const AliCFVertexingHF& c)
 assigment operator

AliCFVertexingHF(const AliCFVertexingHF& c)
copy constructor

void SetDselection(UShort_t originDselection)
 setting the way the D0 will be selected
 0 --> only from c quarks
 1 --> only from b quarks
 2 --> from both c quarks and b quarks
void SetMCCandidateParam(Int_t label)
 setting the parameters (candidate and n. daughters)

Int_t MCcquarkCounting(AliAODMCParticle* mcPart) const
 counting the c-quarks

Bool_t CheckMCPartFamily(AliAODMCParticle* , TClonesArray* ) const
checking the family

Int_t CheckOrigin() const
 checking whether the mother of the particles come from a charm or a bottom quark

Bool_t CheckMCDaughters() const
 checking the daughters
 at MC level
Bool_t FillMCContainer(Double_t* containerInputMC)
 fill the container for Generator level selection

Bool_t FillRecoContainer(Double_t* containerInput)
 fill the container for Reconstrucred level selection

Bool_t MCAcceptanceStep() const
 checking the MC acceptance step

Bool_t MCRefitStep(AliAODEvent* aodEvent, AliESDtrackCuts** trackCuts) const
 check on the kTPCrefit and kITSrefit conditions of the daughters

Bool_t RecoStep()
check also vertex and ITS Refit and TPC Refit

Double_t GetEtaProng(Int_t iProng) const
 getting eta of the prong

Double_t GetPtProng(Int_t iProng) const
 getting pt of the prong

Bool_t RecoAcceptStep(AliESDtrackCuts** trackCuts) const
 reco Acceptance step

Bool_t FillUnfoldingMatrix(UInt_t pdg, Double_t* fill) const
 filling the unfolding matrix

Int_t CheckReflexion(Char_t isSign)
 check for reflexion (particle/antiparticle)

Bool_t SetLabelArray()
 setting the label arrays

void SetPtAccCut(Float_t* ptAccCut)
 setting the pt cut to be used in the Acceptance steps (MC+Reco)

void SetEtaAccCut(Float_t* etaAccCut)
 setting the eta cut to be used in the Acceptance steps (MC+Reco)

void SetAccCut(Float_t* ptAccCut, Float_t* etaAccCut)
 setting the pt and eta cut to be used in the Acceptance steps (MC+Reco)

void SetAccCut()
 setting the pt and eta cut to be used in the Acceptance steps (MC+Reco)

Bool_t GetGeneratedValuesFromMCParticle(Double_t* )
{return kFALSE;}
Bool_t GetRecoValuesFromCandidate(Double_t* ) const
{return kFALSE;}
Bool_t CheckMCChannelDecay() const
{return kFALSE;}
Bool_t SetRecoCandidateParam(AliAODRecoDecayHF* )
{return kFALSE;}
void SetDecay3Prong(Int_t )
{}
void SetFillFromGenerated(Bool_t flag)
Bool_t GetFillFromGenerated() const
void SetNVar(Int_t nVar)
{fNVar = nVar;}
void SetRecoPrimVertex(Double_t zPrimVertex)
{fzPrimVertex = zPrimVertex;}
void SetMCPrimaryVertex(Double_t zMCVertex)
{fzMCVertex = zMCVertex;}
void SetMCLabel(Int_t mcLabel)
{fmcLabel = mcLabel;}
Int_t GetMCLabel() const
{return fmcLabel;}
Double_t GetPtCand() const
{return fRecoCandidate->Pt();}
Double_t GetYCand(UInt_t pdg) const
{return fRecoCandidate->Y(pdg);}
void SetNProngs(Int_t nProngs)
{fProngs = nProngs;}
Int_t GetNProngs() const
{return fProngs;}
UShort_t GetDselection()
void SetCentralityValue(Float_t centValue)
{fCentValue = centValue;}
void SetGeneratedDsOption(Int_t )
void SetFakeSelection(Int_t fakeSel)
{fFakeSelection = fakeSel;}
Int_t GetFakeSelection()
{return fFakeSelection;}
void SetRejectCandidateIfNotFromQuark(Bool_t opt)
void SetMultiplicity(Double_t multiplicity)
{fMultiplicity = multiplicity;}
void SetConfiguration(Int_t configuration)
{fConfiguration = configuration;}