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
TrkrHitSetContainerv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrHitSetContainerv1.h
1
#ifndef TRACKBASE_TrkrHitSetContainerv1_H
2
#define TRACKBASE_TrkrHitSetContainerv1_H
3
9
#include "
TrkrDefs.h
"
10
#include "
TrkrHitSetContainer.h
"
11
12
#include <iostream>
// for cout, ostream
13
#include <map>
14
#include <utility>
// for pair
15
16
class
TrkrHitSet
;
17
21
class
TrkrHitSetContainerv1
:
public
TrkrHitSetContainer
22
{
23
24
public
:
25
26
TrkrHitSetContainerv1
() =
default
;
27
28
~TrkrHitSetContainerv1
()
override
29
{
TrkrHitSetContainerv1::Reset
(); }
30
31
void
Reset
()
override
;
32
33
void
identify
(std::ostream& = std::cout)
const override
;
34
35
ConstIterator
addHitSet
(
TrkrHitSet
*)
override
;
36
37
ConstIterator
addHitSetSpecifyKey
(
const
TrkrDefs::hitsetkey
,
TrkrHitSet
*)
override
;
38
39
void
removeHitSet
(
TrkrDefs::hitsetkey
)
override
;
40
41
void
removeHitSet
(
TrkrHitSet
* )
override
;
42
43
Iterator
findOrAddHitSet
(
TrkrDefs::hitsetkey
key)
override
;
44
45
ConstRange
getHitSets
(
const
TrkrDefs::TrkrId
trackerid)
const override
;
46
47
ConstRange
getHitSets
(
const
TrkrDefs::TrkrId
trackerid,
const
uint8_t
layer
)
const override
;
48
49
ConstRange
getHitSets
()
const override
;
50
51
TrkrHitSet
*
findHitSet
(
TrkrDefs::hitsetkey
key)
override
;
52
53
unsigned
int
size
()
const override
54
{
return
m_hitmap
.size(); }
55
56
private
:
57
58
Map
m_hitmap
;
59
60
ClassDefOverride(
TrkrHitSetContainerv1
, 1)
61
};
62
63
#endif //TRACKBASE_TrkrHitSetContainerv1_H
coresoftware
blob
master
offline
packages
trackbase
TrkrHitSetContainerv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration