Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fatras::detail Namespace Reference

Variables

template<typename T , typename generator_t , typename detector_t , typename particle_t >
constexpr bool process_signature_check_v
 
template<typename T , typename detector_t , typename particle_t >
constexpr bool selector_list_signature_check_v
 

Detailed Description

The following operator has to be inplemented in order to satisfy as an sampler for fast simulation

bool
operator()(generator_t& generator,
const detector_t& detector,
const particle_t& in,
std::vector<particle_t>& out) const { return false; }

The following operator has to be inplemented in order to satisfy as a process for fast simulation. The selector can access both, current particle information, but also current detector information, e.g. for deciding if an interaction or process has to take place

bool
operator()(const detector_t& detector,
const particle_t& particle) const { return true; }

Variable Documentation

template<typename T , typename generator_t , typename detector_t , typename particle_t >
constexpr bool Fatras::detail::process_signature_check_v
Initial value:

Definition at line 52 of file process_signature_check.hpp.

View newest version in sPHENIX GitHub at line 52 of file process_signature_check.hpp

template<typename T , typename detector_t , typename particle_t >
constexpr bool Fatras::detail::selector_list_signature_check_v
Initial value:

Definition at line 46 of file selector_signature_check.hpp.

View newest version in sPHENIX GitHub at line 46 of file selector_signature_check.hpp