AliPhysics  ff07904 (ff07904)
PWG::EMCAL::TestAliEmcalTrackSelectionAOD Class Reference

Unit test for the class AliEmcalTrackSelectionAOD. More...

#include <AliEmcalTrackSelectionAOD.h>

Inheritance diagram for PWG::EMCAL::TestAliEmcalTrackSelectionAOD:

Public Member Functions

 TestAliEmcalTrackSelectionAOD ()
 Constructor. More...
 
virtual ~TestAliEmcalTrackSelectionAOD ()
 Destructor. More...
 
void Init ()
 Init test suite. More...
 
bool RunAllTests () const
 Run all tests. More...
 
bool TestHybridDef2010wRefit () const
 
bool TestHybridDef2010woRefit () const
 
bool TestHybridDef2011 () const
 
bool TestTPConly () const
 

Private Member Functions

const AliEmcalTrackSelResultHybridFindHybridSelectionResult (const AliEmcalTrackSelResultPtr &data) const
 Extract hybrid track user object from a track selection result ptr. More...
 
 TestAliEmcalTrackSelectionAOD (const TestAliEmcalTrackSelectionAOD &)
 
TestAliEmcalTrackSelectionAODoperator= (const TestAliEmcalTrackSelectionAOD &)
 

Private Attributes

AliEmcalTrackSelectionAODfTrackSelHybrid2010wRefit
 Hybrid tracks from 2010 including non-refit tracks. More...
 
AliEmcalTrackSelectionAODfTrackSelHybrid2010woRefit
 Hybrid tracks from 2010 excluding non-refit tracks. More...
 
AliEmcalTrackSelectionAODfTrackSelHybrid2011
 Hybrid tracks from 2011. More...
 
AliEmcalTrackSelectionAODfTrackSelTPConly
 TPConly tracks. More...
 

Detailed Description

Unit test for the class AliEmcalTrackSelectionAOD.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Dec 19, 2018

Definition at line 144 of file AliEmcalTrackSelectionAOD.h.

Constructor & Destructor Documentation

PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestAliEmcalTrackSelectionAOD ( )

Constructor.

Definition at line 270 of file AliEmcalTrackSelectionAOD.cxx.

PWG::EMCAL::TestAliEmcalTrackSelectionAOD::~TestAliEmcalTrackSelectionAOD ( )
virtual

Destructor.

Definition at line 280 of file AliEmcalTrackSelectionAOD.cxx.

PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestAliEmcalTrackSelectionAOD ( const TestAliEmcalTrackSelectionAOD )
private

Member Function Documentation

const AliEmcalTrackSelResultHybrid * PWG::EMCAL::TestAliEmcalTrackSelectionAOD::FindHybridSelectionResult ( const AliEmcalTrackSelResultPtr data) const
private

Extract hybrid track user object from a track selection result ptr.

Tool used to extract recursively a user object of type AliEmcalTrackSelResultHybrid. In case the user object is of type AliEmcalTrackSelResultCombined it tries to find the hybrid user information within the results of the combined track selection result.

Parameters
dataTrack selection result pointer to be inspected
Returns
Pointer to the hybrid track selection user object (if existing), nullptr otherwise

Definition at line 508 of file AliEmcalTrackSelectionAOD.cxx.

Referenced by TestHybridDef2010woRefit(), TestHybridDef2010wRefit(), and TestHybridDef2011().

void PWG::EMCAL::TestAliEmcalTrackSelectionAOD::Init ( )

Init test suite.

Create track selection objects for the various selections supported in the test suite

Definition at line 287 of file AliEmcalTrackSelectionAOD.cxx.

TestAliEmcalTrackSelectionAOD& PWG::EMCAL::TestAliEmcalTrackSelectionAOD::operator= ( const TestAliEmcalTrackSelectionAOD )
private
bool PWG::EMCAL::TestAliEmcalTrackSelectionAOD::RunAllTests ( ) const

Run all tests.

Returns
true All tests passed
false At least one test failed

Definition at line 294 of file AliEmcalTrackSelectionAOD.cxx.

bool PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestHybridDef2010woRefit ( ) const

Definition at line 371 of file AliEmcalTrackSelectionAOD.cxx.

Referenced by RunAllTests().

bool PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestHybridDef2010wRefit ( ) const

Definition at line 298 of file AliEmcalTrackSelectionAOD.cxx.

Referenced by RunAllTests().

bool PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestHybridDef2011 ( ) const

Definition at line 433 of file AliEmcalTrackSelectionAOD.cxx.

Referenced by RunAllTests().

bool PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestTPConly ( ) const

Definition at line 487 of file AliEmcalTrackSelectionAOD.cxx.

Referenced by RunAllTests().

Member Data Documentation

AliEmcalTrackSelectionAOD* PWG::EMCAL::TestAliEmcalTrackSelectionAOD::fTrackSelHybrid2010woRefit
private

Hybrid tracks from 2010 excluding non-refit tracks.

Definition at line 190 of file AliEmcalTrackSelectionAOD.h.

Referenced by Init(), TestHybridDef2010woRefit(), and ~TestAliEmcalTrackSelectionAOD().

AliEmcalTrackSelectionAOD* PWG::EMCAL::TestAliEmcalTrackSelectionAOD::fTrackSelHybrid2010wRefit
private

Hybrid tracks from 2010 including non-refit tracks.

Definition at line 189 of file AliEmcalTrackSelectionAOD.h.

Referenced by Init(), TestHybridDef2010wRefit(), and ~TestAliEmcalTrackSelectionAOD().

AliEmcalTrackSelectionAOD* PWG::EMCAL::TestAliEmcalTrackSelectionAOD::fTrackSelHybrid2011
private

Hybrid tracks from 2011.

Definition at line 191 of file AliEmcalTrackSelectionAOD.h.

Referenced by Init(), TestHybridDef2011(), and ~TestAliEmcalTrackSelectionAOD().

AliEmcalTrackSelectionAOD* PWG::EMCAL::TestAliEmcalTrackSelectionAOD::fTrackSelTPConly
private

TPConly tracks.

Definition at line 192 of file AliEmcalTrackSelectionAOD.h.

Referenced by Init(), TestTPConly(), and ~TestAliEmcalTrackSelectionAOD().


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