Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fatras::PhysicsList< processes > Struct Template Reference

#include <acts-fatras/blob/master/Core/include/Fatras/Kernel/PhysicsList.hpp>

+ Inheritance diagram for Fatras::PhysicsList< processes >:
+ Collaboration diagram for Fatras::PhysicsList< processes >:

Public Member Functions

template<typename generator_t , typename detector_t , typename particle_t >
bool operator() (generator_t &gen, const detector_t &det, particle_t &in, std::vector< particle_t > &out) const
 

Additional Inherited Members

- Private Member Functions inherited from Acts::detail::Extendable< processes...>
 Extendable ()=default
 Default constructor.
 
 Extendable (const Extendable< extensions_t...> &extendable)=default
 Default copy constructor.
 
 Extendable (Extendable< extensions_t...> &&extendable)=default
 
 Extendable (const std::tuple< extensions_t...> &extensions)
 
 Extendable (std::tuple< extensions_t...> &&extensions)
 
Extendable< extensions_t...> & operator= (const Extendable< extensions_t...> &extendable)=default
 
Extendable< extensions_t...> & operator= (Extendable< extensions_t...> &&extendable)=default
 
Extendable< extensions_t...,
appendices_t...> 
append (appendices_t...aps) const
 
const extension_t & get () const
 
extension_t & get ()
 
const std::tuple
< extensions_t...> & 
tuple () const
 
std::tuple< extensions_t...> & tuple ()
 

Detailed Description

template<typename... processes>
struct Fatras::PhysicsList< processes >

This is the PhysicsList struct that is used for fast simulation

Users can add a variable list of processes in order to drive the physics simulation

The dependency on generator, detector and particle are templated

Definition at line 27 of file PhysicsList.hpp.

View newest version in sPHENIX GitHub at line 27 of file PhysicsList.hpp

Member Function Documentation

template<typename... processes>
template<typename generator_t , typename detector_t , typename particle_t >
bool Fatras::PhysicsList< processes >::operator() ( generator_t &  gen,
const detector_t &  det,
particle_t &  in,
std::vector< particle_t > &  out 
) const
inline

Call operator that broadcasts the call to the tuple() members of the list

Template Parameters
generator_tis the random number generator type
detector_tis the detector information type used
particle_tis the particle type used in simulation
Parameters
[in]genis the generator object
[in]detis the necessary detector information
[in]inis the ingoing particle (can be modified)
[in,out]outare the (eventually) outgoing particles
Returns
indicator which would trigger an abort

Definition at line 48 of file PhysicsList.hpp.

View newest version in sPHENIX GitHub at line 48 of file PhysicsList.hpp

References Acts::detail::all_of_v, tgeo-response2json::process(), and Acts::detail::Extendable< processes...>::tuple().

+ Here is the call graph for this function:


The documentation for this struct was generated from the following file: