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
InttVertexMap.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file InttVertexMap.h
1
#ifndef INTT_INTTVERTEXMAP_H
2
#define INTT_INTTVERTEXMAP_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <cstddef>
// for size_t
7
#include <iostream>
8
#include <map>
9
10
class
InttVertex
;
11
12
class
InttVertexMap
:
public
PHObject
13
{
14
public
:
15
typedef
std::map<unsigned int, InttVertex*>::const_iterator
ConstIter
;
16
typedef
std::map<unsigned int, InttVertex*>::iterator
Iter
;
17
18
~InttVertexMap
()
override
{}
19
20
void
identify
(std::ostream&
os
= std::cout)
const override
{
os
<<
"InttVertexMap base class"
<< std::endl; }
21
int
isValid
()
const override
{
return
0; }
22
23
virtual
bool
empty
()
const
{
return
true
; }
24
virtual
size_t
size
()
const
{
return
0; }
25
virtual
size_t
count
(
unsigned
int
/*idkey*/
)
const
{
return
0; }
26
virtual
void
clear
() {}
27
28
virtual
const
InttVertex
*
get
(
unsigned
int
/*idkey*/
)
const
{
return
nullptr
; }
29
virtual
InttVertex
*
get
(
unsigned
int
/*idkey*/
) {
return
nullptr
; }
30
virtual
InttVertex
*
insert
(
InttVertex
*
/*vertex*/
) {
return
nullptr
; }
31
virtual
size_t
erase
(
unsigned
int
/*idkey*/
) {
return
0; }
32
33
virtual
ConstIter
begin
()
const
;
34
virtual
ConstIter
find
(
unsigned
int
idkey)
const
;
35
virtual
ConstIter
end
()
const
;
36
37
virtual
Iter
begin
();
38
virtual
Iter
find
(
unsigned
int
idkey);
39
virtual
Iter
end
();
40
41
protected
:
42
InttVertexMap
() {}
43
44
private
:
45
ClassDefOverride
(
InttVertexMap
, 1);
46
};
47
48
#endif // INTT_INTTVERTEXMAP_H
coresoftware
blob
master
offline
packages
intt
InttVertexMap.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration