The Gaudi Framework
v30r3 (a5ef0a68)
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
IOTest.end
end
Definition:
IOTest.py:114
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:235
details::size
constexpr auto size(const C &c) noexcept(noexcept(c.size())) -> decltype(c.size())
Definition:
AnyDataWrapper.h:14
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:51
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:471
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
Gaudi::Utils::begin
AttribStringParser::Iterator begin(const AttribStringParser &parser)
Definition:
AttribStringParser.h:129
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:104
IParticlePropertySvc::const_iterator
VectPP::const_iterator const_iterator
Definition:
IParticlePropertySvc.h:27
GaudiKernel
GaudiKernel
IParticlePropertySvc.h
Generated on Wed Aug 1 2018 23:21:04 for The Gaudi Framework by
1.8.11