AliPhysics  5dd2c10 (5dd2c10)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskSELc2pK0sfromAODtracks Class Reference

#include <AliAnalysisTaskSELc2pK0sfromAODtracks.h>

Inheritance diagram for AliAnalysisTaskSELc2pK0sfromAODtracks:

Public Member Functions

 AliAnalysisTaskSELc2pK0sfromAODtracks ()
 
 AliAnalysisTaskSELc2pK0sfromAODtracks (const Char_t *name, AliRDHFCutsLctopK0sfromAODtracks *cuts, Bool_t writeVariableTree=kTRUE)
 
virtual ~AliAnalysisTaskSELc2pK0sfromAODtracks ()
 
virtual void UserCreateOutputObjects ()
 Implementation of interface methods. More...
 
virtual void Init ()
 
virtual void LocalInit ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *option)
 
void FillROOTObjects (AliAODRecoCascadeHF *lcobj, AliAODMCParticle *mcpart, AliAODMCParticle *mcdau1, AliAODMCParticle *mcdau2, Int_t mcnused)
 
void MakeAnalysis (AliAODEvent *aod, TClonesArray *mcArray)
 
void SetMC (Bool_t theMCon)
 set MC usage More...
 
Bool_t GetMC () const
 
void SetReconstructPrimVert (Bool_t a)
 
AliAODRecoCascadeHFMakeCascadeHF (AliAODv0 *casc, AliAODTrack *trk, AliAODEvent *aod, AliAODVertex *vert)
 
AliAODVertex * ReconstructSecondaryVertex (AliAODv0 *casc, AliAODTrack *trk, AliAODEvent *aod)
 

Private Member Functions

 AliAnalysisTaskSELc2pK0sfromAODtracks (const AliAnalysisTaskSELc2pK0sfromAODtracks &source)
 
AliAnalysisTaskSELc2pK0sfromAODtracksoperator= (const AliAnalysisTaskSELc2pK0sfromAODtracks &source)
 
void DefineTreeVariables ()
 
void DefineGeneralHistograms ()
 
void DefineAnalysisHistograms ()
 
AliAODVertex * CallPrimaryVertex (AliAODv0 *v0, AliAODTrack *trk, AliAODEvent *evt)
 
AliAODVertex * PrimaryVertex (const TObjArray *trkArray, AliVEvent *event)
 

Private Attributes

Bool_t fUseMCInfo
 
TList * fOutput
 Use MC info. More...
 
TList * fOutputAll
 ! User Output slot 3 //analysis histograms More...
 
TList * fListCuts
 ! User output slot 2 // Cuts More...
 
TH1F * fCEvents
 ! Histogram to check selected events More...
 
TH1F * fHTrigger
 ! Histogram to check Trigger More...
 
TH1F * fHCentrality
 ! Histogram to check Centrality More...
 
AliRDHFCutsLctopK0sfromAODtracksfAnalCuts
 
Bool_t fIsEventSelected
 Cuts - sent to output slot 2. More...
 
Bool_t fWriteVariableTree
 flag for event selected More...
 
TTree * fVariablesTree
 flag to decide whether to write the candidate variables on a tree variables More...
 
Bool_t fReconstructPrimVert
 
Bool_t fIsMB
 Reconstruct primary vertex excluding candidate tracks. More...
 
Bool_t fIsSemi
 MB trigger event. More...
 
Bool_t fIsCent
 SemiCentral trigger event. More...
 
Bool_t fIsINT7
 Central trigger event. More...
 
Bool_t fIsEMC7
 INT7 trigger event. More...
 
Float_t * fCandidateVariables
 EMC7 trigger event. More...
 
AliAODVertex * fVtx1
 
AliESDVertex * fV1
 primary vertex More...
 
Double_t fBzkG
 primary vertex More...
 
Float_t fCentrality
 magnetic field value [kG] More...
 
Float_t fTriggerCheck
 Centrality. More...
 
THnSparse * fHistoLcK0SpMass
 Stores trigger information. More...
 
TH1F * fHistoBachPt
 Lc mass spectra. More...
 
TH1F * fHistod0Bach
 ! Bachelor d0 histogram More...
 
TH1F * fHistod0V0
 ! V0 d0 histogram More...
 
TH1F * fHistod0d0
 ! Bachelor d0 * V0 d0 histogram More...
 
TH1F * fHistoV0CosPA
 ! V0 cosine pointing angle to primary vertex More...
 
TH1F * fHistoProbProton
 ! Probability to be proton histogram More...
 
TH1F * fHistoDecayLength
 ! Decay length histogram More...
 
TH1F * fHistoK0SMass
 ! K0s mass histogram More...
 

Detailed Description

Definition at line 38 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Constructor & Destructor Documentation

AliAnalysisTaskSELc2pK0sfromAODtracks::AliAnalysisTaskSELc2pK0sfromAODtracks ( )

Definition at line 92 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

AliAnalysisTaskSELc2pK0sfromAODtracks::AliAnalysisTaskSELc2pK0sfromAODtracks ( const Char_t *  name,
AliRDHFCutsLctopK0sfromAODtracks cuts,
Bool_t  writeVariableTree = kTRUE 
)

Definition at line 133 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

AliAnalysisTaskSELc2pK0sfromAODtracks::~AliAnalysisTaskSELc2pK0sfromAODtracks ( )
virtual

Definition at line 185 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

AliAnalysisTaskSELc2pK0sfromAODtracks::AliAnalysisTaskSELc2pK0sfromAODtracks ( const AliAnalysisTaskSELc2pK0sfromAODtracks source)
private

Member Function Documentation

AliAODVertex * AliAnalysisTaskSELc2pK0sfromAODtracks::CallPrimaryVertex ( AliAODv0 *  v0,
AliAODTrack *  trk,
AliAODEvent *  evt 
)
private
void AliAnalysisTaskSELc2pK0sfromAODtracks::DefineAnalysisHistograms ( )
private

Definition at line 730 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Referenced by UserCreateOutputObjects().

void AliAnalysisTaskSELc2pK0sfromAODtracks::DefineGeneralHistograms ( )
private

Definition at line 678 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Referenced by UserCreateOutputObjects().

void AliAnalysisTaskSELc2pK0sfromAODtracks::DefineTreeVariables ( )
private

Definition at line 630 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Referenced by UserCreateOutputObjects().

void AliAnalysisTaskSELc2pK0sfromAODtracks::FillROOTObjects ( AliAODRecoCascadeHF lcobj,
AliAODMCParticle *  mcpart,
AliAODMCParticle *  mcdau1,
AliAODMCParticle *  mcdau2,
Int_t  mcnused 
)

Definition at line 531 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::GetMC ( ) const
inline

Definition at line 58 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

void AliAnalysisTaskSELc2pK0sfromAODtracks::Init ( )
virtual

Definition at line 220 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Referenced by LocalInit().

virtual void AliAnalysisTaskSELc2pK0sfromAODtracks::LocalInit ( )
inlinevirtual

Definition at line 48 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

void AliAnalysisTaskSELc2pK0sfromAODtracks::MakeAnalysis ( AliAODEvent *  aod,
TClonesArray *  mcArray 
)

Definition at line 424 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Referenced by UserExec().

AliAODRecoCascadeHF * AliAnalysisTaskSELc2pK0sfromAODtracks::MakeCascadeHF ( AliAODv0 *  casc,
AliAODTrack *  trk,
AliAODEvent *  aod,
AliAODVertex *  vert 
)

Definition at line 770 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

AliAnalysisTaskSELc2pK0sfromAODtracks& AliAnalysisTaskSELc2pK0sfromAODtracks::operator= ( const AliAnalysisTaskSELc2pK0sfromAODtracks source)
private
AliAODVertex * AliAnalysisTaskSELc2pK0sfromAODtracks::PrimaryVertex ( const TObjArray *  trkArray,
AliVEvent *  event 
)
private

Definition at line 902 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Referenced by CallPrimaryVertex().

AliAODVertex * AliAnalysisTaskSELc2pK0sfromAODtracks::ReconstructSecondaryVertex ( AliAODv0 *  casc,
AliAODTrack *  trk,
AliAODEvent *  aod 
)

Definition at line 1017 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

void AliAnalysisTaskSELc2pK0sfromAODtracks::SetMC ( Bool_t  theMCon)
inline

set MC usage

Definition at line 57 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by AddTaskLc2pK0sfromAODtracks().

void AliAnalysisTaskSELc2pK0sfromAODtracks::SetReconstructPrimVert ( Bool_t  a)
inline

Definition at line 60 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by AddTaskLc2pK0sfromAODtracks().

void AliAnalysisTaskSELc2pK0sfromAODtracks::Terminate ( Option_t *  option)
virtual

Definition at line 364 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

void AliAnalysisTaskSELc2pK0sfromAODtracks::UserCreateOutputObjects ( )
virtual

Implementation of interface methods.

Definition at line 391 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

void AliAnalysisTaskSELc2pK0sfromAODtracks::UserExec ( Option_t *  option)
virtual

