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

The trivial node : it match the 2L+1 spin. More...

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

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

Public Member Functions

 LSpin (const int spin)
 constructor from the 2L+1
LSpin * 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::SSpin
 SSpin (const int spin)
 constructor from the 2S+1
SSpin * 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::JSpin
 JSpin (const int spin)
 constructor from the 2J+1
bool valid () const override
 valid only for positive spin-values
StatusCode validate (const Gaudi::Interfaces::IParticlePropertySvc *) const override
 MANDATORY: the proper validation of the node.
int spin () 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

Public Types inherited from Gaudi::Decays::Nodes::JSpin
enum  { InvalidSpin = 501 }

Detailed Description

The trivial node : it match the 2L+1 spin.

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

Constructor & Destructor Documentation

◆ LSpin()

Gaudi::Decays::Nodes::LSpin::LSpin ( const int spin)

constructor from the 2L+1

Definition at line 208 of file NodePIDs.cpp.

208: Decays::Nodes::SSpin( spin ) {}

Member Function Documentation

◆ clone()

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

MANDATORY: clone method ("virtual constructor").

Reimplemented from Gaudi::Decays::Nodes::JSpin.

Definition at line 199 of file NodePIDs.cpp.

199{ return new LSpin( *this ); }
LSpin(const int spin)
constructor from the 2L+1
Definition NodePIDs.cpp:208

◆ fillStream()

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

MANDATORY: the specific printout.

Reimplemented from Gaudi::Decays::Nodes::JSpin.

Definition at line 263 of file NodePIDs.cpp.

263{ return s << " LSpin(" << spin() << ") "; }

◆ operator()()

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

MANDATORY: the only one essential method.

Reimplemented from Gaudi::Decays::Nodes::JSpin.

Definition at line 396 of file NodesPIDs.h.

396{ return spin() == pid.lSpin(); }
int lSpin() const
Return 2L+1, where L is the orbital angular momentum, valid only for mesons.

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