Implementation of classification functions according to PDG2022.
More...
#include <HepMCHelpers.h>
◆ DecodedPID()
| MC::DecodedPID::DecodedPID |
( |
const int & | p | ) |
|
|
inline |
Definition at line 19 of file HepMCHelpers.h.
20{
21 template <class VTX>
22 auto particles_in (
const VTX* p) {
return p->particles_in(); }
23 template <class VTX>
24 auto particles_in (
const std::shared_ptr<VTX>& p) {
return p->particles_in(); }
25
auto particles_in(const VTX *p)
◆ last()
| const int & MC::DecodedPID::last |
( |
| ) |
const |
|
inline |
◆ max_digit()
| int MC::DecodedPID::max_digit |
( |
const int | m, |
|
|
const int | n ) const |
|
inline |
◆ min_digit()
| int MC::DecodedPID::min_digit |
( |
const int | m, |
|
|
const int | n ) const |
|
inline |
◆ ndigits()
| size_t MC::DecodedPID::ndigits |
( |
| ) |
const |
|
inline |
◆ operator()()
| const int & MC::DecodedPID::operator() |
( |
const size_t | n | ) |
const |
|
inline |
◆ pid()
| const int & MC::DecodedPID::pid |
( |
| ) |
const |
|
inline |
Definition at line 29 of file HepMCHelpers.h.
29{
return p->status() == 62 ||
p->status() == 52 ||
p->status() == 21 ||
p->status() == 22;}
◆ shift()
◆ first_type
| T1 std::pair< T1, T2 >::first_type |
|
inherited |
◆ second_type
| T2 std::pair< T1, T2 >::second_type |
|
inherited |
The documentation for this class was generated from the following file: