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
RawHitSetContainerv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawHitSetContainerv1.h
1
#ifndef TRACKBASE_RawHitSetContainerv1_H
2
#define TRACKBASE_RawHitSetContainerv1_H
3
9
#include "
TrkrDefs.h
"
10
#include "
RawHitSetContainer.h
"
11
12
#include <iostream>
// for cout, ostream
13
#include <map>
14
#include <utility>
// for pair
15
16
class
RawHitSet
;
17
21
class
RawHitSetContainerv1
:
public
RawHitSetContainer
22
{
23
24
public
:
25
26
RawHitSetContainerv1
() =
default
;
27
28
~RawHitSetContainerv1
()
override
29
{
RawHitSetContainerv1::Reset
(); }
30
31
void
Reset
()
override
;
32
33
void
identify
(std::ostream& = std::cout)
const override
;
34
35
ConstIterator
addHitSet
(
RawHitSet
*)
override
;
36
37
ConstIterator
addHitSetSpecifyKey
(
const
TrkrDefs::hitsetkey
,
RawHitSet
*)
override
;
38
39
void
removeHitSet
(
TrkrDefs::hitsetkey
)
override
;
40
41
void
removeHitSet
(
RawHitSet
* )
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
RawHitSet
*
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(
RawHitSetContainerv1
, 1)
61
};
62
63
#endif //TRACKBASE_RawHitSetContainerv1_H
coresoftware
blob
master
offline
packages
trackbase
RawHitSetContainerv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration