AliPhysics  421aab4 (421aab4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA Class Reference

Simple analysis task monitoring the track DCA distribution. More...

#include <AliAnalysisTaskTrackDCA.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA:

Public Member Functions

 AliAnalysisTaskTrackDCA ()
 
 AliAnalysisTaskTrackDCA (const char *name)
 
virtual ~AliAnalysisTaskTrackDCA ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *opt)
 
void Terminate (Option_t *opt)
 
void SetTrackCuts (AliESDtrackCuts *trackcuts)
 

Protected Member Functions

void CreatePtBinning (TArrayD &binning) const
 
void CreateLinearBinning (TArrayD &binning, int nbins, double min, double max) const
 

Private Member Functions

 AliAnalysisTaskTrackDCA (const AliAnalysisTaskTrackDCA &)
 
AliAnalysisTaskTrackDCAoperator= (const AliAnalysisTaskTrackDCA &)
 

Private Attributes

AliAnalysisUtils * fAnalysisUtils
 Analysis utils (helper) More...
 
AliESDtrackCuts * fStandardCuts
 Standard track cuts. More...
 
THistManagerfHistos
 Histogram container. More...
 

Detailed Description

Simple analysis task monitoring the track DCA distribution.

This is a simple analysis task monitoring the track DCA distribution to the primary vertex

Definition at line 21 of file AliAnalysisTaskTrackDCA.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::AliAnalysisTaskTrackDCA ( )

Default constructor

Definition at line 41 of file AliAnalysisTaskTrackDCA.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::AliAnalysisTaskTrackDCA ( const char *  name)

Named constructor - setting name of the task and defining output container

Parameters
nameName of the task

Definition at line 53 of file AliAnalysisTaskTrackDCA.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::~AliAnalysisTaskTrackDCA ( )
virtual

Destructor, cleaning up

Definition at line 65 of file AliAnalysisTaskTrackDCA.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::AliAnalysisTaskTrackDCA ( const AliAnalysisTaskTrackDCA )
private

Member Function Documentation

void EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::CreateLinearBinning ( TArrayD binning,
int  nbins,
double  min,
double  max 
) const
protected

Create any kind of linear binning from given ranges and stores it in the binning array.

Parameters
binningoutput array
nbinsNumber of bins
minlower range
maxupper range

Definition at line 211 of file AliAnalysisTaskTrackDCA.cxx.

Referenced by UserCreateOutputObjects().

void EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::CreatePtBinning ( TArrayD binning) const
protected

Create \( p_{t} \) binning used in the \( R_{AA} \) analysis:

Definitions are:

  • from 0.15 to 1 GeV/c: 0.05 GeV/c bins
  • from 1 to 2 GeV/c: 0.1 GeV/c bins
  • from 2 to 4 GeV/c: 0.2 GeV/c bins
  • from 4 to 7 GeV/c: 0.5 GeV/c bins
  • from 7 to 16 GeV/c: 1 GeV/c bins
  • from 16 to 36 GeV/c: 2 GeV/c bins
  • from 36 to 40 GeV/c: 4 GeV/c bins
  • from 40 to 50 GeV/c: 5 GeV/c bins
  • from 50 to 100 GeV/c: 10 GeV/c bins
Parameters
binningArray where to store the results

Definition at line 175 of file AliAnalysisTaskTrackDCA.cxx.

Referenced by UserCreateOutputObjects().

AliAnalysisTaskTrackDCA& EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::operator= ( const AliAnalysisTaskTrackDCA )
private
void EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::SetTrackCuts ( AliESDtrackCuts *  trackcuts)
inline

Set the track selection. The user has to define them in the Add macro.

Parameters
trackcutsThe track selection cuts to be applied

Definition at line 39 of file AliAnalysisTaskTrackDCA.h.

void EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::Terminate ( Option_t opt)
inline

Terminate function - does nothing

Parameters
optOption

Definition at line 33 of file AliAnalysisTaskTrackDCA.h.

void EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects ( )

Creating output histograms:

  • Event counter for each trigger class
  • DCA vs. \( p_{t} \) for each trigger class (min. bias, EMCAL gamma, EMCAL jet)

Definition at line 76 of file AliAnalysisTaskTrackDCA.cxx.

void EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserExec ( Option_t opt)

Event loop

  • Apply event selection (triggers and vertex)
  • Loop over tracks and apply track selection
  • Fill DCA r and z distribution for selected tracks
Parameters
Notneeded

Definition at line 103 of file AliAnalysisTaskTrackDCA.cxx.

Member Data Documentation

AliAnalysisUtils* EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::fAnalysisUtils
private

Analysis utils (helper)

Definition at line 49 of file AliAnalysisTaskTrackDCA.h.

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

THistManager* EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::fHistos
private

Histogram container.

Definition at line 51 of file AliAnalysisTaskTrackDCA.h.

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

AliESDtrackCuts* EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::fStandardCuts
private

Standard track cuts.

Definition at line 50 of file AliAnalysisTaskTrackDCA.h.

Referenced by SetTrackCuts(), UserExec(), and ~AliAnalysisTaskTrackDCA().


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