AliPhysics  vAN-20150822 (d56cf94)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef Class Reference

Unit test class for charged particle distributions. More...

#include <AliAnalysisTaskChargedParticlesRef.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef:

Public Member Functions

 AliAnalysisTaskChargedParticlesRef ()
 
 AliAnalysisTaskChargedParticlesRef (const char *name)
 
virtual ~AliAnalysisTaskChargedParticlesRef ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *)
 
void Terminate (Option_t *)
 

Protected Member Functions

void CreateOldPtBinning (TArrayD &binning) const
 
void CreateNewPtBinning (TArrayD &binning) const
 
Bool_t TrackSelectionESD (AliESDtrack *track)
 
Bool_t TrackSelectionAOD (AliAODTrack *track)
 

Protected Attributes

AliESDtrackCuts * fTrackCuts
 Standard track selection. More...
 
AliAnalysisUtils * fAnalysisUtil
 Event selection. More...
 
AliEMCalHistoContainerfHistos
 Histogram manager. More...
 

Private Member Functions

 AliAnalysisTaskChargedParticlesRef (const AliAnalysisTaskChargedParticlesRef &)
 
AliAnalysisTaskChargedParticlesRefoperator= (const AliAnalysisTaskChargedParticlesRef &)
 

Detailed Description

Unit test class for charged particle distributions.

Definition at line 22 of file AliAnalysisTaskChargedParticlesRef.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::AliAnalysisTaskChargedParticlesRef ( )

Dummy constructor

Definition at line 43 of file AliAnalysisTaskChargedParticlesRef.cxx.

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

Main constructor

Parameters
nameName of the task

Definition at line 55 of file AliAnalysisTaskChargedParticlesRef.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::~AliAnalysisTaskChargedParticlesRef ( )
virtual

Destuctor

Definition at line 67 of file AliAnalysisTaskChargedParticlesRef.cxx.

EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::AliAnalysisTaskChargedParticlesRef ( const AliAnalysisTaskChargedParticlesRef )
private

Member Function Documentation

void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::CreateNewPtBinning ( TArrayD &  binning) const
protected

Create new Pt binning

Parameters
binning

Definition at line 324 of file AliAnalysisTaskChargedParticlesRef.cxx.

Referenced by UserCreateOutputObjects().

void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::CreateOldPtBinning ( TArrayD &  binning) const
protected

Create old pt binning

Parameters
binning

Definition at line 296 of file AliAnalysisTaskChargedParticlesRef.cxx.

Referenced by UserCreateOutputObjects().

AliAnalysisTaskChargedParticlesRef& EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::operator= ( const AliAnalysisTaskChargedParticlesRef )
private
void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::Terminate ( Option_t *  )
inline

Definition at line 30 of file AliAnalysisTaskChargedParticlesRef.h.

Bool_t EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::TrackSelectionAOD ( AliAODTrack *  track)
protected

Run track selection for AOD tracks

Parameters
trackThe track to check
Returns
True if the track is selected, false otherwise

Definition at line 366 of file AliAnalysisTaskChargedParticlesRef.cxx.

Referenced by UserExec().

Bool_t EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::TrackSelectionESD ( AliESDtrack *  track)
protected

Run track selection for ESD tracks

Parameters
trackThe track to check
Returns
True if the track is selected, false otherwise

Definition at line 357 of file AliAnalysisTaskChargedParticlesRef.cxx.

Referenced by UserExec().

void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserCreateOutputObjects ( )

Create the output histograms

Definition at line 76 of file AliAnalysisTaskChargedParticlesRef.cxx.

void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserExec ( Option_t *  )

Simple unit test framework

  • Select event using AliAnalysisUtil
  • Assing trigger type (Request INT7, EJ*, EG*)
  • Loop over tracks, select particles
  • Fill distributions
    Parameters
    optionNot used

Definition at line 120 of file AliAnalysisTaskChargedParticlesRef.cxx.

Member Data Documentation

AliAnalysisUtils* EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::fAnalysisUtil
protected
AliEMCalHistoContainer* EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::fHistos
protected

Histogram manager.

Definition at line 41 of file AliAnalysisTaskChargedParticlesRef.h.

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

AliESDtrackCuts* EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::fTrackCuts
protected

Standard track selection.

Definition at line 39 of file AliAnalysisTaskChargedParticlesRef.h.

Referenced by TrackSelectionESD(), UserCreateOutputObjects(), and ~AliAnalysisTaskChargedParticlesRef().


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