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

represent simple predicate for Long-lived particles More...

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

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

Public Member Functions

 LongLived_ (const double high, const Gaudi::Interfaces::IParticlePropertySvc *svc=0)
 constructor with high edge and service
 LongLived_ (const Gaudi::Interfaces::IParticlePropertySvc *svc=0)
 constructor service
LongLived_ * 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::CTau
 CTau (const double low, const double high, const Gaudi::Interfaces::IParticlePropertySvc *svc=nullptr)
 constructor from c-tau range
bool operator() (const Gaudi::ParticleID &pid) const override
 MANDATORY: the only one essential method.
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

represent simple predicate for Long-lived particles

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

Constructor & Destructor Documentation

◆ LongLived_() [1/2]

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

constructor with high edge and service

Definition at line 370 of file NodePIDs.cpp.

371 : Decays::Nodes::CTau( low, s_INFINITY, svc ) {}
double low() const
get low edge
Definition NodesPIDs.h:425

◆ LongLived_() [2/2]

Gaudi::Decays::Nodes::LongLived_::LongLived_ ( const Gaudi::Interfaces::IParticlePropertySvc * svc = 0)

constructor service

Definition at line 373 of file NodePIDs.cpp.

374 : Decays::Nodes::CTau( s_LONGLIVED, s_INFINITY, svc ) {}

Member Function Documentation

◆ clone()

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

MANDATORY: clone method ("virtual constructor").

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

Reimplemented in Gaudi::Decays::Nodes::Stable, and Gaudi::Decays::Nodes::StableCharged.

Definition at line 376 of file NodePIDs.cpp.

376{ return new Decays::Nodes::LongLived_( *this ); }

◆ fillStream()

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

MANDATORY: the specific printout.

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

Reimplemented in Gaudi::Decays::Nodes::Stable, and Gaudi::Decays::Nodes::StableCharged.

Definition at line 378 of file NodePIDs.cpp.

378 {
379 if ( essentiallyEqual( low(), s_LONGLIVED ) ) { return s << " LongLived "; }
380 return s << " LongLived_( " << low() << ") ";
381}

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