Definition at line 240 of file AliAnalysisTaskSELc2pK0sfromAODtracks.cxx.

Member Data Documentation

AliRDHFCutsLctopK0sfromAODtracks* AliAnalysisTaskSELc2pK0sfromAODtracks::fAnalCuts
private
Double_t AliAnalysisTaskSELc2pK0sfromAODtracks::fBzkG
private

primary vertex

Definition at line 98 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by MakeCascadeHF(), ReconstructSecondaryVertex(), and UserExec().

Float_t* AliAnalysisTaskSELc2pK0sfromAODtracks::fCandidateVariables
private

EMC7 trigger event.

! variables to be written to the tree

Definition at line 95 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineTreeVariables(), and FillROOTObjects().

Float_t AliAnalysisTaskSELc2pK0sfromAODtracks::fCentrality
private

magnetic field value [kG]

Definition at line 99 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by FillROOTObjects(), and UserExec().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fCEvents
private

! Histogram to check selected events

Definition at line 82 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineGeneralHistograms(), and UserExec().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHCentrality
private

! Histogram to check Centrality

Definition at line 84 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineGeneralHistograms(), and UserExec().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistoBachPt
private

Lc mass spectra.

! Bachelor pT histogram

Definition at line 105 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistod0Bach
private

! Bachelor d0 histogram

Definition at line 106 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistod0d0
private

! Bachelor d0 * V0 d0 histogram

Definition at line 108 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistod0V0
private

! V0 d0 histogram

Definition at line 107 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistoDecayLength
private

! Decay length histogram

Definition at line 111 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistoK0SMass
private

! K0s mass histogram

Definition at line 112 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

THnSparse* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistoLcK0SpMass
private

Stores trigger information.

Definition at line 103 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistoProbProton
private

! Probability to be proton histogram

Definition at line 110 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHistoV0CosPA
private

! V0 cosine pointing angle to primary vertex

Definition at line 109 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), and FillROOTObjects().

TH1F* AliAnalysisTaskSELc2pK0sfromAODtracks::fHTrigger
private

! Histogram to check Trigger

Definition at line 83 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineGeneralHistograms(), and UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fIsCent
private

SemiCentral trigger event.

Definition at line 92 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fIsEMC7
private

INT7 trigger event.

Definition at line 94 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fIsEventSelected
private

Cuts - sent to output slot 2.

Definition at line 86 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by Init(), and UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fIsINT7
private

Central trigger event.

Definition at line 93 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fIsMB
private

Reconstruct primary vertex excluding candidate tracks.

Definition at line 90 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fIsSemi
private

MB trigger event.

Definition at line 91 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by UserExec().

TList* AliAnalysisTaskSELc2pK0sfromAODtracks::fListCuts
private

! User output slot 2 // Cuts

Definition at line 81 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by Init(), and ~AliAnalysisTaskSELc2pK0sfromAODtracks().

TList* AliAnalysisTaskSELc2pK0sfromAODtracks::fOutput
private

Use MC info.

! User output slot 1 // general histos

Definition at line 79 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineGeneralHistograms(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSELc2pK0sfromAODtracks().

TList* AliAnalysisTaskSELc2pK0sfromAODtracks::fOutputAll
private

! User Output slot 3 //analysis histograms

Definition at line 80 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineAnalysisHistograms(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSELc2pK0sfromAODtracks().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fReconstructPrimVert
private
Float_t AliAnalysisTaskSELc2pK0sfromAODtracks::fTriggerCheck
private

Centrality.

Definition at line 100 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by UserExec().

Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fUseMCInfo
private

Definition at line 78 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by FillROOTObjects(), GetMC(), SetMC(), and UserExec().

AliESDVertex* AliAnalysisTaskSELc2pK0sfromAODtracks::fV1
private

primary vertex

Definition at line 97 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by PrimaryVertex(), and UserExec().

TTree* AliAnalysisTaskSELc2pK0sfromAODtracks::fVariablesTree
private

flag to decide whether to write the candidate variables on a tree variables

! tree of the candidate variables after track selection on output slot 4

Definition at line 88 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by DefineTreeVariables(), FillROOTObjects(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSELc2pK0sfromAODtracks().

AliAODVertex* AliAnalysisTaskSELc2pK0sfromAODtracks::fVtx1
private
Bool_t AliAnalysisTaskSELc2pK0sfromAODtracks::fWriteVariableTree
private

flag for event selected

Definition at line 87 of file AliAnalysisTaskSELc2pK0sfromAODtracks.h.

Referenced by FillROOTObjects(), Terminate(), UserCreateOutputObjects(), and UserExec().


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