AliPhysics  64f4410 (64f4410)
AliCFVertexingHFCascade Class Reference

Class for HF corrections as a function of many variables and steps For D* and other cascades. More...

#include <AliCFVertexingHFCascade.h>

Inheritance diagram for AliCFVertexingHFCascade:

Public Member Functions

 AliCFVertexingHFCascade ()
 
 AliCFVertexingHFCascade (TClonesArray *mcArray, UShort_t originDselection)
 
Bool_t GetGeneratedValuesFromMCParticle (Double_t *)
 
Bool_t GetRecoValuesFromCandidate (Double_t *) const
 
Bool_t CheckMCChannelDecay () const
 
Bool_t SetRecoCandidateParam (AliAODRecoDecayHF *recoCand)
 
Bool_t EvaluateIfCorrectNeutrDaugh (AliAODMCParticle *neutralDaugh, Double_t *VectorD0) const
 
void SetPtAccCut (Float_t *ptAccCut)
 
void SetEtaAccCut (Float_t *etaAccCut)
 
void SetAccCut (Float_t *ptAccCut, Float_t *etaAccCut)
 
void SetAccCut ()
 
Double_t GetEtaProng (Int_t iProng) const
 
Double_t GetPtProng (Int_t iProng) const
 
void SetPDGcascade (Int_t pdg)
 
void SetPDGbachelor (Int_t pdg)
 
void SetPDGneutrDaugh (Int_t pdg)
 
void SetPDGneutrDaughForMC (Int_t pdg)
 
void SetPDGneutrDaughPositive (Int_t pdg)
 
void SetPDGneutrDaughNegative (Int_t pdg)
 
void SetPrimaryVertex (AliAODVertex *vtx)
 
Int_t GetPDGcascade () const
 
Int_t GetPDGbachelor () const
 
Int_t GetPDGneutrDaugh () const
 
Int_t GetPDGneutrDaughForMC () const
 
Int_t GetPDGneutrDaughPositive () const
 
Int_t GetPDGneutrDaughNegative () const
 
AliAODVertex * GetPrimaryVertex () const
 
Bool_t CheckAdditionalCuts (AliPIDResponse *pidResponse) const
 
void SetUseCutsForTMVA (Bool_t useCutsForTMVA)
 
Bool_t GetUseCutsForTMVA () const
 
void SetCutOnMomConservation (Float_t cut)
 
Bool_t GetCutOnMomConservation () const
 
- Public Member Functions inherited from AliCFVertexingHF
 AliCFVertexingHF ()
 
 AliCFVertexingHF (TClonesArray *mcArray, UShort_t originDselection)
 
 AliCFVertexingHF (const AliCFVertexingHF &c)
 
AliCFVertexingHFoperator= (const AliCFVertexingHF &c)
 
virtual ~AliCFVertexingHF ()
 
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 ()
 
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 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
 

Private Member Functions

 AliCFVertexingHFCascade (const AliCFVertexingHFCascade &c)
 
AliCFVertexingHFCascadeoperator= (const AliCFVertexingHFCascade &other)
 

Private Attributes

Int_t fPDGcascade
 
Int_t fPDGbachelor
 pdg code of the cascade More...
 
Int_t fPDGneutrDaugh
 pdg code of the bachelor More...
 
Int_t fPDGneutrDaughForMC
 pdg code of the V0 More...
 
Int_t fPDGneutrDaughPositive
 pdg code of the V0 More...
 
Int_t fPDGneutrDaughNegative
 pdg code of the positive daughter of the V0 More...
 
AliAODVertex * fPrimVtx
 pdg code of the negative daughter of the V0 More...
 
Bool_t fUseCutsForTMVA
 primaryVertex More...
 
Float_t fCutOnMomConservation
 

Additional Inherited Members

- Public Types inherited from AliCFVertexingHF
enum  DecayChannel {
  kD0toKpi = 2, kDStartoKpipi = 21, kLctoV0bachelor = 22, kDplustoKpipi = 31,
  kLctopKpi = 32, kDstoKKpi = 33, kD0toKpipipi = 4
}
 
- Protected Attributes inherited from AliCFVertexingHF
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 steps For D* and other cascades.

Author
Author : A.GRELLI - a.gre.nosp@m.lli@.nosp@m.uu.nl UTRECHT

Definition at line 40 of file AliCFVertexingHFCascade.h.

Constructor & Destructor Documentation

AliCFVertexingHFCascade::AliCFVertexingHFCascade ( )

Definition at line 42 of file AliCFVertexingHFCascade.cxx.

Referenced by GetCutOnMomConservation().

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

Definition at line 70 of file AliCFVertexingHFCascade.cxx.

AliCFVertexingHFCascade::AliCFVertexingHFCascade ( const AliCFVertexingHFCascade c)
private

Member Function Documentation

Bool_t AliCFVertexingHFCascade::CheckAdditionalCuts ( AliPIDResponse *  pidResponse) const

Definition at line 750 of file AliCFVertexingHFCascade.cxx.

Referenced by GetPrimaryVertex().

Bool_t AliCFVertexingHFCascade::CheckMCChannelDecay ( ) const
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 457 of file AliCFVertexingHFCascade.cxx.

Bool_t AliCFVertexingHFCascade::EvaluateIfCorrectNeutrDaugh ( AliAODMCParticle *  neutralDaugh,
Double_t VectorD0 
) const
Bool_t AliCFVertexingHFCascade::GetCutOnMomConservation ( ) const
inline

Definition at line 87 of file AliCFVertexingHFCascade.h.

Double_t AliCFVertexingHFCascade::GetEtaProng ( Int_t  iProng) const
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 695 of file AliCFVertexingHFCascade.cxx.

Bool_t AliCFVertexingHFCascade::GetGeneratedValuesFromMCParticle ( Double_t vectorMC)
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 170 of file AliCFVertexingHFCascade.cxx.

Int_t AliCFVertexingHFCascade::GetPDGbachelor ( ) const
inline

Definition at line 74 of file AliCFVertexingHFCascade.h.

Int_t AliCFVertexingHFCascade::GetPDGcascade ( ) const
inline

Definition at line 73 of file AliCFVertexingHFCascade.h.

Int_t AliCFVertexingHFCascade::GetPDGneutrDaugh ( ) const
inline

Definition at line 75 of file AliCFVertexingHFCascade.h.

Int_t AliCFVertexingHFCascade::GetPDGneutrDaughForMC ( ) const
inline

Definition at line 76 of file AliCFVertexingHFCascade.h.

Int_t AliCFVertexingHFCascade::GetPDGneutrDaughNegative ( ) const
inline

Definition at line 78 of file AliCFVertexingHFCascade.h.

Int_t AliCFVertexingHFCascade::GetPDGneutrDaughPositive ( ) const
inline

Definition at line 77 of file AliCFVertexingHFCascade.h.

AliAODVertex* AliCFVertexingHFCascade::GetPrimaryVertex ( ) const
inline

Definition at line 79 of file AliCFVertexingHFCascade.h.

Double_t AliCFVertexingHFCascade::GetPtProng ( Int_t  iProng) const
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 725 of file AliCFVertexingHFCascade.cxx.

Bool_t AliCFVertexingHFCascade::GetRecoValuesFromCandidate ( Double_t vectorReco) const
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 343 of file AliCFVertexingHFCascade.cxx.

Bool_t AliCFVertexingHFCascade::GetUseCutsForTMVA ( ) const
inline

Definition at line 84 of file AliCFVertexingHFCascade.h.

AliCFVertexingHFCascade & AliCFVertexingHFCascade::operator= ( const AliCFVertexingHFCascade other)
private

Definition at line 99 of file AliCFVertexingHFCascade.cxx.

Referenced by GetCutOnMomConservation().

void AliCFVertexingHFCascade::SetAccCut ( Float_t ptAccCut,
Float_t etaAccCut 
)
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 643 of file AliCFVertexingHFCascade.cxx.

void AliCFVertexingHFCascade::SetAccCut ( )
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 661 of file AliCFVertexingHFCascade.cxx.

void AliCFVertexingHFCascade::SetCutOnMomConservation ( Float_t  cut)
inline

Definition at line 86 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetEtaAccCut ( Float_t etaAccCut)
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 627 of file AliCFVertexingHFCascade.cxx.

void AliCFVertexingHFCascade::SetPDGbachelor ( Int_t  pdg)
inline

Definition at line 66 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPDGcascade ( Int_t  pdg)
inline

Definition at line 65 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPDGneutrDaugh ( Int_t  pdg)
inline

Definition at line 67 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPDGneutrDaughForMC ( Int_t  pdg)
inline

Definition at line 68 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPDGneutrDaughNegative ( Int_t  pdg)
inline

Definition at line 70 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPDGneutrDaughPositive ( Int_t  pdg)
inline

Definition at line 69 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPrimaryVertex ( AliAODVertex *  vtx)
inline

Definition at line 71 of file AliCFVertexingHFCascade.h.

void AliCFVertexingHFCascade::SetPtAccCut ( Float_t ptAccCut)
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 608 of file AliCFVertexingHFCascade.cxx.

Bool_t AliCFVertexingHFCascade::SetRecoCandidateParam ( AliAODRecoDecayHF recoCand)
virtual

Reimplemented from AliCFVertexingHF.

Definition at line 112 of file AliCFVertexingHFCascade.cxx.

void AliCFVertexingHFCascade::SetUseCutsForTMVA ( Bool_t  useCutsForTMVA)
inline

Definition at line 83 of file AliCFVertexingHFCascade.h.

Member Data Documentation

Float_t AliCFVertexingHFCascade::fCutOnMomConservation
private

flag to decide whether to use or not the preselection cuts of the TMVA when filling the CF

Definition at line 105 of file AliCFVertexingHFCascade.h.

Referenced by EvaluateIfCorrectNeutrDaugh(), GetCutOnMomConservation(), and SetCutOnMomConservation().

Int_t AliCFVertexingHFCascade::fPDGbachelor
private

pdg code of the cascade

Definition at line 97 of file AliCFVertexingHFCascade.h.

Referenced by CheckMCChannelDecay(), GetPDGbachelor(), SetAccCut(), SetPDGbachelor(), and SetRecoCandidateParam().

Int_t AliCFVertexingHFCascade::fPDGneutrDaugh
private
Int_t AliCFVertexingHFCascade::fPDGneutrDaughForMC
private
Int_t AliCFVertexingHFCascade::fPDGneutrDaughNegative
private
Int_t AliCFVertexingHFCascade::fPDGneutrDaughPositive
private
AliAODVertex* AliCFVertexingHFCascade::fPrimVtx
private

pdg code of the negative daughter of the V0

Definition at line 102 of file AliCFVertexingHFCascade.h.

Referenced by GetPrimaryVertex(), GetRecoValuesFromCandidate(), and SetPrimaryVertex().

Bool_t AliCFVertexingHFCascade::fUseCutsForTMVA
private

primaryVertex

Definition at line 103 of file AliCFVertexingHFCascade.h.

Referenced by CheckAdditionalCuts(), GetUseCutsForTMVA(), and SetUseCutsForTMVA().


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