Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhotonConversionTests.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Common.hpp"
#include "Acts/Definitions/PdgParticle.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "ActsFatras/EventData/Particle.hpp"
#include "ActsFatras/Physics/ElectroMagnetic/PhotonConversion.hpp"
#include <cmath>
#include <limits>
#include <memory>
#include <random>
#include <utility>
#include <vector>
#include "Dataset.hpp"
+ Include dependency graph for PhotonConversionTests.cpp:

Go to the source code of this file.

Typedefs

using Generator = std::ranlux48
 

Functions

 BOOST_DATA_TEST_CASE (NoPhoton, Dataset::parametersPhotonConversion, phi, lambda, seed)
 
 BOOST_DATA_TEST_CASE (DeadPhoton, Dataset::parametersPhotonConversion, phi, lambda, seed)
 
 BOOST_DATA_TEST_CASE (LowMomentumPhoton, Dataset::parametersPhotonConversion, phi, lambda, seed)
 
 BOOST_DATA_TEST_CASE (HighMomentumPhoton, Dataset::parametersPhotonConversion, phi, lambda, seed)
 

Typedef Documentation

using Generator = std::ranlux48

Definition at line 29 of file PhotonConversionTests.cpp.

View newest version in sPHENIX GitHub at line 29 of file PhotonConversionTests.cpp

Function Documentation

BOOST_DATA_TEST_CASE ( NoPhoton  ,
Dataset::parametersPhotonConversion  ,
phi  ,
lambda  ,
seed   
)

Produce not a photon

Definition at line 33 of file PhotonConversionTests.cpp.

View newest version in sPHENIX GitHub at line 33 of file PhotonConversionTests.cpp

References Acts::eElectron, gen(), ActsFatras::PhotonConversion::generatePathLimits(), Dataset::makeParticle(), and particle.

+ Here is the call graph for this function:

BOOST_DATA_TEST_CASE ( DeadPhoton  ,
Dataset::parametersPhotonConversion  ,
phi  ,
lambda  ,
seed   
)

Produce a dead photon

Definition at line 66 of file PhotonConversionTests.cpp.

View newest version in sPHENIX GitHub at line 66 of file PhotonConversionTests.cpp

References Acts::eGamma, gen(), ActsFatras::PhotonConversion::generatePathLimits(), Dataset::makeParticle(), particle, ActsTests::PropagationDatasets::phi, and seed.

+ Here is the call graph for this function:

BOOST_DATA_TEST_CASE ( LowMomentumPhoton  ,
Dataset::parametersPhotonConversion  ,
phi  ,
lambda  ,
seed   
)

Produce a low momentum photon

Definition at line 98 of file PhotonConversionTests.cpp.

View newest version in sPHENIX GitHub at line 98 of file PhotonConversionTests.cpp

References Acts::eGamma, gen(), ActsFatras::PhotonConversion::generatePathLimits(), Dataset::makeParticle(), particle, ActsTests::PropagationDatasets::phi, and seed.

+ Here is the call graph for this function:

BOOST_DATA_TEST_CASE ( HighMomentumPhoton  ,
Dataset::parametersPhotonConversion  ,
phi  ,
lambda  ,
seed   
)

Produce a high momentum photon

Definition at line 130 of file PhotonConversionTests.cpp.

View newest version in sPHENIX GitHub at line 130 of file PhotonConversionTests.cpp

References CHECK_CLOSE_OR_SMALL, Acts::UnitConstants::e, Acts::eElectron, Acts::eEnergy, Acts::eGamma, Acts::eMom0, Acts::ePositron, gen(), ActsFatras::PhotonConversion::generatePathLimits(), Dataset::makeParticle(), particle, pdg, ActsTests::PropagationDatasets::phi, and seed.

+ Here is the call graph for this function: