AliPhysics  0bb4a45 (0bb4a45)
AliAnalysisTaskSELc2V0bachelor Class Reference

#include <AliAnalysisTaskSELc2V0bachelor.h>

Inheritance diagram for AliAnalysisTaskSELc2V0bachelor:

Public Member Functions

 AliAnalysisTaskSELc2V0bachelor ()
 
 AliAnalysisTaskSELc2V0bachelor (const Char_t *name, AliRDHFCutsLctoV0 *cuts, Bool_t useOnTheFly=kFALSE, Bool_t writeVariableTree=kTRUE, Bool_t additionalChecks=kFALSE, Bool_t trackRotation=kFALSE, Bool_t useTPCpid=kFALSE, Char_t sign=2, Bool_t checkOrigin=kFALSE)
 
virtual ~AliAnalysisTaskSELc2V0bachelor ()
 
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 FillLc2pK0Sspectrum (AliAODRecoCascadeHF *part, Int_t isLc, Int_t &nSelectedAnal, AliRDHFCutsLctoV0 *cutsAnal, TClonesArray *mcArray, Int_t originLc)
 histos More...
 
void MakeAnalysisForLc2prK0S (AliAODEvent *aodEvent, TClonesArray *arrayLctopK0S, TClonesArray *mcArray, Int_t &nSelectedAnal, AliRDHFCutsLctoV0 *cutsAnal)
 
void MakeSingleAnalysisForSystK0SP (AliAODEvent *aodEvent, TClonesArray *mcArray, AliRDHFCutsLctoV0 *cutsAnal)
 
void SetGenerateBGEventFromTracks (Int_t a)
 
Int_t GetPoolIndex (Double_t zvert, Double_t mult)
 
void DoEventMixing (AliAODEvent *aodEvent, TClonesArray *mcArray, AliRDHFCutsLctoV0 *cutsAnal)
 
void FillMixedBackground (std::vector< TVector * > mixTypePVars, AliAODEvent *aod, AliRDHFCutsLctoV0 *cutsAnal)
 
void DoRotationFromTrack (AliAODEvent *aodEvent, TClonesArray *mcArray, AliRDHFCutsLctoV0 *cutsAnal)
 
void SetMC (Bool_t theMCon)
 set MC usage More...
 
Bool_t GetMC () const
 
void SetAdditionalChecks (Bool_t additionalChecks)
 set flag for additional checks More...
 
Bool_t GetAdditionalChecks () const
 
void SetFillSubSampleHist (Bool_t subChecks)
 
Bool_t GetFillSubSampleHist () const
 
void FillArmPodDistribution (AliAODRecoDecay *vZero, TString histoTitle, Bool_t isCandidateSelectedCuts, Bool_t isBachelorID)
 
void SetUseOnTheFlyV0 (Bool_t a)
 
Bool_t GetUseOnTheFlyV0 ()
 
Int_t MatchToMClabelC (AliAODRecoCascadeHF *candidate, TClonesArray *mcArray)
 
void SetNRotations (Int_t nRot=9)
 
Int_t GetNRotations ()
 
void SetPtMinToFillTheTree (Double_t pTmin=0.)
 
void SetPtMaxToFillTheTree (Double_t pTmax=999.)
 
Double_t GetPtMinToFillTheTree ()
 
Double_t GetPtMaxToFillTheTree ()
 
void SetMinAngleForRot (Double_t min=5.*TMath::Pi()/6.)
 
void SetMaxAngleForRot (Double_t max=7.*TMath::Pi()/6.)
 
Double_t GetMinAngleForRot ()
 
Double_t GetMaxAngleForRot ()
 
void SetUseTPCPIDtoFillTree (Bool_t a)
 
Bool_t GetUseTPCPIDtoFillTree () const
 
void SetSign (Char_t sign)
 set MC usage More...
 
Char_t GetSign () const
 
void SetCheckOrigin (Bool_t origin)
 
Bool_t GetCheckOrigin () const
 
void ReconstructSecVtx (Bool_t dummy=kTRUE)
 
Bool_t GetReconstructSecVtx () const
 
void SetDoSingleAnalysisForSystK0SP (Int_t a)
 
Int_t GetDoSingleAnalysisForSystK0SP ()
 
void SetAODMismatchProtection (Int_t opt=1)
 

Private Member Functions

void CheckEventSelection (AliAODEvent *aodEvent)
 
void CheckEventSelectionWithCandidates (AliAODEvent *aodEvent)
 
void CheckCandidatesAtDifferentLevels (AliAODRecoCascadeHF *part, AliRDHFCutsLctoV0 *cutsAnal)
 
void FillTheTree (AliAODRecoCascadeHF *part, AliRDHFCutsLctoV0 *cutsAnal, TClonesArray *mcArray, Int_t isLc, Int_t originLc)
 
void DefineTreeVariables ()
 
Int_t MatchToMC (AliAODRecoCascadeHF *lc2bacV0, Int_t *pdgDgLc2bacV0, Int_t *pdgDgV0, TClonesArray *mcArray)
 
Int_t SearchLcDaughter (TClonesArray *arrayMC, Int_t iii)
 
void DefineGeneralHistograms ()
 
void DefineK0SHistos ()
 
void DefineSignalHistosSeparatedPerOrigin ()
 
void FillAnalysisHistograms (AliAODRecoCascadeHF *part, AliRDHFCutsLctoV0 *cutsAnal, TString appendthis)
 
void TrackRotation (AliRDHFCutsLctoV0 *cutsAnal, AliAODRecoCascadeHF *part, TString appendthis)
 
 AliAnalysisTaskSELc2V0bachelor (const AliAnalysisTaskSELc2V0bachelor &source)
 
AliAnalysisTaskSELc2V0bacheloroperator= (const AliAnalysisTaskSELc2V0bachelor &source)
 
Double_t Det (Double_t a00, Double_t a01, Double_t a10, Double_t a11) const
 
Double_t Det (Double_t a00, Double_t a01, Double_t a02, Double_t a10, Double_t a11, Double_t a12, Double_t a20, Double_t a21, Double_t a22) const
 
Double_t PropagateToDCA (AliAODv0 *v, AliAODTrack *bachelor, Double_t b, Double_t &xVtxLc, Double_t &yVtxLc, Double_t &zVtxLc, Double_t &pxVtxLc, Double_t &pyVtxLc, Double_t &pzVtxLc)
 
Double_t GetAlpha (Double_t xyz[3], Double_t pxpypz[3])
 
Int_t SearchForCommonMother (TClonesArray *mcArray, Int_t dgLabels[10], Int_t ndg, Int_t &ndgCk, Int_t *pdgDg, Int_t &labelMother, Int_t &nDauCand) const
 

Private Attributes

Bool_t fUseMCInfo
 
TListfOutput
 Use MC info. More...
 
TListfOutputAll
 User output slot 1 // general histos. More...
 
TListfOutputPIDBach
 User output slot 4 // histos without pid and cut on V0. More...
 
TH1F * fCEvents
 User output slot 5 // histos with PID on Bachelor. More...
 
Int_t fEventCounter
 Histogram to check selected events. More...
 
AliNormalizationCounterfCounter
 Event counter for sub sample test. More...
 
AliRDHFCutsLctoV0fAnalCuts
 AliNormalizationCounter on output slot 2. More...
 
Bool_t fUseOnTheFlyV0
 Cuts - sent to output slot 3. More...
 
Int_t fAODProtection
 flag to analyze also on-the-fly V0 candidates More...
 
Bool_t fIsEventSelected
 flag to activate protection against AOD-dAOD mismatch. More...
 
Bool_t fWriteVariableTree
 flag for event selected More...
 
