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
SvtxAlignmentStateMap_v1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxAlignmentStateMap_v1.h
1
#ifndef TRACKBASEHISTORIC_SVTXALIGNMENTSTATEMAP_V1_H
2
#define TRACKBASEHISTORIC_SVTXALIGNMENTSTATEMAP_V1_H
3
4
#include "
SvtxAlignmentState.h
"
5
#include "
SvtxAlignmentStateMap.h
"
6
7
class
PHObject
;
8
9
class
SvtxAlignmentStateMap_v1
:
public
SvtxAlignmentStateMap
10
{
11
public
:
12
SvtxAlignmentStateMap_v1
();
13
~SvtxAlignmentStateMap_v1
()
override
;
14
15
void
identify
(std::ostream&
os
= std::cout)
const override
;
16
// cppcheck-suppress virtualCallInConstructor
17
void
Reset
()
override
;
18
int
isValid
()
const override
{
return
1; }
19
PHObject
*
CloneMe
()
const override
{
return
new
SvtxAlignmentStateMap_v1
(*
this
); }
20
21
bool
empty
()
const override
{
return
m_map
.empty(); }
22
std::size_t
size
()
const override
{
return
m_map
.size(); }
23
std::size_t
count
(
unsigned
int
track)
const override
{
return
m_map
.count(track); }
24
void
clear
()
override
{
Reset
(); }
25
26
const
StateVec
get
(
unsigned
int
track)
const
override
;
27
StateVec
get
(
unsigned
int
track)
override
;
28
StateVec
insertWithKey
(
unsigned
int
track,
StateVec
states)
override
;
29
std::size_t
erase
(
unsigned
int
track)
override
;
30
31
ConstIter
begin
()
const override
{
return
m_map
.begin(); }
32
ConstIter
find
(
unsigned
int
track)
const override
{
return
m_map
.find(track); }
33
ConstIter
end
()
const override
{
return
m_map
.end(); }
34
35
Iter
begin
()
override
{
return
m_map
.begin(); }
36
Iter
find
(
unsigned
int
track)
override
{
return
m_map
.find(track); }
37
Iter
end
()
override
{
return
m_map
.end(); }
38
39
private
:
40
StateMap
m_map
;
41
42
ClassDefOverride
(
SvtxAlignmentStateMap_v1
, 1);
43
};
44
45
#endif
coresoftware
blob
master
offline
packages
trackbase_historic
SvtxAlignmentStateMap_v1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration