Go to the documentation of this file.
25 namespace Interfaces {
26 class IParticlePropertySvc;
46 return p1 ==
p2 ? false : 0 ==
p1 ? true : 0 ==
p2 ? false : ( *
p1 < *
p2 );
61 const double tlife,
const double maxWidth,
const std::string& evtgen,
const int pythia );
75 const double tlife,
const double maxWidth );
88 double charge()
const {
return m_charge; }
90 double mass()
const {
return m_mass; }
109 bool selfcc()
const {
return m_anti ==
this; }
178 namespace ParticleProperties {
358 template <
class C_,
class A_>
375 template <
class C_,
class A_>
393 template <
class C_,
class A_>
std::ostream & operator<<(std::ostream &stream, const Gaudi::ParticleProperty &pp)
standard output operator to the stream
int m_pythia
the ID for the particle used in Pythia generator
int pythia() const
Get the Pythia ID.
const Gaudi::ParticleID & pdgID() const
get the particle ID
int threeCharge() const
Three times the charge (in positron charge units)
const Gaudi::ParticleID & pid() const
get the particle ID
std::string m_name
the name for the particle
const std::string & particle() const
Get the particle name.
double width() const
Get the particle natural width.
double lifeTime() const
Get the particle lifetime.
const std::string & name() const
Get the particle name.
double m_maxWidth
The maximum width deviation.
const Gaudi::ParticleProperty * m_anti
the pointer to the anti-particle
const Gaudi::ParticleProperty * anti() const
get the pointer to the anti-particle
Gaudi::ParticleID abs(const Gaudi::ParticleID &p)
Return the absolute value for a PID.
const Gaudi::ParticleProperty * antiParticle() const
get the pointer to the anti-particle
const std::string & evtGenName() const
Get the EvtGen name.
double maxWidth() const
Get the max width deviation.
friend bool operator<(const ParticleProperty &lhs, const ParticleProperty &rhs)
comparison/ordering operator ( "strict-less-by-PID&Name" )
GAUDI_API std::string printAsTable(const std::vector< const Gaudi::ParticleProperty * > &particles, const Gaudi::Interfaces::IParticlePropertySvc *service=0)
print a list of properties in a form of the table
bool operator()(const ParticleProperty *p1, const ParticleProperty *p2) const
double ctau() const
Get the particle proper lifetime in c*tau units.
double mass() const
Get the particle mass.
GAUDI_API std::ostream & printAsTable_(const std::vector< const Gaudi::ParticleProperty * > &particles, std::ostream &stream, const Gaudi::Interfaces::IParticlePropertySvc *service=0)
print a list of properties in a form of the table
double m_charge
the charge for the particle
Gaudi::ParticleID m_pid
the PID for the particle
int pythiaID() const
Get the Pythia ID.
double m_mass
the nominal mass for the particle
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
double m_tlife
the nominal proper lifetime for the particle
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
std::string m_evtgen
the name of the particle for EvtGen program
const Gaudi::ParticleID & particleID() const
get the particle ID
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
double charge() const
Get the particle charge.
bool selfcc() const
self-charge conjugated?
double lifetime() const
Get the particle lifetime.
const std::string & evtGen() const
Get the EvtGen name.