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
BbcVertexMap.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BbcVertexMap.h
1
#ifndef G4BBC_BBCVERTEXMAP_H
2
#define G4BBC_BBCVERTEXMAP_H
3
4
#include <
phool/PHObject.h
>
5
6
#include <cstddef>
// for size_t
7
#include <iostream>
8
#include <map>
9
10
class
BbcVertex
;
11
12
class
BbcVertexMap
:
public
PHObject
13
{
14
public
:
15
typedef
std::map<unsigned int, BbcVertex*>::const_iterator
ConstIter
;
16
typedef
std::map<unsigned int, BbcVertex*>::iterator
Iter
;
17
18
~BbcVertexMap
()
override
{}
19
20
void
identify
(std::ostream&
os
= std::cout)
const override
{
os
<<
"BbcVertexMap 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
BbcVertex
*
get
(
unsigned
int
/*idkey*/
)
const
{
return
nullptr
; }
29
virtual
BbcVertex
*
get
(
unsigned
int
/*idkey*/
) {
return
nullptr
; }
30
virtual
BbcVertex
*
insert
(
BbcVertex
*
/*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
BbcVertexMap
() {}
43
44
private
:
45
ClassDefOverride
(
BbcVertexMap
, 1);
46
};
47
48
#endif // G4BBC_BBCVERTEXMAP_H
coresoftware
blob
master
offline
packages
mbd
BbcVertexMap.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration