The Gaudi Framework
v30r3 (a5ef0a68)
|
IParticlePropertySvc::value_type is a typedef that defines the internal service storage type that is returned when an iterator is dereferenced. More...
#include <GaudiKernel/FindByMassRange.h>
Public Member Functions | |
FindByMassRange (double low, double high) | |
Constructor - sets the mass range in Gev. More... | |
bool | operator() (const ParticleProperty *pp) const |
This routine check to see if the mass of a particle lies within the given mass range and returns true if it does. More... | |
Private Attributes | |
double | m_low |
Low and high mass range (GeV) More... | |
double | m_high |
IParticlePropertySvc::value_type is a typedef that defines the internal service storage type that is returned when an iterator is dereferenced.
In this case it corresponds to pair< std::string, ParticleProperty* > as the ParticlePropertySvc stores all its data in a map. The string will be the map's key (usually the particle name) and the pointer is a pointer to the ParticleProperty object.
The data is accessed in the following manner: const IParticlePropertySvc::value_type& pp_ref; std::string key = pp_ref.first; ParticleProperty* pp = pp_ref.second;
Definition at line 24 of file FindByMassRange.h.
|
inline |
|
inline |
This routine check to see if the mass of a particle lies within the given mass range and returns true if it does.
Definition at line 34 of file FindByMassRange.h.
|
private |
Definition at line 39 of file FindByMassRange.h.
|
private |
Low and high mass range (GeV)
Definition at line 38 of file FindByMassRange.h.