AliPhysics  ff07904 (ff07904)
AliMCHFParticleSelector Class Reference

#include <AliMCHFParticleSelector.h>

Inheritance diagram for AliMCHFParticleSelector:

Public Member Functions

 AliMCHFParticleSelector ()
 
 AliMCHFParticleSelector (const char *name)
 
virtual ~AliMCHFParticleSelector ()
 
void SetSpecialPDG (Int_t pdg)
 
void SetRejectQuarkNotFound (Bool_t c)
 
Bool_t GetRejectQuarkNotFound () const
 
void SetRejectDfromB (Bool_t c)
 
Bool_t GetRejectDfromB () const
 
void SetKeepOnlyDfromB (Bool_t c)
 
Bool_t GetKeepOnlyDfromB () const
 
void SetKeepOnlyD0toKpi (Bool_t c)
 
Bool_t GetKeepOnlyD0toKpi () const
 
void SetKeepOnlyDStartoKpipi (Bool_t c)
 
Bool_t GetKeepOnlyDStartoKpipi () const
 
void SelectCharmtoD0toKpi ()
 
void SelectCharmtoDStartoKpipi ()
 
- Public Member Functions inherited from AliEmcalMCTrackSelector
 AliEmcalMCTrackSelector ()
 
 AliEmcalMCTrackSelector (const char *name)
 
virtual ~AliEmcalMCTrackSelector ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
void SetOnlyPhysPrim (Bool_t s)
 
void SetChargedMC (Bool_t c=kTRUE)
 
void SetEtaMax (Double_t e)
 
void SetRejectNK (Bool_t r=kTRUE)
 
void SetOnlyHIJING (Bool_t s)
 
void SetParticlesOutName (const char *name)
 
void ConvertMCParticles (AliMCEvent *mcEvent, TClonesArray *partOut, AliNamedArrayI *partMap=0)
 
void CopyMCParticles (TClonesArray *partIn, TClonesArray *partOut, AliNamedArrayI *partMap=0)
 

Protected Member Functions

Bool_t AcceptParticle (AliAODMCParticle *part) const
 
Bool_t IsSpecialPDGDaughter (AliAODMCParticle *part) const
 
Bool_t IsSpecialPDGDaughter (Int_t iPart) const
 

Protected Attributes

Int_t fSpecialPDG
 
Bool_t fRejectQuarkNotFound
 
Bool_t fRejectDfromB
 
Bool_t fKeepOnlyDfromB
 
Bool_t fKeepOnlyD0toKpi
 
Bool_t fKeepOnlyDStartoKpipi
 
- Protected Attributes inherited from AliEmcalMCTrackSelector
TString fParticlesOutName
 
Bool_t fOnlyPhysPrim
 
Bool_t fRejectNK
 
Bool_t fChargedMC
 
Bool_t fOnlyHIJING
 
Double_t fEtaMax
 
TString fParticlesMapName
 
Bool_t fInit
 name of the particle map More...
 
TClonesArray * fParticlesIn
 true = task initialized More...
 
TClonesArray * fParticlesOut
 particle array in (AOD) More...
 
AliNamedArrayIfParticlesMap
 particle array out More...
 
AliVEvent * fEvent
 particle index/label More...
 
AliMCEvent * fMC
 event More...
 
Bool_t fIsESD
 MC event (ESD) More...
 
Bool_t fDisabled
 ESD or AOD analysis. More...
 

Private Member Functions

 AliMCHFParticleSelector (const AliMCHFParticleSelector &)
 
AliMCHFParticleSelectoroperator= (const AliMCHFParticleSelector &)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliEmcalMCTrackSelector
static AliEmcalMCTrackSelectorAddTaskMCTrackSelector (TString outname="mcparticles", Bool_t nk=kFALSE, Bool_t ch=kFALSE, Double_t etamax=1, Bool_t physPrim=kTRUE)
 

Detailed Description

Definition at line 6 of file AliMCHFParticleSelector.h.

Constructor & Destructor Documentation

AliMCHFParticleSelector::AliMCHFParticleSelector ( )

Definition at line 22 of file AliMCHFParticleSelector.cxx.

AliMCHFParticleSelector::AliMCHFParticleSelector ( const char *  name)

Definition at line 35 of file AliMCHFParticleSelector.cxx.

AliMCHFParticleSelector::~AliMCHFParticleSelector ( )
virtual

Definition at line 48 of file AliMCHFParticleSelector.cxx.

AliMCHFParticleSelector::AliMCHFParticleSelector ( const AliMCHFParticleSelector )
private

Member Function Documentation

Bool_t AliMCHFParticleSelector::AcceptParticle ( AliAODMCParticle *  part) const
protectedvirtual

