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

#include <acts-fatras/blob/master/Core/include/Fatras/Selectors/SelectorHelpers.hpp>

Public Member Functions

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

Public Attributes

cast_t cast
 
double valMin = 0.
 
double valMax = std::numeric_limits<double>::max()
 

Detailed Description

template<typename cast_t>
struct Fatras::Range< cast_t >

Definition at line 44 of file SelectorHelpers.hpp.

View newest version in sPHENIX GitHub at line 44 of file SelectorHelpers.hpp

Member Function Documentation

template<typename cast_t>
template<typename detector_t , typename particle_t >
bool Fatras::Range< cast_t >::operator() ( const detector_t &  ,
const particle_t &  particle 
) const
inline

Return true for all particles with transverse momentum within the specified range

Definition at line 53 of file SelectorHelpers.hpp.

View newest version in sPHENIX GitHub at line 53 of file SelectorHelpers.hpp

References Fatras::Range< cast_t >::cast, Fatras::Range< cast_t >::valMax, and Fatras::Range< cast_t >::valMin.

Member Data Documentation

template<typename cast_t>
cast_t Fatras::Range< cast_t >::cast

Definition at line 46 of file SelectorHelpers.hpp.

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

Referenced by Fatras::Range< cast_t >::operator()().

template<typename cast_t>
double Fatras::Range< cast_t >::valMax = std::numeric_limits<double>::max()

Definition at line 48 of file SelectorHelpers.hpp.

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

Referenced by Fatras::Test::BOOST_AUTO_TEST_CASE(), and Fatras::Range< cast_t >::operator()().

template<typename cast_t>
double Fatras::Range< cast_t >::valMin = 0.

Definition at line 47 of file SelectorHelpers.hpp.

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

Referenced by Fatras::Test::BOOST_AUTO_TEST_CASE(), and Fatras::Range< cast_t >::operator()().


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