TTreefVariablesTree
 flag to decide whether to write the candidate variables on a tree variables More...
 
Float_tfCandidateVariables
 ! variables to be written to the tree More...
 
AliAODVertex * fVtx1
 
Float_t fBzkG
 primary vertex More...
 
Bool_t fAdditionalChecks
 magnetic field value [kG] More...
 
Bool_t fFillSubSampleHist
 flag to fill additional histograms More...
 
Bool_t fTrackRotation
 flag to fill subsample histograms More...
 
TListfOutputPIDBachTR
 flag to check track rotation More...
 
Double_t fMinAngleForRot
 User output slot 6 // histos with PID on Bachelor and track rotation. More...
 
Double_t fMaxAngleForRot
 =5*TMath::Pi()/6; More...
 
Double_t fMinMass
 =7*TMath::Pi()/6; More...
 
Double_t fMaxMass
 =mLcPDG-0.250; More...
 
Int_t fNRotations
 =mLcPDG+0.250; More...
 
Double_t fPtMinToFillTheTree
 =9; More...
 
Double_t fPtMaxToFillTheTree
 0. More...
 
Bool_t fUseTPCPIDtoFillTree
 
Char_t fSign
 kFALSE More...
 
Bool_t fCheckOrigin
 
Bool_t fReconstructSecVtx
 
Int_t fDoSingleAnalysisForSystK0SP
 
Int_t fGenerateBGEventFromTracks
 Analyze p,K,D for syst (0:off, 1:on, 2:only single ana) More...
 
Int_t fNumberOfEventsForMixing
 flag for (1) event mixing or (2) track rotation from tracks More...
 
Int_t fNzVtxBins
 maximum number of events to be used in event mixing More...
 
Double_t fZvtxBins [100]
 number of z vrtx bins More...
 
Int_t fNCentBins
 
Double_t fCentBins [100]
 number of centrality bins More...
 
Int_t fNOfPools
 
Int_t fPoolIndex
 number of pools More...
 
std::vector< Int_tfNextResVec
 pool index More...
 
std::vector< Bool_tfReservoirsReady
 ! Vector storing if the reservoirs are ready More...
 
std::vector< std::vector< std::vector< TVector * > > > fReservoirP
 ! reservoir More...
 

Detailed Description

Definition at line 38 of file AliAnalysisTaskSELc2V0bachelor.h.

Constructor & Destructor Documentation

AliAnalysisTaskSELc2V0bachelor::AliAnalysisTaskSELc2V0bachelor ( )

Default ctor

Definition at line 82 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection().

AliAnalysisTaskSELc2V0bachelor::AliAnalysisTaskSELc2V0bachelor ( const Char_t name,
AliRDHFCutsLctoV0 cuts,
Bool_t  useOnTheFly = kFALSE,
Bool_t  writeVariableTree = kTRUE,
Bool_t  additionalChecks = kFALSE,
Bool_t  trackRotation = kFALSE,
Bool_t  useTPCpid = kFALSE,
Char_t  sign = 2,
Bool_t  checkOrigin = kFALSE 
)

Constructor. Initialization of Inputs and Outputs

Definition at line 137 of file AliAnalysisTaskSELc2V0bachelor.cxx.

AliAnalysisTaskSELc2V0bachelor::~AliAnalysisTaskSELc2V0bachelor ( )
virtual

destructor

Definition at line 220 of file AliAnalysisTaskSELc2V0bachelor.cxx.

AliAnalysisTaskSELc2V0bachelor::AliAnalysisTaskSELc2V0bachelor ( const AliAnalysisTaskSELc2V0bachelor source)
private

Member Function Documentation

void AliAnalysisTaskSELc2V0bachelor::CheckCandidatesAtDifferentLevels ( AliAODRecoCascadeHF part,
AliRDHFCutsLctoV0 cutsAnal 
)
private

This is to check candidates at different levels

Definition at line 3494 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by FillLc2pK0Sspectrum(), and SetAODMismatchProtection().

void AliAnalysisTaskSELc2V0bachelor::CheckEventSelection ( AliAODEvent aodEvent)
private

To fill control histograms

Definition at line 3037 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection(), and UserExec().

void AliAnalysisTaskSELc2V0bachelor::CheckEventSelectionWithCandidates ( AliAODEvent aodEvent)
private

To fill control histograms

Definition at line 3165 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection(), and UserExec().

void AliAnalysisTaskSELc2V0bachelor::DefineGeneralHistograms ( )
private

This is to define general histograms

Definition at line 4142 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection(), and UserCreateOutputObjects().

void AliAnalysisTaskSELc2V0bachelor::DefineK0SHistos ( )
private
void AliAnalysisTaskSELc2V0bachelor::DefineSignalHistosSeparatedPerOrigin ( )
private
void AliAnalysisTaskSELc2V0bachelor::DefineTreeVariables ( )
private

This is to define tree variables

Definition at line 4020 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskSELc2V0bachelor::Det ( Double_t  a00,
Double_t  a01,
Double_t  a10,
Double_t  a11 
) const
private

This function calculates locally a 2x2 determinant. This is a copy of the AliCascadeVertexer::Det(...) method

Definition at line 4638 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by Det(), PropagateToDCA(), and SetAODMismatchProtection().

Double_t AliAnalysisTaskSELc2V0bachelor::Det ( Double_t  a00,
Double_t  a01,
Double_t  a02,
Double_t  a10,
Double_t  a11,
Double_t  a12,
Double_t  a20,
Double_t  a21,
Double_t  a22 
) const
private

This function calculates locally a 3x3 determinant This is a copy of the AliCascadeVertexer::Det(...) method

Definition at line 4648 of file AliAnalysisTaskSELc2V0bachelor.cxx.

void AliAnalysisTaskSELc2V0bachelor::DoEventMixing ( AliAODEvent aodEvent,
TClonesArray *  mcArray,
AliRDHFCutsLctoV0 cutsAnal 
)

Definition at line 2753 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetGenerateBGEventFromTracks(), and UserExec().

void AliAnalysisTaskSELc2V0bachelor::DoRotationFromTrack ( AliAODEvent aodEvent,
TClonesArray *  mcArray,
AliRDHFCutsLctoV0 cutsAnal 
)

Definition at line 2828 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetGenerateBGEventFromTracks(), and UserExec().

void AliAnalysisTaskSELc2V0bachelor::FillAnalysisHistograms ( AliAODRecoCascadeHF part,
AliRDHFCutsLctoV0 cutsAnal,
TString  appendthis 
)
private
void AliAnalysisTaskSELc2V0bachelor::FillArmPodDistribution ( AliAODRecoDecay *  vZero,
TString  histoTitle,
Bool_t  isCandidateSelectedCuts,
Bool_t  isBachelorID 
)

This is to fill Armenteros Podolanski plots

Definition at line 3473 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by FillLc2pK0Sspectrum(), and GetFillSubSampleHist().

void AliAnalysisTaskSELc2V0bachelor::FillLc2pK0Sspectrum ( AliAODRecoCascadeHF part,
Int_t  isLc,
Int_t nSelectedAnal,
AliRDHFCutsLctoV0 cutsAnal,
TClonesArray *  mcArray,
Int_t  originLc 
)

histos

Fill histos for Lc -> K0S+proton

Definition at line 712 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by LocalInit(), and MakeAnalysisForLc2prK0S().

void AliAnalysisTaskSELc2V0bachelor::FillMixedBackground ( std::vector< TVector * >  mixTypePVars,
AliAODEvent aod,
AliRDHFCutsLctoV0 cutsAnal 
)
void AliAnalysisTaskSELc2V0bachelor::FillTheTree ( AliAODRecoCascadeHF part,
AliRDHFCutsLctoV0 cutsAnal,
TClonesArray *  mcArray,
Int_t  isLc,
Int_t  originLc 
)
private

This is to fill tree

Definition at line 3573 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by FillLc2pK0Sspectrum(), and SetAODMismatchProtection().

Bool_t AliAnalysisTaskSELc2V0bachelor::GetAdditionalChecks ( ) const
inline

Definition at line 79 of file AliAnalysisTaskSELc2V0bachelor.h.

Double_t AliAnalysisTaskSELc2V0bachelor::GetAlpha ( Double_t  xyz[3],
Double_t  pxpypz[3] 
)
private

To estimate alpha according to what done in the AliExternalTrackParam::Set(...) method

Definition at line 4599 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection().

Bool_t AliAnalysisTaskSELc2V0bachelor::GetCheckOrigin ( ) const
inline

Definition at line 113 of file AliAnalysisTaskSELc2V0bachelor.h.

Int_t AliAnalysisTaskSELc2V0bachelor::GetDoSingleAnalysisForSystK0SP ( )
inline

Definition at line 120 of file AliAnalysisTaskSELc2V0bachelor.h.

Bool_t AliAnalysisTaskSELc2V0bachelor::GetFillSubSampleHist ( ) const
inline

Definition at line 82 of file AliAnalysisTaskSELc2V0bachelor.h.

Double_t AliAnalysisTaskSELc2V0bachelor::GetMaxAngleForRot ( )
inline

Definition at line 103 of file AliAnalysisTaskSELc2V0bachelor.h.

Bool_t AliAnalysisTaskSELc2V0bachelor::GetMC ( ) const
inline

Definition at line 75 of file AliAnalysisTaskSELc2V0bachelor.h.

Double_t AliAnalysisTaskSELc2V0bachelor::GetMinAngleForRot ( )
inline

Definition at line 102 of file AliAnalysisTaskSELc2V0bachelor.h.

Int_t AliAnalysisTaskSELc2V0bachelor::GetNRotations ( )
inline

Definition at line 93 of file AliAnalysisTaskSELc2V0bachelor.h.

Int_t AliAnalysisTaskSELc2V0bachelor::GetPoolIndex ( Double_t  zvert,
Double_t  mult 
)
Double_t AliAnalysisTaskSELc2V0bachelor::GetPtMaxToFillTheTree ( )
inline

Definition at line 98 of file AliAnalysisTaskSELc2V0bachelor.h.

Double_t AliAnalysisTaskSELc2V0bachelor::GetPtMinToFillTheTree ( )
inline

Definition at line 97 of file AliAnalysisTaskSELc2V0bachelor.h.

Bool_t AliAnalysisTaskSELc2V0bachelor::GetReconstructSecVtx ( ) const
inline

Definition at line 117 of file AliAnalysisTaskSELc2V0bachelor.h.

Char_t AliAnalysisTaskSELc2V0bachelor::GetSign ( ) const
inline

Definition at line 110 of file AliAnalysisTaskSELc2V0bachelor.h.

Bool_t AliAnalysisTaskSELc2V0bachelor::GetUseOnTheFlyV0 ( )
inline

Definition at line 87 of file AliAnalysisTaskSELc2V0bachelor.h.

Bool_t AliAnalysisTaskSELc2V0bachelor::GetUseTPCPIDtoFillTree ( ) const
inline

Definition at line 106 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::Init ( )
virtual

Initialization

Definition at line 263 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by LocalInit().

virtual void AliAnalysisTaskSELc2V0bachelor::LocalInit ( )
inlinevirtual

Definition at line 51 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::MakeAnalysisForLc2prK0S ( AliAODEvent aodEvent,
TClonesArray *  arrayLctopK0S,
TClonesArray *  mcArray,
Int_t nSelectedAnal,
AliRDHFCutsLctoV0 cutsAnal 
)

make the analysis

Definition at line 563 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSELc2V0bachelor::MakeSingleAnalysisForSystK0SP ( AliAODEvent aodEvent,
TClonesArray *  mcArray,
AliRDHFCutsLctoV0 cutsAnal 
)

Definition at line 2351 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by LocalInit(), and UserExec().

Int_t AliAnalysisTaskSELc2V0bachelor::MatchToMC ( AliAODRecoCascadeHF lc2bacV0,
Int_t pdgDgLc2bacV0,
Int_t pdgDgV0,
TClonesArray *  mcArray 
)
private

This is now implemented in AliAODRecoCascadeHF

Definition at line 3236 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by SetAODMismatchProtection().

Int_t AliAnalysisTaskSELc2V0bachelor::MatchToMClabelC ( AliAODRecoCascadeHF candidate,
TClonesArray *  mcArray 
)

Check if this candidate is matched to a MC signal Lc -> p K0S + X If no, return -1 If yes, return label (>=0) of the AliAODMCParticle

Definition at line 4659 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by GetUseOnTheFlyV0().

AliAnalysisTaskSELc2V0bachelor& AliAnalysisTaskSELc2V0bachelor::operator= ( const AliAnalysisTaskSELc2V0bachelor source)
private
Double_t AliAnalysisTaskSELc2V0bachelor::PropagateToDCA ( AliAODv0 *  v,
AliAODTrack *  bachelor,
Double_t  b,
Double_t xVtxLc,
Double_t yVtxLc,
Double_t zVtxLc,
Double_t pxVtxLc,
Double_t pyVtxLc,
Double_t pzVtxLc 
)
private

This function returns the DCA between the V0 and the track This is a copy of AliCascadeVertexer::PropagateToDCA(...) method

Definition at line 4504 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by FillTheTree(), and SetAODMismatchProtection().

void AliAnalysisTaskSELc2V0bachelor::ReconstructSecVtx ( Bool_t  dummy = kTRUE)
inline

Definition at line 116 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

Int_t AliAnalysisTaskSELc2V0bachelor::SearchForCommonMother ( TClonesArray *  mcArray,
Int_t  dgLabels[10],
Int_t  ndg,
Int_t ndgCk,
Int_t pdgDg,
Int_t labelMother,
Int_t nDauCand 
) const
private

Check if this candidate is matched to a MC signal If no, return 0 If yes, return pdgCode of particle

Definition at line 4710 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by FillTheTree(), and SetAODMismatchProtection().

Int_t AliAnalysisTaskSELc2V0bachelor::SearchLcDaughter ( TClonesArray *  arrayMC,
Int_t  iii 
)
private

This is to check Lc dinasty

Definition at line 3316 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by CheckEventSelection(), and SetAODMismatchProtection().

void AliAnalysisTaskSELc2V0bachelor::SetAdditionalChecks ( Bool_t  additionalChecks)
inline

set flag for additional checks

Definition at line 78 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetAODMismatchProtection ( Int_t  opt = 1)
inline

Definition at line 122 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetCheckOrigin ( Bool_t  origin)
inline

Definition at line 112 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetDoSingleAnalysisForSystK0SP ( Int_t  a)
inline

Definition at line 119 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetFillSubSampleHist ( Bool_t  subChecks)
inline

Definition at line 81 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetGenerateBGEventFromTracks ( Int_t  a)
inline

Definition at line 67 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetMaxAngleForRot ( Double_t  max = 7.*TMath::Pi()/6.)
inline

Definition at line 101 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetMC ( Bool_t  theMCon)
inline

set MC usage

Definition at line 74 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetMinAngleForRot ( Double_t  min = 5.*TMath::Pi()/6.)
inline

Definition at line 100 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetNRotations ( Int_t  nRot = 9)
inline

Definition at line 92 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetPtMaxToFillTheTree ( Double_t  pTmax = 999.)
inline

Definition at line 96 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetPtMinToFillTheTree ( Double_t  pTmin = 0.)
inline

Definition at line 95 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AddTaskLc2V0bachelor().

void AliAnalysisTaskSELc2V0bachelor::SetSign ( Char_t  sign)
inline

set MC usage

Definition at line 109 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetUseOnTheFlyV0 ( Bool_t  a)
inline

Definition at line 86 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::SetUseTPCPIDtoFillTree ( Bool_t  a)
inline

Definition at line 105 of file AliAnalysisTaskSELc2V0bachelor.h.

void AliAnalysisTaskSELc2V0bachelor::Terminate ( Option_t option)
virtual

Definition at line 433 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by LocalInit().

void AliAnalysisTaskSELc2V0bachelor::TrackRotation ( AliRDHFCutsLctoV0 cutsAnal,
AliAODRecoCascadeHF part,
TString  appendthis 
)
private
void AliAnalysisTaskSELc2V0bachelor::UserCreateOutputObjects ( )
virtual

Implementation of interface methods.

output

Definition at line 481 of file AliAnalysisTaskSELc2V0bachelor.cxx.

void AliAnalysisTaskSELc2V0bachelor::UserExec ( Option_t option)
virtual

user exec

Definition at line 278 of file AliAnalysisTaskSELc2V0bachelor.cxx.

Referenced by LocalInit().

Member Data Documentation

Bool_t AliAnalysisTaskSELc2V0bachelor::fAdditionalChecks
private
Int_t AliAnalysisTaskSELc2V0bachelor::fAODProtection
private

flag to analyze also on-the-fly V0 candidates

Definition at line 172 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by SetAODMismatchProtection(), and UserExec().

Float_t AliAnalysisTaskSELc2V0bachelor::fBzkG
private
Float_t* AliAnalysisTaskSELc2V0bachelor::fCandidateVariables
private

! variables to be written to the tree

Definition at line 177 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DefineTreeVariables(), and FillTheTree().

Double_t AliAnalysisTaskSELc2V0bachelor::fCentBins[100]
private

number of centrality bins

Definition at line 206 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AliAnalysisTaskSELc2V0bachelor(), GetPoolIndex(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskSELc2V0bachelor::fCEvents
private

User output slot 5 // histos with PID on Bachelor.

Definition at line 167 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by CheckEventSelection(), DefineGeneralHistograms(), MakeAnalysisForLc2prK0S(), and UserExec().

Bool_t AliAnalysisTaskSELc2V0bachelor::fCheckOrigin
private
AliNormalizationCounter* AliAnalysisTaskSELc2V0bachelor::fCounter
private

Event counter for sub sample test.

Definition at line 169 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSELc2V0bachelor().

Int_t AliAnalysisTaskSELc2V0bachelor::fDoSingleAnalysisForSystK0SP
private
Int_t AliAnalysisTaskSELc2V0bachelor::fEventCounter
private

Histogram to check selected events.

Definition at line 168 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by FillAnalysisHistograms(), and UserExec().

Bool_t AliAnalysisTaskSELc2V0bachelor::fFillSubSampleHist
private

flag to fill additional histograms

Definition at line 181 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DefineK0SHistos(), FillAnalysisHistograms(), GetFillSubSampleHist(), and SetFillSubSampleHist().

Int_t AliAnalysisTaskSELc2V0bachelor::fGenerateBGEventFromTracks
private

Analyze p,K,D for syst (0:off, 1:on, 2:only single ana)

Definition at line 201 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DefineK0SHistos(), SetGenerateBGEventFromTracks(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskSELc2V0bachelor::fIsEventSelected
private

flag to activate protection against AOD-dAOD mismatch.

Definition at line 173 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by CheckEventSelection(), CheckEventSelectionWithCandidates(), Init(), and UserExec().

Double_t AliAnalysisTaskSELc2V0bachelor::fMaxAngleForRot
private

=5*TMath::Pi()/6;

Definition at line 187 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoRotationFromTrack(), GetMaxAngleForRot(), SetMaxAngleForRot(), and TrackRotation().

Double_t AliAnalysisTaskSELc2V0bachelor::fMaxMass
private

=mLcPDG-0.250;

Definition at line 189 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AliAnalysisTaskSELc2V0bachelor(), and DefineK0SHistos().

Double_t AliAnalysisTaskSELc2V0bachelor::fMinAngleForRot
private

User output slot 6 // histos with PID on Bachelor and track rotation.

Definition at line 186 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoRotationFromTrack(), GetMinAngleForRot(), SetMinAngleForRot(), and TrackRotation().

Double_t AliAnalysisTaskSELc2V0bachelor::fMinMass
private

=7*TMath::Pi()/6;

Definition at line 188 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AliAnalysisTaskSELc2V0bachelor(), and DefineK0SHistos().

Int_t AliAnalysisTaskSELc2V0bachelor::fNCentBins
private

Definition at line 205 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by GetPoolIndex(), and UserCreateOutputObjects().

std::vector<Int_t> AliAnalysisTaskSELc2V0bachelor::fNextResVec
private

pool index

! Vector storing next reservoir ID

Definition at line 209 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoEventMixing(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskSELc2V0bachelor::fNOfPools
private

Definition at line 207 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by UserCreateOutputObjects().

Int_t AliAnalysisTaskSELc2V0bachelor::fNRotations
private
Int_t AliAnalysisTaskSELc2V0bachelor::fNumberOfEventsForMixing
private

flag for (1) event mixing or (2) track rotation from tracks

Definition at line 202 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoEventMixing(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskSELc2V0bachelor::fNzVtxBins
private

maximum number of events to be used in event mixing

Definition at line 203 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by GetPoolIndex(), and UserCreateOutputObjects().

TList* AliAnalysisTaskSELc2V0bachelor::fOutputPIDBachTR
private
Int_t AliAnalysisTaskSELc2V0bachelor::fPoolIndex
private

number of pools

Definition at line 208 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoEventMixing().

Double_t AliAnalysisTaskSELc2V0bachelor::fPtMaxToFillTheTree
private
Double_t AliAnalysisTaskSELc2V0bachelor::fPtMinToFillTheTree
private
Bool_t AliAnalysisTaskSELc2V0bachelor::fReconstructSecVtx
private
std::vector<std::vector< std::vector< TVector * > > > AliAnalysisTaskSELc2V0bachelor::fReservoirP
private

! reservoir

Definition at line 211 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoEventMixing(), DoRotationFromTrack(), and UserCreateOutputObjects().

std::vector<Bool_t> AliAnalysisTaskSELc2V0bachelor::fReservoirsReady
private

! Vector storing if the reservoirs are ready

Definition at line 210 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DoEventMixing(), and UserCreateOutputObjects().

Char_t AliAnalysisTaskSELc2V0bachelor::fSign
private
Bool_t AliAnalysisTaskSELc2V0bachelor::fTrackRotation
private
Bool_t AliAnalysisTaskSELc2V0bachelor::fUseOnTheFlyV0
private
Bool_t AliAnalysisTaskSELc2V0bachelor::fUseTPCPIDtoFillTree
private
TTree* AliAnalysisTaskSELc2V0bachelor::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 176 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by DefineTreeVariables(), FillTheTree(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSELc2V0bachelor().

Bool_t AliAnalysisTaskSELc2V0bachelor::fWriteVariableTree
private
Double_t AliAnalysisTaskSELc2V0bachelor::fZvtxBins[100]
private

number of z vrtx bins

Definition at line 204 of file AliAnalysisTaskSELc2V0bachelor.h.

Referenced by AliAnalysisTaskSELc2V0bachelor(), GetPoolIndex(), and UserCreateOutputObjects().


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