Go to the documentation of this file.
81 return os << std::quoted(
toString( pid ),
'\'' );
friend std::ostream & toStream(const PID &pid, std::ostream &os)
friend std::ostream & operator<<(std::ostream &os, const PID &pid)
constexpr bool isProton() const
constexpr bool isKaon() const
friend StatusCode parse(PID &pid, std::string_view in)
static constexpr PID Pion()
friend const char * toString(PID pid)
static constexpr PID Kaon()
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
constexpr PID(const int id)
static constexpr std::array< double, 5 > s_mass
constexpr static const auto SUCCESS
constexpr PID(validated_pid_t pid)
constexpr bool isMuon() const
static constexpr validated_pid_t validate(int id)
static constexpr PID Proton()
static constexpr PID Electron()
constexpr bool isElectron() const
constexpr static const auto FAILURE
constexpr double mass() const
static constexpr PID Muon()
constexpr bool isPion() const