The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Decays::Nodes::EllMinus Class Reference

The trivial node : it match any negative lepton. More...

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

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

Public Member Functions

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

Detailed Description

The trivial node : it match any negative lepton.

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 184 of file NodesPIDs.h.

Member Function Documentation

◆ clone()

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

MANDATORY: clone method ("virtual constructor").

Reimplemented from Gaudi::Decays::Nodes::Ell.

Definition at line 177 of file NodePIDs.cpp.

177{ return new EllMinus( *this ); }

◆ fillStream()

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

MANDATORY: the specific printout.

Reimplemented from Gaudi::Decays::Nodes::Ell.

Definition at line 224 of file NodePIDs.cpp.

224{ return s << " l- "; }

◆ operator()()

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

MANDATORY: the only one essential method.

Reimplemented from Gaudi::Decays::Nodes::Ell.

Definition at line 189 of file NodesPIDs.h.

189 {
190 return pid.isLepton() && ( 0 > pid.threeCharge() );
191 }
int threeCharge() const
Return three times the charge, in units of e+, valid for all particles.
bool isLepton() const
Return if the PID is for a lepton.

The documentation for this class was generated from the following files: