The Gaudi Framework  master (594c33fa)
Gaudi::Decays::Nodes::Hadron Class Reference

#include </builds/gaudi/Gaudi/GaudiPartProp/include/Gaudi/Decays/NodesPIDs.h>

Inheritance diagram for Gaudi::Decays::Nodes::Hadron:
Collaboration diagram for Gaudi::Decays::Nodes::Hadron:

Public Member Functions

Hadronclone () const override
 MANDATORY: clone method ("virtual constructor") More...
 
bool operator() (const Gaudi::ParticleID &pid) const override
 MANDATORY: the only one essential method. More...
 
std::ostreamfillStream (std::ostream &s) const override
 MANDATORY: the specific printout. More...
 
- Public Member Functions inherited from Gaudi::Decays::Nodes::Any
bool valid () const override
 MANDATORY: check the validity. More...
 
StatusCode validate (const Gaudi::Interfaces::IParticlePropertySvc *svc) const override
 MANDATORY: the proper validation of the node. More...
 
- Public Member Functions inherited from Gaudi::Decays::iNode
virtual bool operator! () const
 invalid node? More...
 
virtual std::string toString () const
 the string representation of the node More...
 
virtual ~iNode ()=default
 virtual destructor More...
 

Detailed Description

The trivial node : it match the Hadron

Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
Date
2008-04-12

Definition at line 201 of file NodesPIDs.h.

Member Function Documentation

◆ clone()

Decays::Nodes::Hadron * Gaudi::Decays::Nodes::Hadron::clone ( ) const
overridevirtual

MANDATORY: clone method ("virtual constructor")

Reimplemented from Gaudi::Decays::Nodes::Any.

Reimplemented in Gaudi::Decays::Nodes::Baryon, and Gaudi::Decays::Nodes::Meson.

Definition at line 181 of file NodePIDs.cpp.

181 { return new Hadron( *this ); }

◆ fillStream()

std::ostream & Gaudi::Decays::Nodes::Hadron::fillStream ( std::ostream s) const
overridevirtual

MANDATORY: the specific printout.

Reimplemented from Gaudi::Decays::Nodes::Any.

Reimplemented in Gaudi::Decays::Nodes::Baryon, and Gaudi::Decays::Nodes::Meson.

Definition at line 214 of file NodePIDs.cpp.

214 { return s << " Hadron "; }

◆ operator()()

bool Gaudi::Decays::Nodes::Hadron::operator() ( const Gaudi::ParticleID pid) const
inlineoverridevirtual

MANDATORY: the only one essential method.

Reimplemented from Gaudi::Decays::Nodes::Any.

Reimplemented in Gaudi::Decays::Nodes::Baryon, and Gaudi::Decays::Nodes::Meson.

Definition at line 206 of file NodesPIDs.h.

206 { return pid.isHadron(); }

The documentation for this class was generated from the following files:
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::ParticleID::isHadron
bool isHadron() const
Return if the PID is for a hadron.
Definition: ParticleID.cpp:241
GaudiPartProp.Nodes.Hadron
Hadron
Definition: Nodes.py:257