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
TrkrClusterContainerv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrClusterContainerv1.h
1
7
#ifndef TRACKBASE_TRKRCLUSTERCONTAINERV1_H
8
#define TRACKBASE_TRKRCLUSTERCONTAINERV1_H
9
10
#include "
TrkrClusterContainer.h
"
11
#include "
TrkrDefs.h
"
12
13
#include <
phool/PHObject.h
>
14
15
#include <iostream>
// for cout, ostream
16
#include <map>
17
#include <utility>
// for pair
18
19
class
TrkrCluster
;
20
26
class
TrkrClusterContainerv1
:
public
TrkrClusterContainer
27
{
28
public
:
29
typedef
std::map<TrkrDefs::cluskey, TrkrCluster *>
Map
;
30
typedef
Map::iterator
Iterator
;
31
typedef
Map::const_iterator
ConstIterator
;
32
typedef
std::pair<Iterator, Iterator>
Range
;
33
typedef
std::pair<ConstIterator, ConstIterator>
ConstRange
;
34
35
TrkrClusterContainerv1
() =
default
;
36
37
void
Reset
()
override
;
38
39
void
identify
(std::ostream &
os
= std::cout)
const override
;
40
41
void
addClusterSpecifyKey
(
const
TrkrDefs::cluskey
key,
TrkrCluster
*newClus)
override
;
42
43
void
removeCluster
(
TrkrDefs::cluskey
)
override
;
44
45
ConstRange
getClusters
()
const override
;
46
47
TrkrCluster
*
findCluster
(
TrkrDefs::cluskey
key)
const override
;
48
49
unsigned
int
size
()
const override
;
50
51
private
:
52
Map
m_clusmap
;
53
ClassDefOverride(
TrkrClusterContainerv1
, 1)
54
};
55
56
#endif // TRACKBASE_TRKRCLUSTERCONTAINER_H
coresoftware
blob
master
offline
packages
trackbase
TrkrClusterContainerv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration