![]() |
AliPhysics
0937c79 (0937c79)
|
Unit test for the class AliEmcalTrackSelectionAOD. More...
#include <AliEmcalTrackSelectionAOD.h>
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 AliEmcalTrackSelResultHybrid * | FindHybridSelectionResult (const AliEmcalTrackSelResultPtr &data) const |
Extract hybrid track user object from a track selection result ptr. More... | |
TestAliEmcalTrackSelectionAOD (const TestAliEmcalTrackSelectionAOD &) | |
TestAliEmcalTrackSelectionAOD & | operator= (const TestAliEmcalTrackSelectionAOD &) |
Private Attributes | |
AliEmcalTrackSelectionAOD * | fTrackSelHybrid2010wRefit |
Hybrid tracks from 2010 including non-refit tracks. More... | |
AliEmcalTrackSelectionAOD * | fTrackSelHybrid2010woRefit |
Hybrid tracks from 2010 excluding non-refit tracks. More... | |
AliEmcalTrackSelectionAOD * | fTrackSelHybrid2011 |
Hybrid tracks from 2011. More... | |
AliEmcalTrackSelectionAOD * | fTrackSelTPConly |
TPConly tracks. More... | |
Unit test for the class AliEmcalTrackSelectionAOD.
Definition at line 144 of file AliEmcalTrackSelectionAOD.h.
PWG::EMCAL::TestAliEmcalTrackSelectionAOD::TestAliEmcalTrackSelectionAOD | ( | ) |
Constructor.
Definition at line 270 of file AliEmcalTrackSelectionAOD.cxx.
|
virtual |
Destructor.
Definition at line 280 of file AliEmcalTrackSelectionAOD.cxx.
|
private |
|
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.
data | Track selection result pointer to be inspected |
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.
|
private |
bool PWG::EMCAL::TestAliEmcalTrackSelectionAOD::RunAllTests | ( | ) | const |
Run all tests.
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().
|
private |
Hybrid tracks from 2010 excluding non-refit tracks.
Definition at line 190 of file AliEmcalTrackSelectionAOD.h.
Referenced by Init(), TestHybridDef2010woRefit(), and ~TestAliEmcalTrackSelectionAOD().
|
private |
Hybrid tracks from 2010 including non-refit tracks.
Definition at line 189 of file AliEmcalTrackSelectionAOD.h.
Referenced by Init(), TestHybridDef2010wRefit(), and ~TestAliEmcalTrackSelectionAOD().
|
private |
Hybrid tracks from 2011.
Definition at line 191 of file AliEmcalTrackSelectionAOD.h.
Referenced by Init(), TestHybridDef2011(), and ~TestAliEmcalTrackSelectionAOD().
|
private |
TPConly tracks.
Definition at line 192 of file AliEmcalTrackSelectionAOD.h.
Referenced by Init(), TestTPConly(), and ~TestAliEmcalTrackSelectionAOD().