AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliCFVertexingHF Class Reference

Class for HF corrections as a function of many variables and step. More...

#include <AliCFVertexingHF.h>

Inheritance diagram for AliCFVertexingHF:

Public Types

enum  DecayChannel {
  kD0toKpi = 2, kDStartoKpipi = 21, kLctoV0bachelor = 22, kDplustoKpipi = 31,
  kLctopKpi = 32, kDstoKKpi = 33, kD0toKpipipi = 4
}
 

Public Member Functions

 AliCFVertexingHF ()
 
 AliCFVertexingHF (TClonesArray *mcArray, UShort_t originDselection)
 
 AliCFVertexingHF (const AliCFVertexingHF &c)
 
AliCFVertexingHFoperator= (const AliCFVertexingHF &c)
 
virtual ~AliCFVertexingHF ()
 
virtual Bool_t GetGeneratedValuesFromMCParticle (Double_t *)
 
virtual Bool_t GetRecoValuesFromCandidate (Double_t *) const
 
virtual Bool_t CheckMCChannelDecay () const
 
virtual Bool_t SetRecoCandidateParam (AliAODRecoDecayHF *)
 
virtual void SetDecay3Prong (Int_t)
 
void SetFillFromGenerated (Bool_t flag)
 
Bool_t GetFillFromGenerated () const
 
void SetNVar (Int_t nVar)
 
void SetRecoPrimVertex (Double_t zPrimVertex)
 
void SetMCPrimaryVertex (Double_t zMCVertex)
 
void SetMCLabel (Int_t mcLabel)
 
Int_t GetMCLabel () const
 
void SetMCCandidateParam (Int_t label)
 
Int_t MCcquarkCounting (AliAODMCParticle *mcPart) const
 
Bool_t CheckMCPartFamily (AliAODMCParticle *, TClonesArray *) const
 
Int_t CheckOrigin () const
 
Bool_t CheckMCDaughters () const
 
Bool_t FillMCContainer (Double_t *containerInputMC)
 
Bool_t FillRecoContainer (Double_t *containerInput)
 
Bool_t MCAcceptanceStep () const
 
Bool_t MCRefitStep (AliAODEvent *aodEvent, AliESDtrackCuts **trackCuts) const
 
Bool_t RecoStep ()
 
virtual Double_t GetEtaProng (Int_t iProng) const
 
virtual Double_t GetPtProng (Int_t iProng) const
 
Double_t GetPtCand () const
 
Double_t GetYCand (UInt_t pdg) const
 
Bool_t RecoAcceptStep (AliESDtrackCuts **trackCuts) const
 
Bool_t FillUnfoldingMatrix (UInt_t pdg, Double_t fill[4]) const
 
void SetNProngs (Int_t nProngs)
 
Int_t GetNProngs () const
 
void SetDselection (UShort_t originDselection)
 
UShort_t GetDselection ()
 
Int_t CheckReflexion (Char_t isSign)
 
virtual Bool_t SetLabelArray ()
 
void SetCentralityValue (Float_t centValue)
 
virtual void SetPtAccCut (Float_t *ptAccCut)
 
virtual void SetEtaAccCut (Float_t *etaAccCut)
 
virtual void SetAccCut (Float_t *ptAccCut, Float_t *etaAccCut)
 
virtual void SetAccCut ()
 
virtual void SetGeneratedDsOption (Int_t)
 
void SetFakeSelection (Int_t fakeSel)
 
Int_t GetFakeSelection ()
 
void SetRejectCandidateIfNotFromQuark (Bool_t opt)
 
void SetMultiplicity (Double_t multiplicity)
 
void SetConfiguration (Int_t configuration)
 

Protected Attributes

TClonesArray * fmcArray
 
AliAODRecoDecayHFfRecoCandidate
 mcArray candidate More...
 
AliAODMCParticle * fmcPartCandidate
 Reconstructed HF candidate. More...
 
Int_t fNDaughters
 
Int_t fNVar
 
Double_t fzPrimVertex
 get Number of variables for the container from the channel decay More...
 
Double_t fzMCVertex
 Reco z primary vertex. More...
 
Bool_t fFillFromGenerated
 MC z primary vertex. More...
 
UShort_t fOriginDselection
 flag to indicate whether data container should be filled More...
 
Bool_t fKeepDfromB
 flag to select D0 origins. 0 Only from charm 1 only from beauty 2 both from charm and beauty More...
 
Bool_t fKeepDfromBOnly
 flag for the feed down from b quark decay. More...
 
Int_t fmcLabel
 flag to keep only the charm particles that comes from beauty decays More...
 
Int_t fProngs
 results of the MatchToMC() More...
 
Int_t * fLabelArray
 n. of prongs More...
 
Float_t fCentValue
 
Float_t * fPtAccCut
 centrality value More...
 
Float_t * fEtaAccCut
 
Int_t fFakeSelection
 
Float_t fFake
 fakes selection: 0 –> all, 1 –> non-fake, 2 –> fake More...
 
Bool_t fRejectIfNoQuark
 variable to indicate whether the D0 was a fake or not: 0 –> fake, 1 –> MC, 2 –> non-fake More...
 
Double_t fMultiplicity
 flag to remove events not geenrated with PYTHIA More...
 
Int_t fConfiguration
 multiplicity of the event More...
 

Detailed Description

Class for HF corrections as a function of many variables and step.

Author
Author : C. Zampolli, CERN
D. Caffarri, Univ & INFN Padova caffa.nosp@m.rri@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t Base class for HF Unfolding - agrel.nosp@m.li@u.nosp@m.u.nl

Definition at line 44 of file AliCFVertexingHF.h.

Member Enumeration Documentation

Enumerator
kD0toKpi 
kDStartoKpipi 
kLctoV0bachelor 
kDplustoKpipi 
kLctopKpi 
kDstoKKpi 
kD0toKpipipi 

Definition at line 47 of file AliCFVertexingHF.h.

Constructor & Destructor Documentation

AliCFVertexingHF::AliCFVertexingHF ( )

constructor

Definition at line 43 of file AliCFVertexingHF.cxx.

AliCFVertexingHF::AliCFVertexingHF ( TClonesArray *  mcArray,
UShort_t  originDselection 
)

constructor with mcArray

Definition at line 78 of file AliCFVertexingHF.cxx.

AliCFVertexingHF::AliCFVertexingHF ( const AliCFVertexingHF c)

copy constructor

Definition at line 184 of file AliCFVertexingHF.cxx.

AliCFVertexingHF::~AliCFVertexingHF ( )
virtual

destructor

Definition at line 111 of file AliCFVertexingHF.cxx.

Member Function Documentation

virtual Bool_t AliCFVertexingHF::CheckMCChannelDecay ( ) const
inlinevirtual
Bool_t AliCFVertexingHF::CheckMCDaughters ( ) const

checking the daughters at MC level

Definition at line 383 of file AliCFVertexingHF.cxx.

Referenced by CheckMCPartFamily().

Bool_t AliCFVertexingHF::CheckMCPartFamily ( AliAODMCParticle *  ,
TClonesArray *   
) const

checking the family

Definition at line 297 of file AliCFVertexingHF.cxx.

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

Int_t AliCFVertexingHF::CheckOrigin ( ) const

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

Definition at line 333 of file AliCFVertexingHF.cxx.

Referenced by CheckMCPartFamily(), and RecoStep().

Int_t AliCFVertexingHF::CheckReflexion ( Char_t  isSign)

check for reflexion (particle/antiparticle)

Definition at line 739 of file AliCFVertexingHF.cxx.

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

Bool_t AliCFVertexingHF::FillMCContainer ( Double_t *  containerInputMC)

fill the container for Generator level selection

Definition at line 422 of file AliCFVertexingHF.cxx.

Bool_t AliCFVertexingHF::FillRecoContainer ( Double_t *  containerInput)
Bool_t AliCFVertexingHF::FillUnfoldingMatrix ( UInt_t  pdg,
Double_t  fill[4] 
) const

filling the unfolding matrix

Definition at line 718 of file AliCFVertexingHF.cxx.

UShort_t AliCFVertexingHF::GetDselection ( )
inline

Definition at line 99 of file AliCFVertexingHF.h.

Double_t AliCFVertexingHF::GetEtaProng ( Int_t  iProng) const
virtual

getting eta of the prong

Reimplemented in AliCFVertexingHFCascade, and AliCFVertexingHFLctoV0bachelor.

Definition at line 658 of file AliCFVertexingHF.cxx.

Referenced by RecoAcceptStep().

Int_t AliCFVertexingHF::GetFakeSelection ( )
inline

Definition at line 114 of file AliCFVertexingHF.h.

Bool_t AliCFVertexingHF::GetFillFromGenerated ( ) const
inline

Definition at line 64 of file AliCFVertexingHF.h.

virtual Bool_t AliCFVertexingHF::GetGeneratedValuesFromMCParticle ( Double_t *  )
inlinevirtual
Int_t AliCFVertexingHF::GetMCLabel ( ) const
inline

Definition at line 71 of file AliCFVertexingHF.h.

Referenced by CheckReflexion(), and RecoStep().

Int_t AliCFVertexingHF::GetNProngs ( ) const
inline
Double_t AliCFVertexingHF::GetPtCand ( ) const
inline

Definition at line 89 of file AliCFVertexingHF.h.

Referenced by FillUnfoldingMatrix().

Double_t AliCFVertexingHF::GetPtProng ( Int_t  iProng) const
virtual

getting pt of the prong

Reimplemented in AliCFVertexingHFCascade, and AliCFVertexingHFLctoV0bachelor.

Definition at line 671 of file AliCFVertexingHF.cxx.

Referenced by RecoAcceptStep().

virtual Bool_t AliCFVertexingHF::GetRecoValuesFromCandidate ( Double_t *  ) const
inlinevirtual
Double_t AliCFVertexingHF::GetYCand ( UInt_t  pdg) const
inline

Definition at line 90 of file AliCFVertexingHF.h.

Referenced by FillUnfoldingMatrix().

Bool_t AliCFVertexingHF::MCAcceptanceStep ( ) const

checking the MC acceptance step

Definition at line 492 of file AliCFVertexingHF.cxx.

Int_t AliCFVertexingHF::MCcquarkCounting ( AliAODMCParticle *  mcPart) const

counting the c-quarks

Definition at line 277 of file AliCFVertexingHF.cxx.

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

Bool_t AliCFVertexingHF::MCRefitStep ( AliAODEvent *  aodEvent,
AliESDtrackCuts **  trackCuts 
) const

check on the kTPCrefit and kITSrefit conditions of the daughters

Definition at line 533 of file AliCFVertexingHF.cxx.

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

Bool_t AliCFVertexingHF::RecoAcceptStep ( AliESDtrackCuts **  trackCuts) const

reco Acceptance step

Definition at line 687 of file AliCFVertexingHF.cxx.

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

Bool_t AliCFVertexingHF::RecoStep ( )

check also vertex and ITS Refit and TPC Refit

Definition at line 617 of file AliCFVertexingHF.cxx.

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

void AliCFVertexingHF::SetAccCut ( Float_t *  ptAccCut,
Float_t *  etaAccCut 
)
virtual

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

Reimplemented in AliCFVertexingHFCascade.

Definition at line 988 of file AliCFVertexingHF.cxx.

void AliCFVertexingHF::SetAccCut ( )
virtual

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

Reimplemented in AliCFVertexingHFCascade.

Definition at line 1005 of file AliCFVertexingHF.cxx.

Referenced by AliCFVertexingHFLctoV0bachelor::SetLabelArray(), and SetLabelArray().

void AliCFVertexingHF::SetCentralityValue ( Float_t  centValue)
inline
void AliCFVertexingHF::SetConfiguration ( Int_t  configuration)
inline
virtual void AliCFVertexingHF::SetDecay3Prong ( Int_t  )
inlinevirtual

Reimplemented in AliCFVertexingHF3Prong.

Definition at line 61 of file AliCFVertexingHF.h.

void AliCFVertexingHF::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

Definition at line 232 of file AliCFVertexingHF.cxx.

Referenced by AliCFVertexingHF().

void AliCFVertexingHF::SetEtaAccCut ( Float_t *  etaAccCut)
virtual

setting the eta cut to be used in the Acceptance steps (MC+Reco)

Reimplemented in AliCFVertexingHFCascade.

Definition at line 973 of file AliCFVertexingHF.cxx.

void AliCFVertexingHF::SetFakeSelection ( Int_t  fakeSel)
inline
void AliCFVertexingHF::SetFillFromGenerated ( Bool_t  flag)
inline
virtual void AliCFVertexingHF::SetGeneratedDsOption ( Int_t  )
inlinevirtual

Reimplemented in AliCFVertexingHF3Prong.

Definition at line 109 of file AliCFVertexingHF.h.

Bool_t AliCFVertexingHF::SetLabelArray ( )
virtual

setting the label arrays

Reimplemented in AliCFVertexingHFLctoV0bachelor.

Definition at line 778 of file AliCFVertexingHF.cxx.

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

void AliCFVertexingHF::SetMCCandidateParam ( Int_t  label)

setting the parameters (candidate and n. daughters)

Definition at line 260 of file AliCFVertexingHF.cxx.

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

void AliCFVertexingHF::SetMCPrimaryVertex ( Double_t  zMCVertex)
inline
void AliCFVertexingHF::SetMultiplicity ( Double_t  multiplicity)
inline
void AliCFVertexingHF::SetNVar ( Int_t  nVar)
inline
void AliCFVertexingHF::SetPtAccCut ( Float_t *  ptAccCut)
virtual

setting the pt cut to be used in the Acceptance steps (MC+Reco)

Reimplemented in AliCFVertexingHFCascade.

Definition at line 955 of file AliCFVertexingHF.cxx.

virtual Bool_t AliCFVertexingHF::SetRecoCandidateParam ( AliAODRecoDecayHF )
inlinevirtual
void AliCFVertexingHF::SetRecoPrimVertex ( Double_t  zPrimVertex)
inline
void AliCFVertexingHF::SetRejectCandidateIfNotFromQuark ( Bool_t  opt)
inline

Member Data Documentation

Bool_t AliCFVertexingHF::fFillFromGenerated
protected

MC z primary vertex.

Definition at line 131 of file AliCFVertexingHF.h.

Referenced by FillRecoContainer(), GetFillFromGenerated(), operator=(), and SetFillFromGenerated().

Bool_t AliCFVertexingHF::fKeepDfromB
protected

flag to select D0 origins. 0 Only from charm 1 only from beauty 2 both from charm and beauty

Definition at line 134 of file AliCFVertexingHF.h.

Referenced by CheckOrigin(), operator=(), and SetDselection().

Bool_t AliCFVertexingHF::fKeepDfromBOnly
protected

flag for the feed down from b quark decay.

Definition at line 135 of file AliCFVertexingHF.h.

Referenced by CheckOrigin(), operator=(), and SetDselection().

Int_t AliCFVertexingHF::fmcLabel
protected
Int_t AliCFVertexingHF::fNDaughters
protected

Definition at line 126 of file AliCFVertexingHF.h.

Referenced by operator=(), and SetMCCandidateParam().

Int_t AliCFVertexingHF::fNVar
protected

Definition at line 127 of file AliCFVertexingHF.h.

Referenced by FillMCContainer(), FillRecoContainer(), operator=(), and SetNVar().

UShort_t AliCFVertexingHF::fOriginDselection
protected

flag to indicate whether data container should be filled

Definition at line 132 of file AliCFVertexingHF.h.

Referenced by GetDselection(), operator=(), and SetDselection().

Bool_t AliCFVertexingHF::fRejectIfNoQuark
protected

variable to indicate whether the D0 was a fake or not: 0 –> fake, 1 –> MC, 2 –> non-fake

Definition at line 145 of file AliCFVertexingHF.h.

Referenced by CheckOrigin(), operator=(), and SetRejectCandidateIfNotFromQuark().


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