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
TrkrHitSetv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrkrHitSetv1.h
1
#ifndef TRACKBASE_TRKRHITSETV1_H
2
#define TRACKBASE_TRKRHITSETV1_H
3
10
#include "
TrkrDefs.h
"
11
#include "
TrkrHitSet.h
"
12
13
#include <iostream>
14
#include <map>
15
#include <utility>
// for pair
16
17
// forward declaration
18
class
TrkrHit
;
19
20
class
TrkrHitSetv1
:
public
TrkrHitSet
21
{
22
public
:
23
TrkrHitSetv1
() =
default
;
24
25
~TrkrHitSetv1
()
override
26
{
27
TrkrHitSetv1::Reset
();
28
}
29
30
void
identify
(std::ostream&
os
= std::cout)
const override
;
31
32
void
Reset
()
override
;
33
34
void
setHitSetKey
(
const
TrkrDefs::hitsetkey
key)
override
35
{
36
m_hitSetKey
= key;
37
}
38
39
TrkrDefs::hitsetkey
getHitSetKey
()
const override
40
{
41
return
m_hitSetKey
;
42
}
43
44
ConstIterator
addHitSpecificKey
(
const
TrkrDefs::hitkey
,
TrkrHit
*)
override
;
45
46
void
removeHit
(
TrkrDefs::hitkey
)
override
;
47
48
TrkrHit
*
getHit
(
const
TrkrDefs::hitkey
)
const override
;
49
50
ConstRange
getHits
()
const override
;
51
52
unsigned
int
size
()
const override
53
{
54
return
m_hits
.size();
55
}
56
57
private
:
59
TrkrDefs::hitsetkey
m_hitSetKey
= TrkrDefs::HITSETKEYMAX;
60
62
Map
m_hits
;
63
64
ClassDefOverride
(
TrkrHitSetv1
, 1);
65
};
66
67
#endif //TRACKBASE_TrkrHitSetv1_H
coresoftware
blob
master
offline
packages
trackbase
TrkrHitSetv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration