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