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

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

Public Member Functions

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

Public Attributes

const int saPDG = pdg_t
 

Detailed Description

template<int pdg_t>
struct Fatras::PdgSelector< pdg_t >

Definition at line 26 of file PdgSelectors.hpp.

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

Member Function Documentation

template<int pdg_t>
template<typename detector_t , typename particle_t >
bool Fatras::PdgSelector< pdg_t >::operator() ( const detector_t &  ,
const particle_t &  particle 
) const
inline

Return true for all particles with pdg matching the selection criteria

Definition at line 34 of file PdgSelectors.hpp.

View newest version in sPHENIX GitHub at line 34 of file PdgSelectors.hpp

References Fatras::PdgSelector< pdg_t >::saPDG.

Member Data Documentation

template<int pdg_t>
const int Fatras::PdgSelector< pdg_t >::saPDG = pdg_t

Definition at line 29 of file PdgSelectors.hpp.

View newest version in sPHENIX GitHub at line 29 of file PdgSelectors.hpp

Referenced by Fatras::PdgSelector< pdg_t >::operator()().


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