Reimplemented from AliEmcalMCTrackSelector.

Definition at line 76 of file AliMCHFParticleSelector.cxx.

Referenced by GetKeepOnlyDStartoKpipi().

Bool_t AliMCHFParticleSelector::GetKeepOnlyD0toKpi ( ) const
inline

Definition at line 24 of file AliMCHFParticleSelector.h.

Bool_t AliMCHFParticleSelector::GetKeepOnlyDfromB ( ) const
inline

Definition at line 21 of file AliMCHFParticleSelector.h.

Bool_t AliMCHFParticleSelector::GetKeepOnlyDStartoKpipi ( ) const
inline

Definition at line 27 of file AliMCHFParticleSelector.h.

Bool_t AliMCHFParticleSelector::GetRejectDfromB ( ) const
inline

Definition at line 18 of file AliMCHFParticleSelector.h.

Bool_t AliMCHFParticleSelector::GetRejectQuarkNotFound ( ) const
inline

Definition at line 15 of file AliMCHFParticleSelector.h.

Bool_t AliMCHFParticleSelector::IsSpecialPDGDaughter ( AliAODMCParticle *  part) const
protected

Definition at line 152 of file AliMCHFParticleSelector.cxx.

Referenced by AcceptParticle(), and GetKeepOnlyDStartoKpipi().

Bool_t AliMCHFParticleSelector::IsSpecialPDGDaughter ( Int_t  iPart) const
protected

Definition at line 174 of file AliMCHFParticleSelector.cxx.

AliMCHFParticleSelector& AliMCHFParticleSelector::operator= ( const AliMCHFParticleSelector )
private
void AliMCHFParticleSelector::SelectCharmtoD0toKpi ( )

Definition at line 54 of file AliMCHFParticleSelector.cxx.

Referenced by GetKeepOnlyDStartoKpipi().

void AliMCHFParticleSelector::SelectCharmtoDStartoKpipi ( )

Definition at line 65 of file AliMCHFParticleSelector.cxx.

Referenced by GetKeepOnlyDStartoKpipi().

void AliMCHFParticleSelector::SetKeepOnlyD0toKpi ( Bool_t  c)
inline

Definition at line 23 of file AliMCHFParticleSelector.h.

Referenced by SelectCharmtoD0toKpi(), and SelectCharmtoDStartoKpipi().

void AliMCHFParticleSelector::SetKeepOnlyDfromB ( Bool_t  c)
inline

Definition at line 20 of file AliMCHFParticleSelector.h.

Referenced by SelectCharmtoD0toKpi(), and SelectCharmtoDStartoKpipi().

void AliMCHFParticleSelector::SetKeepOnlyDStartoKpipi ( Bool_t  c)
inline

Definition at line 26 of file AliMCHFParticleSelector.h.

Referenced by SelectCharmtoD0toKpi(), and SelectCharmtoDStartoKpipi().

void AliMCHFParticleSelector::SetRejectDfromB ( Bool_t  c)
inline

Definition at line 17 of file AliMCHFParticleSelector.h.

Referenced by SelectCharmtoD0toKpi(), and SelectCharmtoDStartoKpipi().

void AliMCHFParticleSelector::SetRejectQuarkNotFound ( Bool_t  c)
inline

Definition at line 14 of file AliMCHFParticleSelector.h.

Referenced by SelectCharmtoD0toKpi(), and SelectCharmtoDStartoKpipi().

void AliMCHFParticleSelector::SetSpecialPDG ( Int_t  pdg)
inline

Definition at line 12 of file AliMCHFParticleSelector.h.

Referenced by SelectCharmtoD0toKpi(), and SelectCharmtoDStartoKpipi().

Member Data Documentation

Bool_t AliMCHFParticleSelector::fKeepOnlyD0toKpi
protected
Bool_t AliMCHFParticleSelector::fKeepOnlyDfromB
protected

Definition at line 41 of file AliMCHFParticleSelector.h.

Referenced by AcceptParticle(), GetKeepOnlyDfromB(), and SetKeepOnlyDfromB().

Bool_t AliMCHFParticleSelector::fKeepOnlyDStartoKpipi
protected
Bool_t AliMCHFParticleSelector::fRejectDfromB
protected

Definition at line 40 of file AliMCHFParticleSelector.h.

Referenced by AcceptParticle(), GetRejectDfromB(), and SetRejectDfromB().

Bool_t AliMCHFParticleSelector::fRejectQuarkNotFound
protected
Int_t AliMCHFParticleSelector::fSpecialPDG
protected

Definition at line 38 of file AliMCHFParticleSelector.h.

Referenced by AcceptParticle(), IsSpecialPDGDaughter(), and SetSpecialPDG().


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