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
RawHitSetv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawHitSetv1.h
1
#ifndef TRACKBASE_RAWHITSETV1_H
2
#define TRACKBASE_RAWHITSETV1_H
3
10
#include "
TrkrDefs.h
"
11
#include "
RawHitSet.h
"
12
13
#include <iostream>
14
#include <map>
15
#include <utility>
// for pair
16
17
// forward declaration
18
class
RawHit
;
19
20
class
RawHitSetv1
:
public
RawHitSet
21
{
22
public
:
23
RawHitSetv1
() =
default
;
24
25
~RawHitSetv1
()
override
26
{
27
RawHitSetv1::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
void
addHit
(
RawHit
*)
override
;
45
// void addTpcHit(unsigned short phibin, RawHit*) override;
46
void
setTpcPhiBins
(
unsigned
short
phibins
)
override
;
47
// void removeHit(TrkrDefs::hitkey) override;
48
49
// RawHit* getHit(const TrkrDefs::hitkey) const override;
50
51
ConstRange
getHits
()
const override
;
52
// ConstRange getTpcHits(unsigned short phibin) const override;
53
54
unsigned
int
size
()
const override
55
{
56
return
m_hits
.size();
57
}
58
unsigned
int
tpcphibins
()
const override
59
{
60
return
m_tpchits
.size();
61
}
62
VectorTpc2D
m_tpchits
;
63
64
private
:
66
TrkrDefs::hitsetkey
m_hitSetKey
= TrkrDefs::HITSETKEYMAX;
67
69
Vector
m_hits
;
70
ClassDefOverride
(
RawHitSetv1
, 1);
71
};
72
73
#endif //TRACKBASE_RawHitSetv1_H
coresoftware
blob
master
offline
packages
trackbase
RawHitSetv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration