The Gaudi Framework
master (594c33fa)
|
#include </builds/gaudi/Gaudi/GaudiPartProp/include/Gaudi/Decays/NodesPIDs.h>
Classes | |
struct | KnownPids |
Public Member Functions | |
CTau (const double low, const double high, const Gaudi::Interfaces::IParticlePropertySvc *svc=nullptr) | |
constructor from c-tau range More... | |
CTau * | clone () const override |
MANDATORY: clone method ("virtual constructor") More... | |
bool | operator() (const Gaudi::ParticleID &pid) const override |
MANDATORY: the only one essential method. More... | |
std::ostream & | fillStream (std::ostream &s) const override |
MANDATORY: the specific printout. More... | |
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... | |
const Gaudi::Interfaces::IParticlePropertySvc * | ppSvc () const |
double | low () const |
get low edge More... | |
double | high () const |
get high edge More... | |
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? More... | |
virtual std::string | toString () const |
the string representation of the node More... | |
virtual | ~iNode ()=default |
virtual destructor More... | |
Protected Member Functions | |
template<typename F , typename = std::is_invocable_r<bool, F, Gaudi::ParticleID>> | |
bool | classify (Gaudi::ParticleID pid, F &&f) const |
Private Types | |
typedef SmartIF< Gaudi::Interfaces::IParticlePropertySvc > | Service |
Private Member Functions | |
bool | add_ (Gaudi::ParticleID pid, bool acc) const |
Private Attributes | |
Service | m_ppSvc |
the service : More... | |
Gaudi::cxx::SynchronizedValue< KnownPids > | m_pids |
double | m_low |
low edge More... | |
double | m_high |
high edge More... | |
simple pid-checker for particle lifetime (in c*tau units)
Definition at line 406 of file NodesPIDs.h.
|
private |
Definition at line 466 of file NodesPIDs.h.
Gaudi::Decays::Nodes::CTau::CTau | ( | const double | low, |
const double | high, | ||
const Gaudi::Interfaces::IParticlePropertySvc * | svc = nullptr |
||
) |
constructor from c-tau range
Definition at line 266 of file NodePIDs.cpp.
|
private |
Definition at line 295 of file NodePIDs.cpp.
|
inlineprotected |
Definition at line 433 of file NodesPIDs.h.
|
overridevirtual |
MANDATORY: clone method ("virtual constructor")
Implements Gaudi::Decays::iNode.
Reimplemented in Gaudi::Decays::Nodes::Heavy, Gaudi::Decays::Nodes::Light, Gaudi::Decays::Nodes::Mass, Gaudi::Decays::Nodes::StableCharged, Gaudi::Decays::Nodes::Stable, Gaudi::Decays::Nodes::LongLived_, and Gaudi::Decays::Nodes::ShortLived_.
Definition at line 271 of file NodePIDs.cpp.
|
overridevirtual |
MANDATORY: the specific printout.
Implements Gaudi::Decays::iNode.
Reimplemented in Gaudi::Decays::Nodes::Heavy, Gaudi::Decays::Nodes::Light, Gaudi::Decays::Nodes::Mass, Gaudi::Decays::Nodes::StableCharged, Gaudi::Decays::Nodes::Stable, Gaudi::Decays::Nodes::LongLived_, and Gaudi::Decays::Nodes::ShortLived_.
Definition at line 273 of file NodePIDs.cpp.
|
inline |
|
inline |
|
overridevirtual |
MANDATORY: the only one essential method.
Implements Gaudi::Decays::iNode.
Reimplemented in Gaudi::Decays::Nodes::Mass, and Gaudi::Decays::Nodes::StableCharged.
Definition at line 283 of file NodePIDs.cpp.
|
inline |
Definition at line 422 of file NodesPIDs.h.
StatusCode Gaudi::Decays::Nodes::CTau::setService | ( | const Gaudi::Interfaces::IParticlePropertySvc * | svc | ) | const |
Definition at line 306 of file NodePIDs.cpp.
|
overridevirtual |
MANDATORY: check the validity.
Implements Gaudi::Decays::iNode.
Definition at line 277 of file NodePIDs.cpp.
|
overridevirtual |
MANDATORY: the proper validation of the node.
Implements Gaudi::Decays::iNode.
Definition at line 279 of file NodePIDs.cpp.
|
private |
high edge
Definition at line 482 of file NodesPIDs.h.
|
private |
low edge
Definition at line 480 of file NodesPIDs.h.
|
mutableprivate |
Definition at line 477 of file NodesPIDs.h.
|
mutableprivate |
the service :
Definition at line 468 of file NodesPIDs.h.