Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ParticleFlowElementContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ParticleFlowElementContainer.h
1
#ifndef PARTICLEFLOW_PARTICLEFLOWELEMENTCONTAINER_H
2
#define PARTICLEFLOW_PARTICLEFLOWELEMENTCONTAINER_H
3
4
//===========================================================
8
//===========================================================
9
10
#include <
phool/PHObject.h
>
11
12
#include <iostream>
13
#include <map>
14
15
class
ParticleFlowElement
;
16
17
class
ParticleFlowElementContainer
:
public
PHObject
18
{
19
public
:
20
typedef
std::map<int, ParticleFlowElement *>
Map
;
21
typedef
Map::iterator
Iterator
;
22
typedef
Map::const_iterator
ConstIterator
;
23
typedef
std::pair<Iterator, Iterator>
Range
;
24
typedef
std::pair<ConstIterator, ConstIterator>
ConstRange
;
25
26
ParticleFlowElementContainer
( )
27
{
28
29
}
30
31
~ParticleFlowElementContainer
()
override
{}
32
33
void
Reset
()
override
;
34
int
isValid
()
const override
;
35
void
identify
(std::ostream &
os
= std::cout)
const override
;
36
37
void
AddParticleFlowElement
(
int
index
,
ParticleFlowElement
*pflowElement);
38
ParticleFlowElement
*
getParticleFlowElement
(
int
index
);
39
const
ParticleFlowElement
*
getParticleFlowElement
(
int
index
)
const
;
40
42
ConstRange
getParticleFlowElements
(
void
)
const
;
43
Range
getParticleFlowElements
(
void
);
44
45
unsigned
int
size
()
const
{
return
_pflowElementMap
.size(); }
46
47
protected
:
48
Map
_pflowElementMap
;
49
50
ClassDefOverride(
ParticleFlowElementContainer
, 1)
51
};
52
53
#endif
coresoftware
blob
master
offline
packages
particleflow
ParticleFlowElementContainer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration