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
EventplaneinfoMapv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventplaneinfoMapv1.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef EVENTPLANEINFOMAPV1_H
4
#define EVENTPLANEINFOMAPV1_H
5
6
#include "
EventplaneinfoMap.h
"
7
8
#include "
Eventplaneinfo.h
"
9
10
#include <iostream>
11
#include <map>
12
13
class
EventplaneinfoMapv1
:
public
EventplaneinfoMap
14
{
15
public
:
16
EventplaneinfoMapv1
() =
default
;
17
~EventplaneinfoMapv1
()
override
;
18
19
void
identify
(std::ostream&
os
= std::cout)
const override
;
20
void
Reset
()
override
{
clear
(); }
21
// cppcheck-suppress [virtualCallInConstructor]
22
void
clear
()
override
;
23
24
const
Eventplaneinfo
*
get
(
unsigned
int
idkey)
const
override
;
25
Eventplaneinfo
*
get
(
unsigned
int
idkey)
override
;
26
Eventplaneinfo
*
insert
(
Eventplaneinfo
* ep,
EPTYPE
type
)
override
;
27
28
ConstIter
begin
()
const override
{
return
_map
.begin(); }
29
ConstIter
find
(
unsigned
int
idkey)
const override
{
return
_map
.find(idkey); }
30
ConstIter
end
()
const override
{
return
_map
.end(); }
31
32
Iter
begin
()
override
{
return
_map
.begin(); }
33
Iter
find
(
unsigned
int
idkey)
override
{
return
_map
.find(idkey); }
34
Iter
end
()
override
{
return
_map
.end(); }
35
36
private
:
37
std::map<unsigned int, Eventplaneinfo*>
_map
;
38
39
ClassDefOverride
(
EventplaneinfoMapv1
, 1);
40
};
41
42
#endif // EVENTPLANEINFOMAPV1_H
coresoftware
blob
master
offline
packages
eventplaneinfo
EventplaneinfoMapv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration