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

This is the SelectorList struct that is used for fast simulation. More...

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

+ Inheritance diagram for Fatras::SelectorListAXOR< inclusive, selectors >:
+ Collaboration diagram for Fatras::SelectorListAXOR< inclusive, selectors >:

Public Member Functions

template<typename detector_t , typename particle_t >
bool operator() (const detector_t &detector, const particle_t &particle) const
 

Additional Inherited Members

- Private Member Functions inherited from Acts::detail::Extendable< selectors...>
 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<bool inclusive, typename... selectors>
struct Fatras::SelectorListAXOR< inclusive, selectors >

This is the SelectorList struct that is used for fast simulation.

Users can add a variable list of selectors in order to drive the physics simulation. Selectors can access particle information and detector information to decide whether a process is to take place

Definition at line 26 of file SelectorList.hpp.

View newest version in sPHENIX GitHub at line 26 of file SelectorList.hpp

Member Function Documentation

template<bool inclusive, typename... selectors>
template<typename detector_t , typename particle_t >
bool Fatras::SelectorListAXOR< inclusive, selectors >::operator() ( const detector_t &  detector,
const particle_t &  particle 
) const
inline

Call operator that is that broadcasts the call to the tuple()

Template Parameters
detector_tis the detector type used in simulation
particle_tis the particle type used in simulation
inclusivesteers || (true) or && (false) combination
Parameters
[in]detectorthe current detector/material information
[in]particleto be checked for further processing
Returns
indicator if the particle is accepted

Definition at line 47 of file SelectorList.hpp.

View newest version in sPHENIX GitHub at line 47 of file SelectorList.hpp

References Acts::detail::all_of_v, and Acts::detail::Extendable< selectors...>::tuple().

+ Here is the call graph for this function:


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