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

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

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

Public Member Functions

Nuclone () 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 any neutral 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 134 of file NodesPIDs.h.

Member Function Documentation

◆ clone()

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

MANDATORY: clone method ("virtual constructor")

Reimplemented from Gaudi::Decays::Nodes::Lepton.

Definition at line 171 of file NodePIDs.cpp.

171 { return new Nu( *this ); }

◆ fillStream()

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

MANDATORY: the specific printout.

Reimplemented from Gaudi::Decays::Nodes::Lepton.

Definition at line 221 of file NodePIDs.cpp.

221 { return s << " Nu "; }

◆ operator()()

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

MANDATORY: the only one essential method.

Reimplemented from Gaudi::Decays::Nodes::Lepton.

Definition at line 139 of file NodesPIDs.h.

139  {
140  return pid.isLepton() && ( 0 == pid.threeCharge() );
141  }

The documentation for this class was generated from the following files:
Gaudi::ParticleID::isLepton
bool isLepton() const
Return if the PID is for a lepton.
Definition: ParticleID.cpp:243
gaudirun.s
string s
Definition: gaudirun.py:346
GaudiPartProp.Nodes.Nu
Nu
Definition: Nodes.py:253
Gaudi::ParticleID::threeCharge
int threeCharge() const
Return three times the charge, in units of e+, valid for all particles.
Definition: ParticleID.cpp:269