AliPhysics  vAN-20151014 (f894c76)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskNucleiYield Class Reference

This task fills histograms required to perform the analysis on the light nuclei yield. More...

#include <AliAnalysisTaskNucleiYield.h>

Inheritance diagram for AliAnalysisTaskNucleiYield:

Public Member Functions

 AliAnalysisTaskNucleiYield (TString taskname="NucleiYieldTask")
 
virtual ~AliAnalysisTaskNucleiYield ()
 
void SetParticleType (AliPID::EParticleType part)
 
void SetPDG (int pdg)
 
void SetIsMC (bool isMc)
 
void SetFillOnlyEventHistos (bool onlyEventHistos)
 
void SetRequireITSrefit (bool refit=true)
 
void SetRequireTPCrefit (bool refit=true)
 
void SetRequireNoKinks (bool nokinks=true)
 
void SetRequireITSrecPoints (int rec=4)
 
void SetRequireITSsignal (int sig=3)
 
void SetRequireTPCrecPoints (int rec=70)
 
void SetRequireTPCsignal (int sig=70)
 
void SetRequireSDDrecPoints (int rec=1)
 
void SetRequireSPDrecPoints (int rec=1)
 
void SetEtaRange (float emin, float emax)
 
void SetYRange (float ymin, float ymax)
 
void SetRequireMaxChi2 (float maxChi2=4.f)
 
void SetRequireMaxDCAxy (float maxDCA)
 
void SetRequireMaxDCAz (float maxDCA)
 
void SetRequireTPCpidSigmas (float sig)
 
void SetRequireITSpidSigmas (float sig)
 
void SetRequireMinEnergyLoss (float ecut)
 
void SetRequireMagneticField (int cut)
 
void SetRequireVetoSPD (bool veto)
 
void SetEnablePerformancePlot (bool cut)
 
void SetEnablePtCorrection (bool cut)
 
void SetDisableITSatHighPt (float pt)
 
void SetDisableTPCpidAtHighPt (float pt)
 
void SetFixForLHC14a6 (bool fix)
 
void SetCentBins (Int_t nbins, Float_t *bins)
 
void SetDCABins (Int_t nbins, Float_t min, Float_t max)
 
void SetDCABins (Int_t nbins, Float_t *bins)
 
void SetPtBins (Int_t nbins, Float_t *bins)
 
void SetCustomTPCpid (Float_t *par, Float_t sigma)
 
void SetTOFBins (Int_t nbins, Float_t min, Float_t max)
 
void SetDCAzBins (Int_t nbins, Float_t limit)
 
void SetFlatteningProbabilities (Int_t n, Float_t *probs)
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *)
 
virtual void Terminate (Option_t *)
 

Private Member Functions

 AliAnalysisTaskNucleiYield (const AliAnalysisTaskNucleiYield &source)
 
AliAnalysisTaskNucleiYieldoperator= (const AliAnalysisTaskNucleiYield &source)
 
Bool_t AcceptTrack (AliAODTrack *t, Double_t dca[2])
 
Bool_t PassesPIDSelection (AliAODTrack *t)
 
Float_t HasTOF (AliAODTrack *t)
 
Bool_t Flatten (float cent)
 
void PtCorrection (float &pt, bool positiveCharge)
 

Private Attributes

TList * fList
 Output list. More...
 
Int_t fPDG
 PDG code of the particle of interest. More...
 
Float_t fPDGMass
 PDG mass. More...
 
Float_t fPDGMassOverZ
 PDG mass over z. More...
 
Bool_t fIsMC
 Switch between MC and data. More...
 
Bool_t fFillOnlyEventHistos
 Set treu to fill only event related histograms. More...
 
AliPIDResponse * fPID
 ! PID response class More...
 
Float_t fMagField
 Magnetic field value for the current event. More...
 
AliVVertex * fPrimaryVertex
 ! Primary vertex of the current event More...
 
TList fMmc
 *(MC only)* List of matter particles More...
 
TList fAmc
 *(MC only)* List of anti-matter particles More...
 
Float_t fDCAzLimit
 Limits of the \(DCA_{z}\) histograms. More...
 
Int_t fDCAzNbins
 Number of bins used for \(DCA_{z}\) distributions. More...
 
TArrayF fPtCorrectionA
 Array containing the parametrisation of the. More...
 
TArrayF fPtCorrectionM
 Array containing the parametrisation of the. More...
 
Float_t fTOFlowBoundary
 Lower limit for the TOF mass spectra histograms. More...
 
Float_t fTOFhighBoundary
 Upper limit for the TOF mass spectra histograms. More...
 
Int_t fTOFnBins
 Number of bins used for the TOF mass spectra. More...
 
