ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Fatras/include/ActsFatras/Kernel/PhysicsList.hpp>
Classes | |
struct | Index< T, std::tuple< T, Types...> > |
struct | Index< T, std::tuple< U, Types...> > |
Public Member Functions | |
template<typename generator_t > | |
bool | operator() (generator_t &generator, const Acts::MaterialProperties &slab, Particle &particle, std::vector< Particle > &generated) const |
template<size_t I> | |
std::tuple_element_t< I, std::tuple< processes_t...> > & | get () |
Access a specific process by index. | |
template<typename process_t > | |
process_t & | get () |
Access a specific process by type. | |
void | disable (std::size_t i) |
Disable a specific process by index. | |
template<typename process_t > | |
void | disable () |
Private Member Functions | |
template<typename generator_t > | |
bool | impl (std::index_sequence<>, generator_t &, const Acts::MaterialProperties &, Particle &, std::vector< Particle > &) const |
template<std::size_t I0, std::size_t... INs, typename generator_t > | |
bool | impl (std::index_sequence< I0, INs...>, generator_t &generator, const Acts::MaterialProperties &slab, Particle &particle, std::vector< Particle > &generated) const |
Private Attributes | |
std::bitset< sizeof...(processes_t)> | m_mask |
std::tuple< processes_t...> | m_processes |
Combined set of physics processes and interactions for the simulation.
The physics processes are extendable by the user to be able to accomodate the specific requirements. While the set of available physics processes must be configured at compile-time, within that set processes can be selectively disabled at run-time. By default all processes are applied.
Definition at line 26 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 26 of file PhysicsList.hpp
|
inline |
Disable a specific process by index.
Definition at line 62 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 62 of file PhysicsList.hpp
References ActsFatras::PhysicsList< processes_t >::m_mask.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Disable a specific process by type.
Definition at line 67 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 67 of file PhysicsList.hpp
|
inline |
Access a specific process by index.
Definition at line 52 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 52 of file PhysicsList.hpp
References I, and ActsFatras::PhysicsList< processes_t >::m_processes.
Referenced by BOOST_AUTO_TEST_CASE(), and ActsFatras::makeChargedElectroMagneticPhysicsList().
|
inline |
Access a specific process by type.
Definition at line 57 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 57 of file PhysicsList.hpp
References ActsFatras::PhysicsList< processes_t >::m_processes.
|
inlineprivate |
Definition at line 91 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 91 of file PhysicsList.hpp
Referenced by ActsFatras::PhysicsList< processes_t >::impl(), and ActsFatras::PhysicsList< processes_t >::operator()().
|
inlineprivate |
Definition at line 97 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 97 of file PhysicsList.hpp
References ActsFatras::PhysicsList< processes_t >::impl(), ActsFatras::PhysicsList< processes_t >::m_mask, and ActsFatras::PhysicsList< processes_t >::m_processes.
|
inline |
Run the physics list for a given material and particle.
[in] | generator | is the random number generator |
[in] | slab | is the passed material |
[in,out] | particle | is the particle being updated |
[out] | generated | is the container of generated particles |
generator_t | must be a RandomNumberEngine |
Definition at line 38 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 38 of file PhysicsList.hpp
References ActsFatras::PhysicsList< processes_t >::impl().
|
private |
Definition at line 86 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 86 of file PhysicsList.hpp
Referenced by ActsFatras::PhysicsList< processes_t >::disable(), and ActsFatras::PhysicsList< processes_t >::impl().
|
private |
Definition at line 87 of file PhysicsList.hpp.
View newest version in sPHENIX GitHub at line 87 of file PhysicsList.hpp
Referenced by ActsFatras::PhysicsList< processes_t >::get(), and ActsFatras::PhysicsList< processes_t >::impl().