50 return m_node->validate( svc );
54 if ( &right ==
this ) {
return *
this; }
60 if ( &right ==
this ) {
return *
this; }
63 const Node& _node =
dynamic_cast<const Node&
>( right );
Helper general purpose utilities to deal with decay nodes.
The generic class to hold the pointer to other node.
Node & op_or(const iNode &right)
Node * clone() const override
MANDATORY: clone method ("virtual constructor")
Node & op_and(const iNode &right)
bool valid() const override
MANDATORY: check the validity of the node.
std::unique_ptr< iNode > m_node
the node itself:
Node(const Decays::iNode &node)
constructor from the node
bool operator()(const Gaudi::ParticleID &p) const override
MANDATORY: the only one essential method.
std::ostream & fillStream(std::ostream &s) const override
MANDATORY: the specific printout.
const iNode & node() const
StatusCode validate(const Gaudi::Interfaces::IParticlePropertySvc *svc) const override
MANDATORY: the proper validation of the node.
Node & operator=(const Node &right)
assignment operator:
The abstract class which represents the single "node" of decay tree.
virtual std::string toString() const
the string representation of the node
virtual bool operator!() const
invalid node?
virtual std::ostream & fillStream(std::ostream &s) const =0
printout of the stream
virtual iNode * clone() const =0
clone method ("virtual constructor")
The abstract interface to Particle Property Service.
Holds PDG + LHCb extension particle code, following the PDG particle numbering scheme (pdg....
This class is used for returning status codes from appropriate routines.
bool valid(Iterator begin, Iterator end)
check the validness of the trees or nodes