Float_t fDisableITSatHighPt
 \(p_{T}\) threshold for ITS cuts More...
 
Float_t fDisableTPCpidAtHighPt
 \(p_{T}\) threshold for TPC pid cut More...
 
Bool_t fEnablePerformance
 If true enables the task saves in the output the performance plots. More...
 
Bool_t fEnablePtCorrection
 If true enables the MC based \(p_{T}\) correction. More...
 
Bool_t fRequireITSrefit
 Cut on tracks: set true to require ITS refit. More...
 
Bool_t fRequireTPCrefit
 Cut on tracks: set true to require TPC refit. More...
 
Bool_t fRequireNoKinks
 Cut on tracks: set true to exclude tracks from kink vertices. More...
 
UShort_t fRequireITSrecPoints
 Cut on tracks: minimum number of required ITS recpoints. More...
 
UShort_t fRequireITSsignal
 Cut on tracks: minimum number of required ITS PID recpoints. More...
 
UShort_t fRequireSDDrecPoints
 Cut on tracks: minimum number of required SDD recpoints. More...
 
UShort_t fRequireSPDrecPoints
 Cut on tracks: minimum number of required SPD recpoints. More...
 
UShort_t fRequireTPCrecPoints
 Cut on tracks: minimum number of required TPC recpoints. More...
 
UShort_t fRequireTPCsignal
 Cut on tracks: minimum number of required TPC PID recpoints. More...
 
Float_t fRequireEtaMin
 Cut on tracks: minimum eta for the track. More...
 
Float_t fRequireEtaMax
 Cut on tracks: maximum eta for the track. More...
 
Float_t fRequireYmin
 Cut on tracks: mimimum y for the track (using PDG mass) More...
 
Float_t fRequireYmax
 Cut on tracks: maximum y for the track (using PDG mass) More...
 
Float_t fRequireMaxChi2
 Cut on tracks: maximum TPC \(\chi^{2}/NDF\). More...
 
Float_t fRequireMaxDCAxy
 Cut on tracks: maximum \(DCA_{xy}\) for the track. More...
 
Float_t fRequireMaxDCAz
 Cut on tracks: maximum \(DCA_{z}\) for the track. More...
 
Float_t fRequireTPCpidSigmas
 Cut on TPC PID number of sigmas. More...
 
Float_t fRequireITSpidSigmas
 Cut on ITS PID number of sigmas. More...
 
Float_t fRequireMinEnergyLoss
 Cut on the minimum energy loss counts in TPC. More...
 
Int_t fRequireMagneticField
 {0 : any magnetic field is fine, -1 : only negative magnetic field, 1 : only positive} More...
 
Bool_t fRequireVetoSPD
 Cut away all the tracks with at least 1 SPD cluster. More...
 
Bool_t fFixForLHC14a6
 Cut away all the tracks with at least 1 SPD cluster. More...
 
AliPID::EParticleType fParticle
 Particle specie. More...
 
TArrayF fCentBins
 Centrality bins. More...
 
TArrayF fDCABins
 DCA bins. More...
 
TArrayF fPtBins
 Transverse momentum bins. More...
 
TArrayF fCustomTPCpid
 Custom parametrisation of the Bethe-Bloch. More...
 
TArrayF fFlatteningProbs
 Flattening probabilities. More...
 
TH1F * fCentrality
 ! Events centrality distribution More...
 
TH1F * fFlattenedCentrality
 ! Events centrality distribution after the flattening More...
 
TH1F * fCentralityClasses
 ! Events statistics per centrality classes More...
 
TH1F * fProduction
 ! *(MC only)* Total number of produced particles More...
 
TH2F * fAITS_TPC
 ! *(MC only)* Tracks reconstructed in ITS-TPC acceptance (anti-matter) More...
 
TH2F * fAITS_TPC_TOF
 ! *(MC only)* Tracks reconstructed in ITS-TPC-TOF acceptance (anti-matter) More...
 
TH2F * fATotal
 ! *(MC only)* Particles in acceptance (anti-matter) More...
 
TH2F * fAPtCorrection
 ! *(MC only)* \(p_{T}^{rec}-p_{T}^{MC}\) as a function of \(p_{T}^{rec}\) for anti-matter More...
 
TH2F * fMITS_TPC
 ! *(MC only)* Tracks reconstructed in ITS-TPC acceptance (matter) More...
 
TH2F * fMITS_TPC_TOF
 ! *(MC only)* Tracks reconstructed in ITS-TPC-TOF acceptance (matter) More...
 
TH2F * fMTotal
 ! *(MC only)* Particles in acceptance (matter) More...
 
TH2F * fMPtCorrection
 ! *(MC only)* \(p_{T}^{rec}-p_{T}^{MC}\) as a function of \(p_{T}^{rec}\) for matter More...
 
TH3F * fMDCAPrimaryTPC
 ! *(MC only)* \(DCA_{xy}\) distribution of primaries for ITS+TPC tracks More...
 
TH3F * fMDCASecondaryTPC
 ! *(MC only)* \(DCA_{xy}\) distribution of secondaries for ITS+TPC tracks More...
 
TH3F * fMDCAPrimaryTOF
 ! *(MC only)* \(DCA_{xy}\) distribution of primaries for ITS+TPC+TOF tracks More...
 
TH3F * fMDCASecondaryTOF
 ! *(MC only)* \(DCA_{xy}\) distribution of secondaries for ITS+TPC+TOF tracks More...
 
TH3F * fATOFsignal
 ! *(Data only)* TOF signal for anti-matter More...
 
TH2F * fATPCcounts
 ! *(Data only)* TPC counts for anti-matter More...
 
TH3F * fATOFphiSignal
 ! *(Data only)* TOF signal for anti-matter as a function of \(\phi\) More...
 
TH2F * fATPCphiCounts
 ! *(Data only)* TPC counts for anti-matter as a function of \(\phi\) More...
 
TH2F * fATPCeLoss
 ! *(Data only)* TPC dE/dx for anti-matter More...
 
TH3F * fMDCAxyTPC
 ! *(Data only)* \(DCA_{xy}\) distribution for ITS+TPC tracks More...
 
TH3F * fMDCAzTPC
 ! *(Data only)* \(DCA_{z}\) distribution for ITS+TPC tracks More...
 
TH3F * fMDCAxyTOF
 ! *(Data only)* \(DCA_{xy}\) distribution for ITS+TPC+TOF tracks More...
 
TH3F * fMDCAzTOF
 ! *(Data only)* \(DCA_{z}\) distribution for ITS+TPC+TOF tracks More...
 
TH3F * fMTOFsignal
 ! *(Data only)* TOF signal for matter More...
 
TH2F * fMTPCcounts
 ! *(Data only)* TPC counts for matter More...
 
TH3F * fMTOFphiSignal
 ! *(Data only)* TOF signal for matter as a function of \(\phi\) More...
 
TH2F * fMTPCphiCounts
 ! *(Data only)* TPC counts for matter as a function of \(\phi\) More...
 
TH2F * fMTPCeLoss
 ! *(Data only)* TPC dE/dx for matter More...
 

Detailed Description

This task fills histograms required to perform the analysis on the light nuclei yield.

The histograms filled in this tasks are used by the analysis macro

Monte Carlo

There are mainly three items studied here:

  • the acceptance x efficiency;
  • the \(DCA_{xy}\) distributions with respect to the primary vertex of primary and secondary;
  • the difference of the reconstructed \(p_{T}\) with respect to the MC truth \(p_{T}\)

Data

The histograms filled in this case are:

  • TPC counts after PID cuts as a function of \(p_{T}\) and centrality;
  • TOF signal for selected tracks as a function of \(p_{T}\) and centrality;
  • the \(DCA_{xy}\) distributions for selected tracks as a function of \(p_{T}\) and centrality
Author
Maximiliano Puccio maxim.nosp@m.ilia.nosp@m.no.pu.nosp@m.ccio.nosp@m.@cern.nosp@m..ch, University and INFN Torino
Date
Feb 18, 2015

Definition at line 36 of file AliAnalysisTaskNucleiYield.h.

Constructor & Destructor Documentation

AliAnalysisTaskNucleiYield::AliAnalysisTaskNucleiYield ( TString  taskname = "NucleiYieldTask")

Standard and default constructor of the class.

Parameters
tasknameName of the task
partnameName of the analysed particle

Definition at line 71 of file AliAnalysisTaskNucleiYield.cxx.

AliAnalysisTaskNucleiYield::~AliAnalysisTaskNucleiYield ( )
virtual

Standard destructor

Definition at line 163 of file AliAnalysisTaskNucleiYield.cxx.

AliAnalysisTaskNucleiYield::AliAnalysisTaskNucleiYield ( const AliAnalysisTaskNucleiYield source)
private

Member Function Documentation

Bool_t AliAnalysisTaskNucleiYield::AcceptTrack ( AliAODTrack *  track,
Double_t  dca[2] 
)
private

This function checks whether a track passes the cuts required in this task

Parameters
trackTrack that is going to be checked
dca[2]Projections on the transverse plane and on z of the distance of closest approach of the track to the primary vertex
Returns
Boolean value: true means that the track has passed all the cuts.

ITS related cuts

Definition at line 500 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by UserExec().

Bool_t AliAnalysisTaskNucleiYield::Flatten ( float  cent)
private

This function provides the flattening of the centrality distribution. Please check the hardcoded values! It is better to provide those number by yourself: the probability is computed as

\[\mathrm{Probability}=\frac{C_{i}}{C_{ref}} \]

where \(C_{i}\) is the centrality in the bin i and \(C_{ref}\) is the centrality of the reference bin (namely the value around you want the centrality to fluctuate).

Parameters
centEvent centrality
Returns
Boolean value: true means that the event must be skipped

Definition at line 695 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by UserExec().

Float_t AliAnalysisTaskNucleiYield::HasTOF ( AliAODTrack *  track)
private

This function checks whether a track has or has not a prolongation in TOF.

Parameters
trackTrack that has to be checked
Returns
\(\beta\) of the particle, -1 means that there is no correct prolongation in TOF.

Definition at line 541 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by UserExec().

AliAnalysisTaskNucleiYield& AliAnalysisTaskNucleiYield::operator= ( const AliAnalysisTaskNucleiYield source)
private
Bool_t AliAnalysisTaskNucleiYield::PassesPIDSelection ( AliAODTrack *  t)
private

This function checks if the track passes the PID selection

Parameters
tTrack to be tested
sigmasNumber of sigmas
Returns
Boolean value: true means that the track passes the PID selection

Definition at line 628 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by UserExec().

void AliAnalysisTaskNucleiYield::PtCorrection ( float &  pt,
bool  positiveCharge 
)
private

This function provides the correction for wrongly calculated \(p_{\mathrm{T}}\).

Parameters
pt\(p_{\mathrm{T}}\) of the track
positiveChargeTrue if the track has positive sign.
Returns
void

Definition at line 726 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by UserExec().

void AliAnalysisTaskNucleiYield::SetCentBins ( Int_t  nbins,
Float_t *  bins 
)

This functions sets the centrality bins used in the analysis

Parameters
nbinsNumber of centrality bins
binsArray with nbins + 1 elements contanining the edges of the bins
Returns
void

Definition at line 566 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetCustomTPCpid ( Float_t *  par,
Float_t  sigma 
)

This function allows to set a custom parametrisation for the TPC response function

Parameters
parArray of 5 values corresponding to the Bethe Bloch parametrisation
sigmaSigma of the parametrisation
Returns
void

Definition at line 611 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetDCABins ( Int_t  nbins,
Float_t  min,
Float_t  max 
)

This functions sets the \(\mathrm{DCA}_{xy}\) bins used in the analysis

Parameters
nbinsNumber of \(\mathrm{DCA}_{xy}\) bins
binsArray with nbins + 1 elements contanining the edges of the bins
Returns
void

Definition at line 576 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetDCABins ( Int_t  nbins,
Float_t *  bins 
)

This functions sets the \(\mathrm{DCA}_{xy}\) bins used in the analysis

Parameters
nbinsNumber of \(\mathrm{DCA}_{xy}\) bins
binsArray with nbins + 1 elements contanining the edges of the bins
Returns
void

Definition at line 591 of file AliAnalysisTaskNucleiYield.cxx.

void AliAnalysisTaskNucleiYield::SetDCAzBins ( Int_t  nbins,
Float_t  limit 
)

This function sets the number of DCA \(_{z}\) bins and the boundaries of the histogram

Parameters
nbinsNumber of bins
limitBoundaries of the histogram (symmetrical with respect to zero)
Returns
void

Definition at line 670 of file AliAnalysisTaskNucleiYield.cxx.

void AliAnalysisTaskNucleiYield::SetDisableITSatHighPt ( float  pt)
inline

Definition at line 67 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetDisableTPCpidAtHighPt ( float  pt)
inline

Definition at line 68 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetEnablePerformancePlot ( bool  cut)
inline

Definition at line 65 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetEnablePtCorrection ( bool  cut)
inline

Definition at line 66 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetEtaRange ( float  emin,
float  emax 
)
inline

Definition at line 55 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetFillOnlyEventHistos ( bool  onlyEventHistos)
inline

Definition at line 44 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetFixForLHC14a6 ( bool  fix)
inline

Definition at line 69 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetFlatteningProbabilities ( Int_t  n,
Float_t *  probs 
)
inline

Definition at line 78 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetIsMC ( bool  isMc)
inline

Definition at line 43 of file AliAnalysisTaskNucleiYield.h.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetParticleType ( AliPID::EParticleType  part)

This function sets the particle type to be analysed

Parameters
partParticle type
Returns
void

Definition at line 680 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetPDG ( int  pdg)
inline

Definition at line 42 of file AliAnalysisTaskNucleiYield.h.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetPtBins ( Int_t  nbins,
Float_t *  bins 
)

This functions sets the \(p_{\mathrm{T}}\) bins used in the analysis

Parameters
nbinsNumber of \(p_{\mathrm{T}}\) bins
binsArray with nbins + 1 elements contanining the edges of the bins
Returns
void

Definition at line 601 of file AliAnalysisTaskNucleiYield.cxx.

Referenced by AddTaskNucleiYield().

void AliAnalysisTaskNucleiYield::SetRequireITSpidSigmas ( float  sig)
inline

Definition at line 61 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireITSrecPoints ( int  rec = 4)
inline

Definition at line 49 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireITSrefit ( bool  refit = true)
inline

Definition at line 46 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireITSsignal ( int  sig = 3)
inline

Definition at line 50 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireMagneticField ( int  cut)
inline

Definition at line 63 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireMaxChi2 ( float  maxChi2 = 4.f)
inline

Definition at line 57 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireMaxDCAxy ( float  maxDCA)
inline

Definition at line 58 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireMaxDCAz ( float  maxDCA)
inline

Definition at line 59 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireMinEnergyLoss ( float  ecut)
inline

Definition at line 62 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireNoKinks ( bool  nokinks = true)
inline

Definition at line 48 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireSDDrecPoints ( int  rec = 1)
inline

Definition at line 53 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireSPDrecPoints ( int  rec = 1)
inline

Definition at line 54 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireTPCpidSigmas ( float  sig)
inline

Definition at line 60 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireTPCrecPoints ( int  rec = 70)
inline

Definition at line 51 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireTPCrefit ( bool  refit = true)
inline

Definition at line 47 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireTPCsignal ( int  sig = 70)
inline

Definition at line 52 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetRequireVetoSPD ( bool  veto)
inline

Definition at line 64 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::SetTOFBins ( Int_t  nbins,
Float_t  min,
Float_t  max 
)

This function sets the number of TOF bins and the boundaries of the histograms

Parameters
nbinsNumber of bins
minLower boundary of the histogram
maxHigher boundary of the histogram
Returns
void

Definition at line 658 of file AliAnalysisTaskNucleiYield.cxx.

void AliAnalysisTaskNucleiYield::SetYRange ( float  ymin,
float  ymax 
)
inline

Definition at line 56 of file AliAnalysisTaskNucleiYield.h.

void AliAnalysisTaskNucleiYield::Terminate ( Option_t *  )
virtual

Merge the output. Called once at the end of the query.

Returns
void

Definition at line 489 of file AliAnalysisTaskNucleiYield.cxx.

void AliAnalysisTaskNucleiYield::UserCreateOutputObjects ( )
virtual

This function creates all the histograms and all the objects in general used during the analysis

Returns
void

Definition at line 171 of file AliAnalysisTaskNucleiYield.cxx.

void AliAnalysisTaskNucleiYield::UserExec ( Option_t *  )
virtual

This is the function that is evaluated for each event. The analysis code stays here.

Parameters
optionsDeprecated parameter
Returns
void

The first check performed is on the particle type requested. If this type is AliPID::Unknown - the default one - the task does not process the information.

If the setup is fine the current event is loaded in memory together with the analysis manager and the event handler.

The first check perfomed is on the physics selection output stored in the mask given by the handler.

This mask contains also the information about the trigger of this events. For this analysis central, semi-central and minimum bias events are kept.

To perform the majority of the analysis - and also this one - the standard PID handler is required.

The centrality selection in PbPb uses the percentile determined with V0.

In this step only events with centralities between 0% and 80% are kept.

Primary vertex displacement cut. This cut is harcoded and it is equal to 10 cm of max displacement in z with respect to the center of the coordinate system.

The magnetic field cut - enabled only if fRequireMagneticField \(\neq 0\) - selects only events with magnetic field with the same sign of fRequireMagneticField

At the stage of event selection the Flattening is applied. This technique makes flat the centrality distribution using a pseudo-random selection based on prior probabilities. A complete description of this technique is present in the documentation of the Flatten function.

Making the list of deuterons in acceptance

Checking how many deuterons in acceptance are reconstructed well

\( m = \frac{p}{\beta\gamma} \)

Definition at line 312 of file AliAnalysisTaskNucleiYield.cxx.

Member Data Documentation

TH2F* AliAnalysisTaskNucleiYield::fAITS_TPC
private

! *(MC only)* Tracks reconstructed in ITS-TPC acceptance (anti-matter)

Definition at line 160 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fAITS_TPC_TOF
private

! *(MC only)* Tracks reconstructed in ITS-TPC-TOF acceptance (anti-matter)

Definition at line 161 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TList AliAnalysisTaskNucleiYield::fAmc
private

*(MC only)* List of anti-matter particles

Definition at line 107 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserExec().

TH2F* AliAnalysisTaskNucleiYield::fAPtCorrection
private

! *(MC only)* \(p_{T}^{rec}-p_{T}^{MC}\) as a function of \(p_{T}^{rec}\) for anti-matter

Definition at line 163 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fATOFphiSignal
private

! *(Data only)* TOF signal for anti-matter as a function of \(\phi\)

Definition at line 176 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fATOFsignal
private

! *(Data only)* TOF signal for anti-matter

Definition at line 174 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fATotal
private

! *(MC only)* Particles in acceptance (anti-matter)

Definition at line 162 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fATPCcounts
private

! *(Data only)* TPC counts for anti-matter

Definition at line 175 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fATPCeLoss
private

! *(Data only)* TPC dE/dx for anti-matter

Definition at line 178 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fATPCphiCounts
private

! *(Data only)* TPC counts for anti-matter as a function of \(\phi\)

Definition at line 177 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TArrayF AliAnalysisTaskNucleiYield::fCentBins
private

Centrality bins.

Definition at line 147 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetCentBins(), and UserCreateOutputObjects().

TH1F* AliAnalysisTaskNucleiYield::fCentrality
private

! Events centrality distribution

Definition at line 154 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH1F* AliAnalysisTaskNucleiYield::fCentralityClasses
private

! Events statistics per centrality classes

Definition at line 156 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TArrayF AliAnalysisTaskNucleiYield::fCustomTPCpid
private

Custom parametrisation of the Bethe-Bloch.

Definition at line 150 of file AliAnalysisTaskNucleiYield.h.

Referenced by PassesPIDSelection(), and SetCustomTPCpid().

TArrayF AliAnalysisTaskNucleiYield::fDCABins
private

DCA bins.

Definition at line 148 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetDCABins(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskNucleiYield::fDCAzLimit
private

Limits of the \(DCA_{z}\) histograms.

Definition at line 109 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetDCAzBins(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskNucleiYield::fDCAzNbins
private

Number of bins used for \(DCA_{z}\) distributions.

Definition at line 110 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetDCAzBins(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskNucleiYield::fDisableITSatHighPt
private

\(p_{T}\) threshold for ITS cuts

Definition at line 118 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), PassesPIDSelection(), and SetDisableITSatHighPt().

Float_t AliAnalysisTaskNucleiYield::fDisableTPCpidAtHighPt
private

\(p_{T}\) threshold for TPC pid cut

Definition at line 119 of file AliAnalysisTaskNucleiYield.h.

Referenced by PassesPIDSelection(), and SetDisableTPCpidAtHighPt().

Bool_t AliAnalysisTaskNucleiYield::fEnablePerformance
private

If true enables the task saves in the output the performance plots.

Definition at line 120 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetEnablePerformancePlot(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskNucleiYield::fEnablePtCorrection
private

If true enables the MC based \(p_{T}\) correction.

Definition at line 121 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetEnablePtCorrection(), and UserExec().

Bool_t AliAnalysisTaskNucleiYield::fFillOnlyEventHistos
private

Set treu to fill only event related histograms.

Definition at line 100 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetFillOnlyEventHistos().

Bool_t AliAnalysisTaskNucleiYield::fFixForLHC14a6
private

Cut away all the tracks with at least 1 SPD cluster.

Definition at line 143 of file AliAnalysisTaskNucleiYield.h.

Referenced by Flatten(), and SetFixForLHC14a6().

TH1F* AliAnalysisTaskNucleiYield::fFlattenedCentrality
private

! Events centrality distribution after the flattening

Definition at line 155 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TArrayF AliAnalysisTaskNucleiYield::fFlatteningProbs
private

Flattening probabilities.

Definition at line 151 of file AliAnalysisTaskNucleiYield.h.

Referenced by Flatten(), and SetFlatteningProbabilities().

Bool_t AliAnalysisTaskNucleiYield::fIsMC
private

Switch between MC and data.

Definition at line 99 of file AliAnalysisTaskNucleiYield.h.

Referenced by Flatten(), PassesPIDSelection(), SetIsMC(), UserCreateOutputObjects(), and UserExec().

TList* AliAnalysisTaskNucleiYield::fList
private

Output list.

Definition at line 95 of file AliAnalysisTaskNucleiYield.h.

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

Float_t AliAnalysisTaskNucleiYield::fMagField
private

Magnetic field value for the current event.

Definition at line 103 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCAPrimaryTOF
private

! *(MC only)* \(DCA_{xy}\) distribution of primaries for ITS+TPC+TOF tracks

Definition at line 170 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCAPrimaryTPC
private

! *(MC only)* \(DCA_{xy}\) distribution of primaries for ITS+TPC tracks

Definition at line 168 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCASecondaryTOF
private

! *(MC only)* \(DCA_{xy}\) distribution of secondaries for ITS+TPC+TOF tracks

Definition at line 171 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCASecondaryTPC
private

! *(MC only)* \(DCA_{xy}\) distribution of secondaries for ITS+TPC tracks

Definition at line 169 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCAxyTOF
private

! *(Data only)* \(DCA_{xy}\) distribution for ITS+TPC+TOF tracks

Definition at line 181 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCAxyTPC
private

! *(Data only)* \(DCA_{xy}\) distribution for ITS+TPC tracks

Definition at line 179 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCAzTOF
private

! *(Data only)* \(DCA_{z}\) distribution for ITS+TPC+TOF tracks

Definition at line 182 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMDCAzTPC
private

! *(Data only)* \(DCA_{z}\) distribution for ITS+TPC tracks

Definition at line 180 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMITS_TPC
private

! *(MC only)* Tracks reconstructed in ITS-TPC acceptance (matter)

Definition at line 164 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMITS_TPC_TOF
private

! *(MC only)* Tracks reconstructed in ITS-TPC-TOF acceptance (matter)

Definition at line 165 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TList AliAnalysisTaskNucleiYield::fMmc
private

*(MC only)* List of matter particles

Definition at line 106 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMPtCorrection
private

! *(MC only)* \(p_{T}^{rec}-p_{T}^{MC}\) as a function of \(p_{T}^{rec}\) for matter

Definition at line 167 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMTOFphiSignal
private

! *(Data only)* TOF signal for matter as a function of \(\phi\)

Definition at line 185 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH3F* AliAnalysisTaskNucleiYield::fMTOFsignal
private

! *(Data only)* TOF signal for matter

Definition at line 183 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMTotal
private

! *(MC only)* Particles in acceptance (matter)

Definition at line 166 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMTPCcounts
private

! *(Data only)* TPC counts for matter

Definition at line 184 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMTPCeLoss
private

! *(Data only)* TPC dE/dx for matter

Definition at line 187 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskNucleiYield::fMTPCphiCounts
private

! *(Data only)* TPC counts for matter as a function of \(\phi\)

Definition at line 186 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

AliPID::EParticleType AliAnalysisTaskNucleiYield::fParticle
private

Particle specie.

Definition at line 146 of file AliAnalysisTaskNucleiYield.h.

Referenced by PassesPIDSelection(), SetParticleType(), and UserExec().

Int_t AliAnalysisTaskNucleiYield::fPDG
private

PDG code of the particle of interest.

Definition at line 96 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetPDG(), and UserExec().

Float_t AliAnalysisTaskNucleiYield::fPDGMass
private

PDG mass.

Definition at line 97 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetParticleType().

Float_t AliAnalysisTaskNucleiYield::fPDGMassOverZ
private

PDG mass over z.

Definition at line 98 of file AliAnalysisTaskNucleiYield.h.

Referenced by PassesPIDSelection(), SetParticleType(), and UserExec().

AliPIDResponse* AliAnalysisTaskNucleiYield::fPID
private

! PID response class

Definition at line 102 of file AliAnalysisTaskNucleiYield.h.

Referenced by HasTOF(), PassesPIDSelection(), and UserExec().

AliVVertex* AliAnalysisTaskNucleiYield::fPrimaryVertex
private

! Primary vertex of the current event

Definition at line 104 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and UserExec().

TH1F* AliAnalysisTaskNucleiYield::fProduction
private

! *(MC only)* Total number of produced particles

Definition at line 159 of file AliAnalysisTaskNucleiYield.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TArrayF AliAnalysisTaskNucleiYield::fPtBins
private

Transverse momentum bins.

Definition at line 149 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetPtBins(), and UserCreateOutputObjects().

TArrayF AliAnalysisTaskNucleiYield::fPtCorrectionA
private

Array containing the parametrisation of the.

Definition at line 112 of file AliAnalysisTaskNucleiYield.h.

Referenced by AliAnalysisTaskNucleiYield(), and PtCorrection().

TArrayF AliAnalysisTaskNucleiYield::fPtCorrectionM
private

Array containing the parametrisation of the.

Definition at line 113 of file AliAnalysisTaskNucleiYield.h.

Referenced by AliAnalysisTaskNucleiYield(), and PtCorrection().

Float_t AliAnalysisTaskNucleiYield::fRequireEtaMax
private

Cut on tracks: maximum eta for the track.

Definition at line 132 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetEtaRange().

Float_t AliAnalysisTaskNucleiYield::fRequireEtaMin
private

Cut on tracks: minimum eta for the track.

Definition at line 131 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetEtaRange().

Float_t AliAnalysisTaskNucleiYield::fRequireITSpidSigmas
private

Cut on ITS PID number of sigmas.

Definition at line 139 of file AliAnalysisTaskNucleiYield.h.

Referenced by PassesPIDSelection(), and SetRequireITSpidSigmas().

UShort_t AliAnalysisTaskNucleiYield::fRequireITSrecPoints
private

Cut on tracks: minimum number of required ITS recpoints.

Definition at line 125 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), SetRequireITSrecPoints(), and SetRequireTPCrecPoints().

Bool_t AliAnalysisTaskNucleiYield::fRequireITSrefit
private

Cut on tracks: set true to require ITS refit.

Definition at line 122 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireITSrefit().

UShort_t AliAnalysisTaskNucleiYield::fRequireITSsignal
private

Cut on tracks: minimum number of required ITS PID recpoints.

Definition at line 126 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetRequireITSsignal(), and SetRequireTPCsignal().

Int_t AliAnalysisTaskNucleiYield::fRequireMagneticField
private

{0 : any magnetic field is fine, -1 : only negative magnetic field, 1 : only positive}

Definition at line 141 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetRequireMagneticField(), and UserExec().

Float_t AliAnalysisTaskNucleiYield::fRequireMaxChi2
private

Cut on tracks: maximum TPC \(\chi^{2}/NDF\).

Definition at line 135 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireMaxChi2().

Float_t AliAnalysisTaskNucleiYield::fRequireMaxDCAxy
private

Cut on tracks: maximum \(DCA_{xy}\) for the track.

Definition at line 136 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireMaxDCAxy().

Float_t AliAnalysisTaskNucleiYield::fRequireMaxDCAz
private

Cut on tracks: maximum \(DCA_{z}\) for the track.

Definition at line 137 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireMaxDCAz().

Float_t AliAnalysisTaskNucleiYield::fRequireMinEnergyLoss
private

Cut on the minimum energy loss counts in TPC.

Definition at line 140 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), SetRequireMinEnergyLoss(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskNucleiYield::fRequireNoKinks
private

Cut on tracks: set true to exclude tracks from kink vertices.

Definition at line 124 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireNoKinks().

UShort_t AliAnalysisTaskNucleiYield::fRequireSDDrecPoints
private

Cut on tracks: minimum number of required SDD recpoints.

Definition at line 127 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireSDDrecPoints().

UShort_t AliAnalysisTaskNucleiYield::fRequireSPDrecPoints
private

Cut on tracks: minimum number of required SPD recpoints.

Definition at line 128 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireSPDrecPoints().

Float_t AliAnalysisTaskNucleiYield::fRequireTPCpidSigmas
private

Cut on TPC PID number of sigmas.

Definition at line 138 of file AliAnalysisTaskNucleiYield.h.

Referenced by PassesPIDSelection(), and SetRequireTPCpidSigmas().

UShort_t AliAnalysisTaskNucleiYield::fRequireTPCrecPoints
private

Cut on tracks: minimum number of required TPC recpoints.

Definition at line 129 of file AliAnalysisTaskNucleiYield.h.

Bool_t AliAnalysisTaskNucleiYield::fRequireTPCrefit
private

Cut on tracks: set true to require TPC refit.

Definition at line 123 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireTPCrefit().

UShort_t AliAnalysisTaskNucleiYield::fRequireTPCsignal
private

Cut on tracks: minimum number of required TPC PID recpoints.

Definition at line 130 of file AliAnalysisTaskNucleiYield.h.

Bool_t AliAnalysisTaskNucleiYield::fRequireVetoSPD
private

Cut away all the tracks with at least 1 SPD cluster.

Definition at line 142 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), and SetRequireVetoSPD().

Float_t AliAnalysisTaskNucleiYield::fRequireYmax
private

Cut on tracks: maximum y for the track (using PDG mass)

Definition at line 134 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), SetYRange(), and UserExec().

Float_t AliAnalysisTaskNucleiYield::fRequireYmin
private

Cut on tracks: mimimum y for the track (using PDG mass)

Definition at line 133 of file AliAnalysisTaskNucleiYield.h.

Referenced by AcceptTrack(), SetYRange(), and UserExec().

Float_t AliAnalysisTaskNucleiYield::fTOFhighBoundary
private

Upper limit for the TOF mass spectra histograms.

Definition at line 116 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetTOFBins(), and UserCreateOutputObjects().

Float_t AliAnalysisTaskNucleiYield::fTOFlowBoundary
private

Lower limit for the TOF mass spectra histograms.

Definition at line 115 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetTOFBins(), and UserCreateOutputObjects().

Int_t AliAnalysisTaskNucleiYield::fTOFnBins
private

Number of bins used for the TOF mass spectra.

Definition at line 117 of file AliAnalysisTaskNucleiYield.h.

Referenced by SetTOFBins(), and UserCreateOutputObjects().


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