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

simple pid-checker for particle mass More...

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

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

Public Member Functions

 Light (const double high, const Gaudi::Interfaces::IParticlePropertySvc *svc=0)
 constructor from mass-range
Light * clone () const override
 MANDATORY: clone method ("virtual constructor").
std::ostream & fillStream (std::ostream &s) const override
 MANDATORY: the specific printout.
Public Member Functions inherited from Gaudi::Decays::Nodes::Mass
 Mass (const double low, const double high, const Gaudi::Interfaces::IParticlePropertySvc *svc=0)
 constructor from mass-range
Mass * 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::CTau
 CTau (const double low, const double high, const Gaudi::Interfaces::IParticlePropertySvc *svc=nullptr)
 constructor from c-tau range
bool valid () const override
 MANDATORY: check the validity.
StatusCode validate (const Gaudi::Interfaces::IParticlePropertySvc *svc) const override
 MANDATORY: the proper validation of the node.
const Gaudi::Interfaces::IParticlePropertySvc * ppSvc () const
double low () const
 get low edge
double high () const
 get high edge
StatusCode setService (const Gaudi::Interfaces::IParticlePropertySvc *svc) const
MsgStream & printAcceptedAsTable (MsgStream &s) const
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

Additional Inherited Members

Protected Member Functions inherited from Gaudi::Decays::Nodes::CTau
template<typename F, typename = std::is_invocable_r<bool, F, Gaudi::ParticleID>>
bool classify (Gaudi::ParticleID pid, F &&f) const

Detailed Description

simple pid-checker for particle mass

Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
Date
2009-05-11

Definition at line 573 of file NodesPIDs.h.

Constructor & Destructor Documentation

◆ Light()

Gaudi::Decays::Nodes::Light::Light ( const double high,
const Gaudi::Interfaces::IParticlePropertySvc * svc = 0 )

constructor from mass-range

Definition at line 414 of file NodePIDs.cpp.

415 : Decays::Nodes::Mass( -1 * Gaudi::Units::TeV, high, svc ) {}
double high() const
get high edge
Definition NodesPIDs.h:427
constexpr double TeV

Member Function Documentation

◆ clone()

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

MANDATORY: clone method ("virtual constructor").

Reimplemented from Gaudi::Decays::Nodes::CTau.

Definition at line 417 of file NodePIDs.cpp.

417{ return new Decays::Nodes::Light( *this ); }

◆ fillStream()

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

MANDATORY: the specific printout.

Reimplemented from Gaudi::Decays::Nodes::CTau.

Definition at line 419 of file NodePIDs.cpp.

419{ return s << " Light( " << high() << ") "; }

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