AliPhysics  0937c79 (0937c79)
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 Setq2Value (Double_t q2)
 
void SetTrackArray (TClonesArray *trkarray)
 
void SetConfiguration (Int_t configuration)
 
Int_t ComputeLocalMultiplicity (Double_t etaD, Double_t phiD, Double_t R) const
 

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_tfLabelArray
 n. of prongs More...
 
Float_t fCentValue
 
Float_tfPtAccCut
 centrality value More...
 
Float_tfEtaAccCut
 
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...
 
Double_t fq2
 multiplicity of the event More...
 
TClonesArray * fTrackArray
 magnitude of the reduced flow vector (computed using TPC tracks) More...
 
Int_t fConfiguration
 array of tracks 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 80 of file AliCFVertexingHF.cxx.

AliCFVertexingHF::AliCFVertexingHF ( const AliCFVertexingHF c)

copy constructor

Definition at line 192 of file AliCFVertexingHF.cxx.

AliCFVertexingHF::~AliCFVertexingHF ( )
virtual

destructor

Definition at line 115 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 395 of file AliCFVertexingHF.cxx.

Referenced by CheckMCPartFamily(), and GetMCLabel().

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

checking the family

Definition at line 309 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel(), 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 345 of file AliCFVertexingHF.cxx.

Referenced by CheckMCPartFamily(), GetMCLabel(), and RecoStep().

Int_t AliCFVertexingHF::CheckReflexion ( Char_t  isSign)

check for reflexion (particle/antiparticle)

Definition at line 751 of file AliCFVertexingHF.cxx.

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

Bool_t AliCFVertexingHF::FillMCContainer ( Double_t containerInputMC)

fill the container for Generator level selection

Definition at line 434 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel().

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 730 of file AliCFVertexingHF.cxx.

Referenced by GetYCand().

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 670 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel(), and 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 683 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel(), and 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 504 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel().

Int_t AliCFVertexingHF::MCcquarkCounting ( AliAODMCParticle *  mcPart) const

counting the c-quarks

Definition at line 289 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel(), 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 545 of file AliCFVertexingHF.cxx.

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

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

reco Acceptance step

Definition at line 699 of file AliCFVertexingHF.cxx.

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

Bool_t AliCFVertexingHF::RecoStep ( )

check also vertex and ITS Refit and TPC Refit

Definition at line 629 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel(), 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 1000 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 1017 of file AliCFVertexingHF.cxx.

Referenced by SetCentralityValue(), 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 244 of file AliCFVertexingHF.cxx.

Referenced by AliCFVertexingHF(), and GetNProngs().

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 985 of file AliCFVertexingHF.cxx.

Referenced by SetCentralityValue().

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 790 of file AliCFVertexingHF.cxx.

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

void AliCFVertexingHF::SetMCCandidateParam ( Int_t  label)

setting the parameters (candidate and n. daughters)

Definition at line 272 of file AliCFVertexingHF.cxx.

Referenced by GetMCLabel(), 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 967 of file AliCFVertexingHF.cxx.

Referenced by SetCentralityValue().

void AliCFVertexingHF::Setq2Value ( Double_t  q2)
inline

Definition at line 119 of file AliCFVertexingHF.h.

Referenced by AliCFTaskVertexingHF::UserExec().

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

Definition at line 120 of file AliCFVertexingHF.h.

Referenced by AliCFTaskVertexingHF::UserExec().

Member Data Documentation

Bool_t AliCFVertexingHF::fFillFromGenerated
protected

MC z primary vertex.

Definition at line 137 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 140 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 141 of file AliCFVertexingHF.h.

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

Int_t AliCFVertexingHF::fNDaughters
protected

Definition at line 132 of file AliCFVertexingHF.h.

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

Int_t AliCFVertexingHF::fNVar
protected

Definition at line 133 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 138 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 151 of file AliCFVertexingHF.h.

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

TClonesArray* AliCFVertexingHF::fTrackArray
protected

magnitude of the reduced flow vector (computed using TPC tracks)

Definition at line 154 of file AliCFVertexingHF.h.

Referenced by AliCFVertexingHF(), ComputeLocalMultiplicity(), operator=(), SetTrackArray(), and ~AliCFVertexingHF().


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