AliPhysics  5403132 (5403132)
AliAnalysisTaskPIDV0base Class Reference

#include <AliAnalysisTaskPIDV0base.h>

Inheritance diagram for AliAnalysisTaskPIDV0base:

Public Types

enum  RunMode { kJetPIDMode = 0, kLightFlavorMode = 1 }
 
enum  PileUpRejectionType { kPileUpRejectionOff = 0, kPileUpRejectionSPD = 1, kPileUpRejectionMV = 2, kPileUpRejectionClass = 3 }
 
enum  TPCcutType { kNoCut = 0, kTPCCutMIGeo = 1, kTPCnclCut = 2 }
 

Public Member Functions

 AliAnalysisTaskPIDV0base ()
 
 AliAnalysisTaskPIDV0base (const char *name)
 
virtual ~AliAnalysisTaskPIDV0base ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (const Option_t *)
 
virtual Bool_t GetVertexIsOk (AliVEvent *event, Bool_t doVtxZcut=kTRUE) const
 
virtual Bool_t GetIsPileUp (AliVEvent *event, PileUpRejectionType pileUpRejection=kPileUpRejectionClass) const
 
RunMode GetRunMode () const
 
void SetRunMode (RunMode flag)
 
PileUpRejectionType GetPileUpRejectionType () const
 
void SetPileUpRejectionType (PileUpRejectionType newType)
 
virtual Int_t GetMinPlpContribSPD () const
 
virtual void SetMinPlpContribSPD (Int_t newValue)
 
virtual Bool_t GetIsPbpOrpPb () const
 
virtual void SetIsPbpOrpPb (Bool_t newValue)
 
virtual Double_t GetZvtxCutEvent () const
 
virtual void SetZvtxCutEvent (Double_t newValue)
 
virtual Bool_t GetUsePhiCut () const
 
virtual void SetUsePhiCut (Bool_t newValue)
 
virtual TPCcutType GetTPCcutType () const
 
virtual Bool_t GetUseTPCCutMIGeo () const
 
virtual Bool_t GetUseTPCnclCut () const
 
virtual void SetTPCcutType (TPCcutType newType)
 
virtual Double_t GetEtaCut () const
 
virtual void SetEtaCut (Double_t etaCut)
 
virtual const AliAnalysisFilter * GetTrackFilter () const
 
virtual void SetTrackFilter (AliAnalysisFilter *trackF)
 
virtual Char_t GetV0tag (Int_t trackIndex) const
 
virtual Bool_t GetStoreMotherIndex () const
 
virtual void SetStoreMotherIndex (Bool_t newValue)
 
virtual Int_t GetV0motherIndex (Int_t trackIndex) const
 
virtual Double_t GetPhiPrime (Double_t phi, Double_t magField, Int_t charge) const
 
virtual Bool_t PhiPrimeCut (const AliVTrack *track, Double_t magField) const
 
virtual Bool_t PhiPrimeCut (Double_t trackPt, Double_t trackPhi, Short_t trackCharge, Double_t magField) const
 
virtual Float_t GetDeltaTOF (const AliVTrack *track, const AliTOFPIDResponse *tofPIDresponse, const Double_t *times, AliPID::EParticleType type) const
 

Static Public Member Functions

static Double_t GetCutGeo ()
 
static Double_t GetCutNcr ()
 
static Double_t GetCutNcl ()
 
static void SetCutGeo (Double_t value)
 
static void SetCutNcr (Double_t value)
 
static void SetCutNcl (Double_t value)
 
static Bool_t TPCCutMIGeo (const AliVTrack *track, const AliVEvent *evt, TTreeStream *streamer=0x0)
 
static Bool_t TPCCutMIGeo (const AliVTrack *track, const AliInputEventHandler *evtHandler, TTreeStream *streamer=0x0)
 
static UShort_t GetCutPureNcl ()
 
static void SetCutPureNcl (UShort_t value)
 
static Bool_t TPCnclCut (const AliVTrack *track)
 

Protected Member Functions

void FillV0PIDlist (AliESDEvent *esdEvent=0x0)
 
void ClearV0PIDlist ()
 

Protected Attributes

AliVEvent * fEvent
 
AliESDEventfESD
 VEvent object. More...
 
AliMCEvent * fMC
 ESDEvent object, if ESD. More...
 
AliPIDResponse * fPIDResponse
 MC object. More...
 
AliESDv0KineCuts * fV0KineCuts
 PID response Handler. More...
 
AliAnalysisUtils * fAnaUtils
 ESD V0 kine cuts. More...
 
RunMode fRunMode
 Object to use analysis utils like pile-up rejection. More...
 
PileUpRejectionType fPileUpRejectionType
 
Int_t fMinPlpContribSPD
 
Bool_t fIsPbpOrpPb
 
Bool_t fUsePhiCut
 
TPCcutType fTPCcutType
 
Double_t fZvtxCutEvent
 
Double_t fEtaCut
 
TF1 * fPhiCutLow
 
TF1 * fPhiCutHigh
 
TRandom3 * fRandom
 
AliAnalysisFilter * fTrackFilter
 Can be used to statistically determine the shape in the pt bins e.g. More...
 
Int_t fNumTagsStored
 
Char_tfV0tags
 
Bool_t fStoreMotherIndex
 Pointer to array with tags for identified particles from V0 decays. More...
 
Int_tfV0motherIndex
 

Static Protected Attributes

static Double_t fgCutGeo = 1.
 
static Double_t fgCutNcr = 0.85
 
static Double_t fgCutNcl = 0.7
 
static UShort_t fgCutPureNcl = 60
 

Private Member Functions

 AliAnalysisTaskPIDV0base (const AliAnalysisTaskPIDV0base &)
 Pointer to array with index of the mother V0. More...
 
AliAnalysisTaskPIDV0baseoperator= (const AliAnalysisTaskPIDV0base &)
 

Detailed Description

Definition at line 32 of file AliAnalysisTaskPIDV0base.h.

Member Enumeration Documentation

Enumerator
kPileUpRejectionOff 
kPileUpRejectionSPD 
kPileUpRejectionMV 
kPileUpRejectionClass 

Definition at line 36 of file AliAnalysisTaskPIDV0base.h.

Enumerator
kJetPIDMode 
kLightFlavorMode 

Definition at line 35 of file AliAnalysisTaskPIDV0base.h.

Enumerator
kNoCut 
kTPCCutMIGeo 
kTPCnclCut 

Definition at line 37 of file AliAnalysisTaskPIDV0base.h.

Constructor & Destructor Documentation

AliAnalysisTaskPIDV0base::AliAnalysisTaskPIDV0base ( )

Definition at line 46 of file AliAnalysisTaskPIDV0base.cxx.

AliAnalysisTaskPIDV0base::AliAnalysisTaskPIDV0base ( const char *  name)

Definition at line 84 of file AliAnalysisTaskPIDV0base.cxx.

AliAnalysisTaskPIDV0base::~AliAnalysisTaskPIDV0base ( )
virtual

Definition at line 126 of file AliAnalysisTaskPIDV0base.cxx.

AliAnalysisTaskPIDV0base::AliAnalysisTaskPIDV0base ( const AliAnalysisTaskPIDV0base )
private

Pointer to array with index of the mother V0.

Member Function Documentation

void AliAnalysisTaskPIDV0base::ClearV0PIDlist ( )
protected

Definition at line 505 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by SetCutPureNcl().

void AliAnalysisTaskPIDV0base::FillV0PIDlist ( AliESDEvent esdEvent = 0x0)
protected

Definition at line 401 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by SetCutPureNcl().

static Double_t AliAnalysisTaskPIDV0base::GetCutGeo ( )
inlinestatic

Definition at line 93 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::PrintSettings().

static Double_t AliAnalysisTaskPIDV0base::GetCutNcl ( )
inlinestatic

Definition at line 95 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::PrintSettings().

static Double_t AliAnalysisTaskPIDV0base::GetCutNcr ( )
inlinestatic

Definition at line 94 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::PrintSettings().

static UShort_t AliAnalysisTaskPIDV0base::GetCutPureNcl ( )
inlinestatic

Definition at line 105 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::PrintSettings().

Float_t AliAnalysisTaskPIDV0base::GetDeltaTOF ( const AliVTrack *  track,
const AliTOFPIDResponse *  tofPIDresponse,
const Double_t times,
AliPID::EParticleType  type 
) const
inlinevirtual

Definition at line 162 of file AliAnalysisTaskPIDV0base.h.

Referenced by SetStoreMotherIndex().

virtual Double_t AliAnalysisTaskPIDV0base::GetEtaCut ( ) const
inlinevirtual

Definition at line 74 of file AliAnalysisTaskPIDV0base.h.

virtual Bool_t AliAnalysisTaskPIDV0base::GetIsPbpOrpPb ( ) const
inlinevirtual

Definition at line 59 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::PrintSettings().

Bool_t AliAnalysisTaskPIDV0base::GetIsPileUp ( AliVEvent *  event,
PileUpRejectionType  pileUpRejection = kPileUpRejectionClass 
) const
virtual
virtual Int_t AliAnalysisTaskPIDV0base::GetMinPlpContribSPD ( ) const
inlinevirtual

Definition at line 56 of file AliAnalysisTaskPIDV0base.h.

Referenced by UserCreateOutputObjects().

Double_t AliAnalysisTaskPIDV0base::GetPhiPrime ( Double_t  phi,
Double_t  magField,
Int_t  charge 
) const
virtual

Definition at line 212 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by PhiPrimeCut(), and SetStoreMotherIndex().

PileUpRejectionType AliAnalysisTaskPIDV0base::GetPileUpRejectionType ( ) const
inline

Definition at line 53 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetIsPileUp(), and AliAnalysisTaskPID::PrintSettings().

RunMode AliAnalysisTaskPIDV0base::GetRunMode ( ) const
inline
virtual Bool_t AliAnalysisTaskPIDV0base::GetStoreMotherIndex ( ) const
inlinevirtual

Definition at line 82 of file AliAnalysisTaskPIDV0base.h.

virtual TPCcutType AliAnalysisTaskPIDV0base::GetTPCcutType ( ) const
inlinevirtual

Definition at line 68 of file AliAnalysisTaskPIDV0base.h.

virtual const AliAnalysisFilter* AliAnalysisTaskPIDV0base::GetTrackFilter ( ) const
inlinevirtual

Definition at line 77 of file AliAnalysisTaskPIDV0base.h.

virtual Bool_t AliAnalysisTaskPIDV0base::GetUsePhiCut ( ) const
inlinevirtual

Definition at line 65 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::PrintSettings().

virtual Bool_t AliAnalysisTaskPIDV0base::GetUseTPCCutMIGeo ( ) const
inlinevirtual
virtual Bool_t AliAnalysisTaskPIDV0base::GetUseTPCnclCut ( ) const
inlinevirtual
Int_t AliAnalysisTaskPIDV0base::GetV0motherIndex ( Int_t  trackIndex) const
virtual

Definition at line 536 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by SetStoreMotherIndex().

Char_t AliAnalysisTaskPIDV0base::GetV0tag ( Int_t  trackIndex) const
virtual

Definition at line 522 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by SetTrackFilter().

Bool_t AliAnalysisTaskPIDV0base::GetVertexIsOk ( AliVEvent *  event,
Bool_t  doVtxZcut = kTRUE 
) const
virtual

Definition at line 253 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by AliAnalysisTaskPID::UserExec().

virtual Double_t AliAnalysisTaskPIDV0base::GetZvtxCutEvent ( ) const
inlinevirtual

Definition at line 62 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetVertexIsOk().

AliAnalysisTaskPIDV0base& AliAnalysisTaskPIDV0base::operator= ( const AliAnalysisTaskPIDV0base )
private
Bool_t AliAnalysisTaskPIDV0base::PhiPrimeCut ( const AliVTrack *  track,
Double_t  magField 
) const
virtual
Bool_t AliAnalysisTaskPIDV0base::PhiPrimeCut ( Double_t  trackPt,
Double_t  trackPhi,
Short_t  trackCharge,
Double_t  magField 
) const
virtual

Definition at line 229 of file AliAnalysisTaskPIDV0base.cxx.

static void AliAnalysisTaskPIDV0base::SetCutGeo ( Double_t  value)
inlinestatic

Definition at line 97 of file AliAnalysisTaskPIDV0base.h.

static void AliAnalysisTaskPIDV0base::SetCutNcl ( Double_t  value)
inlinestatic

Definition at line 99 of file AliAnalysisTaskPIDV0base.h.

static void AliAnalysisTaskPIDV0base::SetCutNcr ( Double_t  value)
inlinestatic

Definition at line 98 of file AliAnalysisTaskPIDV0base.h.

static void AliAnalysisTaskPIDV0base::SetCutPureNcl ( UShort_t  value)
inlinestatic

Definition at line 106 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetEtaCut ( Double_t  etaCut)
inlinevirtual

Definition at line 75 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetIsPbpOrpPb ( Bool_t  newValue)
inlinevirtual

Definition at line 60 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetMinPlpContribSPD ( Int_t  newValue)
inlinevirtual

Definition at line 57 of file AliAnalysisTaskPIDV0base.h.

void AliAnalysisTaskPIDV0base::SetPileUpRejectionType ( PileUpRejectionType  newType)
inline

Definition at line 54 of file AliAnalysisTaskPIDV0base.h.

void AliAnalysisTaskPIDV0base::SetRunMode ( RunMode  flag)
inline

Definition at line 51 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetStoreMotherIndex ( Bool_t  newValue)
inlinevirtual

Definition at line 83 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetTPCcutType ( TPCcutType  newType)
inlinevirtual

Definition at line 72 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetTrackFilter ( AliAnalysisFilter *  trackF)
inlinevirtual

Definition at line 78 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetUsePhiCut ( Bool_t  newValue)
inlinevirtual

Definition at line 66 of file AliAnalysisTaskPIDV0base.h.

virtual void AliAnalysisTaskPIDV0base::SetZvtxCutEvent ( Double_t  newValue)
inlinevirtual

Definition at line 63 of file AliAnalysisTaskPIDV0base.h.

void AliAnalysisTaskPIDV0base::Terminate ( const Option_t )
virtual

Reimplemented in AliAnalysisTaskPID.

Definition at line 205 of file AliAnalysisTaskPIDV0base.cxx.

Bool_t AliAnalysisTaskPIDV0base::TPCCutMIGeo ( const AliVTrack *  track,
const AliVEvent *  evt,
TTreeStream *  streamer = 0x0 
)
static
static Bool_t AliAnalysisTaskPIDV0base::TPCCutMIGeo ( const AliVTrack *  track,
const AliInputEventHandler *  evtHandler,
TTreeStream *  streamer = 0x0 
)
inlinestatic

Definition at line 102 of file AliAnalysisTaskPIDV0base.h.

Bool_t AliAnalysisTaskPIDV0base::TPCnclCut ( const AliVTrack *  track)
static
void AliAnalysisTaskPIDV0base::UserCreateOutputObjects ( )
virtual

Reimplemented in AliAnalysisTaskPID.

Definition at line 158 of file AliAnalysisTaskPIDV0base.cxx.

Referenced by AliAnalysisTaskPID::UserCreateOutputObjects().

void AliAnalysisTaskPIDV0base::UserExec ( Option_t option)
virtual

Reimplemented in AliAnalysisTaskPID.

Definition at line 198 of file AliAnalysisTaskPIDV0base.cxx.

Member Data Documentation

AliAnalysisUtils* AliAnalysisTaskPIDV0base::fAnaUtils
protected
AliESDEvent* AliAnalysisTaskPIDV0base::fESD
protected

VEvent object.

Definition at line 121 of file AliAnalysisTaskPIDV0base.h.

Double_t AliAnalysisTaskPIDV0base::fEtaCut
protected

Definition at line 137 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetEtaCut(), and SetEtaCut().

AliVEvent* AliAnalysisTaskPIDV0base::fEvent
protected

Definition at line 120 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::UserExec().

Double_t AliAnalysisTaskPIDV0base::fgCutGeo = 1.
staticprotected

Definition at line 114 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetCutGeo(), SetCutGeo(), and TPCCutMIGeo().

Double_t AliAnalysisTaskPIDV0base::fgCutNcl = 0.7
staticprotected

Definition at line 116 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetCutNcl(), SetCutNcl(), and TPCCutMIGeo().

Double_t AliAnalysisTaskPIDV0base::fgCutNcr = 0.85
staticprotected

Definition at line 115 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetCutNcr(), SetCutNcr(), and TPCCutMIGeo().

UShort_t AliAnalysisTaskPIDV0base::fgCutPureNcl = 60
staticprotected

Definition at line 118 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetCutPureNcl(), SetCutPureNcl(), and TPCnclCut().

Bool_t AliAnalysisTaskPIDV0base::fIsPbpOrpPb
protected

Definition at line 133 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetIsPbpOrpPb(), GetVertexIsOk(), and SetIsPbpOrpPb().

AliMCEvent* AliAnalysisTaskPIDV0base::fMC
protected

ESDEvent object, if ESD.

Definition at line 122 of file AliAnalysisTaskPIDV0base.h.

Referenced by AliAnalysisTaskPID::UserExec().

Int_t AliAnalysisTaskPIDV0base::fMinPlpContribSPD
protected

Definition at line 131 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetMinPlpContribSPD(), and SetMinPlpContribSPD().

Int_t AliAnalysisTaskPIDV0base::fNumTagsStored
protected
TF1* AliAnalysisTaskPIDV0base::fPhiCutHigh
protected
TF1* AliAnalysisTaskPIDV0base::fPhiCutLow
protected
PileUpRejectionType AliAnalysisTaskPIDV0base::fPileUpRejectionType
protected

Definition at line 130 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetPileUpRejectionType(), and SetPileUpRejectionType().

RunMode AliAnalysisTaskPIDV0base::fRunMode
protected

Object to use analysis utils like pile-up rejection.

Definition at line 129 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetRunMode(), and SetRunMode().

Bool_t AliAnalysisTaskPIDV0base::fStoreMotherIndex
protected

Pointer to array with tags for identified particles from V0 decays.

Definition at line 150 of file AliAnalysisTaskPIDV0base.h.

Referenced by FillV0PIDlist(), GetStoreMotherIndex(), GetV0motherIndex(), and SetStoreMotherIndex().

TPCcutType AliAnalysisTaskPIDV0base::fTPCcutType
protected
AliAnalysisFilter* AliAnalysisTaskPIDV0base::fTrackFilter
protected

Can be used to statistically determine the shape in the pt bins e.g.

Definition at line 144 of file AliAnalysisTaskPIDV0base.h.

Referenced by GetTrackFilter(), AliAnalysisTaskPID::PrintSettings(), SetTrackFilter(), AliAnalysisTaskPID::UserExec(), and ~AliAnalysisTaskPIDV0base().

Bool_t AliAnalysisTaskPIDV0base::fUsePhiCut
protected
AliESDv0KineCuts* AliAnalysisTaskPIDV0base::fV0KineCuts
protected

PID response Handler.

Definition at line 125 of file AliAnalysisTaskPIDV0base.h.

Referenced by FillV0PIDlist(), UserCreateOutputObjects(), and ~AliAnalysisTaskPIDV0base().

Int_t* AliAnalysisTaskPIDV0base::fV0motherIndex
protected
Char_t* AliAnalysisTaskPIDV0base::fV0tags
protected
Double_t AliAnalysisTaskPIDV0base::fZvtxCutEvent
protected

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