| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IParticlePropertySvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IPARTICLEPROPERTYSVC_H
2 #define GAUDIKERNEL_IPARTICLEPROPERTYSVC_H
3
4 // Include Files
5 #include "GaudiKernel/IService.h"
6 #include <vector>
7
8 // Forward declarations.
9 class ParticleProperty;
10
18 class GAUDI_API IParticlePropertySvc : virtual public IService
19 {
20
21 public:
23 DeclareInterfaceID( IParticlePropertySvc, 3, 0 );
24
25 // Typedefs for container type
26 typedef std::vector<ParticleProperty*> VectPP;
27 typedef VectPP::const_iterator const_iterator;
28 typedef VectPP::iterator iterator;
29
41 virtual StatusCode push_back( const std::string& particle, int geantId, int jetsetId, double charge, double mass,
42 double tlife, const std::string& evtName, int pythiaId, double maxWidth ) = 0;
43
48 virtual StatusCode push_back( ParticleProperty* pp ) = 0;
49
51 virtual const_iterator begin() const = 0;
52
54 virtual const_iterator end() const = 0;
55
57 virtual int size() const = 0;
58
60 virtual ParticleProperty* find( int geantId ) = 0;
61
63 virtual ParticleProperty* findByStdHepID( int stdHepID ) = 0;
64
66 virtual ParticleProperty* find( const std::string& name ) = 0;
67
69 virtual ParticleProperty* findByPythiaID( int pythiaID ) = 0;
70
72 virtual StatusCode erase( int geantId ) = 0;
73
75 virtual StatusCode erase( const std::string& name ) = 0;
76
78 virtual StatusCode eraseByStdHepID( int stdHepID ) = 0;
79 };
80
81 #endif
IParticlePropertySvc::iterator
VectPP::iterator iterator
Definition: IParticlePropertySvc.h:28
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:32
ParticleProperty
A trivial class to hold information about a single particle properties.
Definition: ParticleProperty.h:18
IParticlePropertySvc::VectPP
std::vector< ParticleProperty * > VectPP
Definition: IParticlePropertySvc.h:26
Gaudi::Functional::details::details2::push_back
void push_back(Container &c, const Value &v, std::true_type)
Definition: FunctionalDetails.h:217
begin
auto begin(reverse_wrapper< T > &w)
Definition: reverse.h:58
std::string
STL class.
IService
General service interface definition.
Definition: IService.h:18
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
end
auto end(reverse_wrapper< T > &w)
Definition: reverse.h:64
IService.h
std::vector
STL class.
IParticlePropertySvc
This class is an interface to the ParticlePropertySvc.
Definition: IParticlePropertySvc.h:18
compareOutputFiles.pp
pp
Definition: compareOutputFiles.py:467
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IParticlePropertySvc::const_iterator
VectPP::const_iterator const_iterator
Definition: IParticlePropertySvc.h:27