Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackSelectorTests.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/TrackFinding/TrackSelector.hpp"
#include <limits>
+ Include dependency graph for TrackSelectorTests.cpp:

Go to the source code of this file.

Classes

struct  MockTrack
 

Functions

double thetaFromEta (double eta)
 
 BOOST_DATA_TEST_CASE (TestSingleBinCase, bdata::make(etaValues), eta)
 
 BOOST_AUTO_TEST_CASE (TestSingleBinEtaCutByBinEdge)
 
 BOOST_AUTO_TEST_CASE (TestMultiBinCuts)
 
 BOOST_AUTO_TEST_CASE (TestBinSelection)
 
 BOOST_AUTO_TEST_CASE (TestConstructor)
 

Variables

std::vector< doubleetaValues
 

Function Documentation

BOOST_AUTO_TEST_CASE ( TestSingleBinEtaCutByBinEdge  )

Definition at line 261 of file TrackSelectorTests.cpp.

View newest version in sPHENIX GitHub at line 261 of file TrackSelectorTests.cpp

References Acts::TrackSelector::EtaBinnedConfig::addCuts(), and thetaFromEta().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( TestMultiBinCuts  )

Definition at line 285 of file TrackSelectorTests.cpp.

View newest version in sPHENIX GitHub at line 285 of file TrackSelectorTests.cpp

References Acts::PhysicalConstants::c, cfg, check_fpe_masks::check(), filter::Config, physmon_track_finding_ttbar::loc0, MockTrack::m_loc0, MockTrack::m_loc1, MockTrack::m_phi, MockTrack::m_pt, MockTrack::m_time, perf_headwind::name, ActsTests::PropagationDatasets::phi, physmon_track_finding_ttbar::pt, thetaFromEta(), and Acts::Test::time.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( TestBinSelection  )

Definition at line 402 of file TrackSelectorTests.cpp.

View newest version in sPHENIX GitHub at line 402 of file TrackSelectorTests.cpp

References cfg, i, and inf.

BOOST_AUTO_TEST_CASE ( TestConstructor  )

Definition at line 442 of file TrackSelectorTests.cpp.

View newest version in sPHENIX GitHub at line 442 of file TrackSelectorTests.cpp

References Acts::PhysicalConstants::c, cfg, and cuts.

BOOST_DATA_TEST_CASE ( TestSingleBinCase  ,
bdata::  makeetaValues,
eta   
)
double thetaFromEta ( double  eta)

Definition at line 37 of file TrackSelectorTests.cpp.

View newest version in sPHENIX GitHub at line 37 of file TrackSelectorTests.cpp

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_DATA_TEST_CASE().

+ Here is the caller graph for this function:

Variable Documentation

std::vector<double> etaValues
Initial value:
{-5.0, -4.5, -4.0, -3.5, -3.0, -2.5, -2.0, -1.5,
-1.0, -0.5, 0.0, 0.5, 1.0, 1.5, 2.0, 2.5,
3.0, 3.5, 4.0, 4.5, 5.0, 1.0}

Definition at line 43 of file TrackSelectorTests.cpp.

View newest version in sPHENIX GitHub at line 43 of file TrackSelectorTests.cpp