ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParticleData.cpp File Reference
#include "ActsFatras/Utilities/ParticleData.hpp"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <iterator>
#include <limits>
#include <optional>
#include <ostream>
#include "Acts/Utilities/Units.hpp"
#include "ParticleDataTable.hpp"
+ Include dependency graph for ParticleData.cpp:

Go to the source code of this file.

Functions

template<typename ColumnContainer >
static auto findByPdg (int32_t pdg, const ColumnContainer &column) -> std::optional< std::decay_t< decltype(column[0])>>
 

Function Documentation

template<typename ColumnContainer >
static auto findByPdg ( int32_t  pdg,
const ColumnContainer &  column 
) -> std::optional<std::decay_t<decltype(column[0])>>
inlinestatic

Definition at line 25 of file ParticleData.cpp.

View newest version in sPHENIX GitHub at line 25 of file ParticleData.cpp

References kParticlesCount, kParticlesPdgNumber, pdg, and pos().

Referenced by ActsFatras::findCharge(), ActsFatras::findMass(), and ActsFatras::findName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: