ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GlobalVertexMap.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GlobalVertexMap.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4VERTEX_GLOBALVERTEXMAP_H
4
#define G4VERTEX_GLOBALVERTEXMAP_H
5
6
#include <
phool/PHObject.h
>
7
8
#include <iostream>
9
#include <map>
10
11
class
GlobalVertex
;
12
13
class
GlobalVertexMap
:
public
PHObject
14
{
15
public
:
16
typedef
std::map<unsigned int, GlobalVertex*>::const_iterator
ConstIter
;
17
typedef
std::map<unsigned int, GlobalVertex*>::iterator
Iter
;
18
19
~GlobalVertexMap
()
override
{}
20
21
void
identify
(std::ostream& os = std::cout)
const override
{ os <<
"GlobalVertexMap base class"
<< std::endl; }
22
int
isValid
()
const override
{
return
0; }
23
24
virtual
bool
empty
()
const
{
return
true
; }
25
virtual
size_t
size
()
const
{
return
0; }
26
virtual
size_t
count
(
unsigned
int
/*idkey*/
)
const
{
return
0; }
27
virtual
void
clear
() {}
28
29
virtual
const
GlobalVertex
*
get
(
unsigned
int
/*idkey*/
)
const
{
return
nullptr
; }
30
virtual
GlobalVertex
*
get
(
unsigned
int
/*idkey*/
) {
return
nullptr
; }
31
virtual
GlobalVertex
*
insert
(
GlobalVertex
*
/*vertex*/
) {
return
nullptr
; }
32
virtual
size_t
erase
(
unsigned
int
/*idkey*/
) {
return
0; }
33
34
virtual
ConstIter
begin
()
const
;
35
virtual
ConstIter
find
(
unsigned
int
idkey)
const
;
36
virtual
ConstIter
end
()
const
;
37
38
virtual
Iter
begin
();
39
virtual
Iter
find
(
unsigned
int
idkey);
40
virtual
Iter
end
();
41
42
protected
:
43
GlobalVertexMap
() {}
44
45
private
:
46
ClassDefOverride
(
GlobalVertexMap
, 1);
47
};
48
49
#endif // G4VERTEX_GLOBALVERTEXMAP_H
coresoftware
blob
master
simulation
g4simulation
g4vertex
GlobalVertexMap.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration