YAP
|
Classes | |
class | filter_decay_tree |
helper base class for functor classes that can filter DecayTree's More... | |
class | filter_free_amplitude |
helper base class for functor classes that can filter FreeAmplitude's More... | |
class | filter_decay_channel |
helper base class for functor classes that can filter DecayChannel's More... | |
class | filter_spin_amplitude |
helper base class for functor classes that can filter SpinAmplitude's More... | |
class | filter_particle |
helper base class for filtering Particle's More... | |
class | filter_decaying_particle |
helper base class for filtering DecayingParticle's More... | |
class | filter_resonance |
helper base class for filtering Resonance's More... | |
class | filter_mass_shape |
helper base class for filtering MassShape's More... | |
class | has_decay_channel |
Functor class for filtering by decay channel. More... | |
class | has_spin_amplitude |
Functor class for filtering by spin amplitude. More... | |
class | to |
Functor class for filtering by particle content. More... | |
class | exactly_to |
Functor class for filtering by exact particle content. More... | |
class | l_equals |
Functor object for filtering by orbital angular momentum. More... | |
class | m_equals |
Functor object for filtering by spin projection. More... | |
class | is_named |
Functor class for filtering objects that have a #name() function. More... | |
class | has_decay_tree |
Functor class for checking if DecayingParticle has specified DecayTree. More... | |
class | has_free_amplitude |
Functor class for checking whether objects have a particular free amplitude. More... | |
class | from |
Functor object for filtering by parent particle. More... | |
class | has_mass |
Functors return true if particle is a final state particle or if a mass shape can be found that inherits from MassShapeWithNominalMass. More... | |
Functions | |
template<typename container > | |
container::value_type | lone_elt (container &C) |
template<typename container > | |
container::value_type | lone_elt (container &&C) |
template<typename T , typename Last , typename... UnaryPredicates> | |
std::set< std::shared_ptr< T > > | filter (const std::set< std::shared_ptr< T > > &S, Last p, UnaryPredicates...P) |
template<typename T > | |
const std::set < std::shared_ptr< T > > & | filter (const std::set< std::shared_ptr< T > > &S) |
template<class F , typename T > | |
const bool | by_ptr (const F &f, const std::shared_ptr< T > &ptr) |
template<class F , typename T > | |
const bool | by_ptr (const F &f, const T *ptr) |
const bool yap::by_ptr | ( | const F & | f, |
const std::shared_ptr< T > & | ptr | ||
) |
calls functor with shared_ptr to object;
f | functor to call |
ptr | shared_ptr to object to call on |
const bool yap::by_ptr | ( | const F & | f, |
const T * | ptr | ||
) |
calls functor with raw pointer to object
f | functor to call |
ptr | raw pointer to object to call on |
std::set< std::shared_ptr< T > > filter | ( | const std::set< std::shared_ptr< T > > & | S, |
Last | p, | ||
UnaryPredicates... | P | ||
) |
container::value_type lone_elt | ( | container & | C | ) |
Throws if container's size is not 1
container::value_type lone_elt | ( | container && | C | ) |
Throws if container's size is not 1