This class is an interface to the ParticlePropertySvc.
More...
#include <GaudiKernel/IParticlePropertySvc.h>
|
| DeclareInterfaceID (IParticlePropertySvc, 3, 0) |
| InterfaceID. More...
|
|
virtual StatusCode | push_back (const std::string &particle, int geantId, int jetsetId, double charge, double mass, double tlife, const std::string &evtName, int pythiaId, double maxWidth)=0 |
| Create a new particle property. More...
|
|
virtual StatusCode | push_back (ParticleProperty *pp)=0 |
| Create a new particle property. More...
|
|
virtual const_iterator | begin () const =0 |
| Get a const reference to the begining of the container. More...
|
|
virtual const_iterator | end () const =0 |
| Get a const reference to the end of the container. More...
|
|
virtual int | size () const =0 |
| Get the container size. More...
|
|
virtual ParticleProperty * | find (int geantId)=0 |
| Retrieve an object by geant3 id. More...
|
|
virtual ParticleProperty * | findByStdHepID (int stdHepID)=0 |
| Retrieve an object by StdHep id. More...
|
|
virtual ParticleProperty * | find (const std::string &name)=0 |
| Retrieve an object by name. More...
|
|
virtual ParticleProperty * | findByPythiaID (int pythiaID)=0 |
| Retrieve an object by PythiaID. More...
|
|
virtual StatusCode | erase (int geantId)=0 |
| Erase a property by geant3 id. More...
|
|
virtual StatusCode | erase (const std::string &name)=0 |
| Erase a property by particle name. More...
|
|
virtual StatusCode | eraseByStdHepID (int stdHepID)=0 |
| Erase a property by StdHep id. More...
|
|
| DeclareInterfaceID (IService, 4, 0) |
| InterfaceID. More...
|
|
virtual StatusCode | sysInitialize ()=0 |
| Initialize Service. More...
|
|
virtual StatusCode | sysStart ()=0 |
| Start Service. More...
|
|
virtual StatusCode | sysStop ()=0 |
| Stop Service. More...
|
|
virtual StatusCode | sysFinalize ()=0 |
| Finalize Service. More...
|
|
virtual StatusCode | sysReinitialize ()=0 |
| Re-initialize the Service. More...
|
|
virtual StatusCode | sysRestart ()=0 |
| Re-start the Service. More...
|
|
This class is an interface to the ParticlePropertySvc.
- Author
- Iain Last
-
G.Corti
Definition at line 18 of file IParticlePropertySvc.h.
Get a const reference to the begining of the container.
Get a const reference to the end of the container.
virtual StatusCode IParticlePropertySvc::erase |
( |
int |
geantId | ) |
|
|
pure virtual |
Erase a property by geant3 id.
Erase a property by particle name.
virtual StatusCode IParticlePropertySvc::eraseByStdHepID |
( |
int |
stdHepID | ) |
|
|
pure virtual |
Erase a property by StdHep id.
Retrieve an object by geant3 id.
Retrieve an object by name.
Retrieve an object by PythiaID.
Retrieve an object by StdHep id.
virtual StatusCode IParticlePropertySvc::push_back |
( |
const std::string & |
particle, |
|
|
int |
geantId, |
|
|
int |
jetsetId, |
|
|
double |
charge, |
|
|
double |
mass, |
|
|
double |
tlife, |
|
|
const std::string & |
evtName, |
|
|
int |
pythiaId, |
|
|
double |
maxWidth |
|
) |
| |
|
pure virtual |
Create a new particle property.
- Parameters
-
particle | String name of the particle |
geantId | Geant3 ID of the particle |
jetsetId | Jetset ID of the particle |
charge | Particle charge (/e) |
mass | Particle mass (MeV) |
tlife | Particle lifetime (s) |
evtName | String name of the particle in EvtGen |
pythiaId | ID of particle in Pythia |
- Returns
- StatusCode - SUCCESS if the particle property was added
Create a new particle property.
- Parameters
-
pp | a particle property class |
- Returns
- StatusCode - SUCCESS if the particle property was added
virtual int IParticlePropertySvc::size |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: