EIC Software
Reference for
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
CentralityInfov1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CentralityInfov1.h
1
#ifndef CENTRALITY_IO_CENTRALITYINFOV1_H
2
#define CENTRALITY_IO_CENTRALITYINFOV1_H
3
4
#include "
CentralityInfo.h
"
5
6
#include <iostream>
7
#include <map>
8
9
class
CentralityInfov1
:
public
CentralityInfo
10
{
11
public
:
12
CentralityInfov1
();
13
~CentralityInfov1
()
override
{}
14
15
void
identify
(std::ostream &os = std::cout)
const override
;
16
void
Reset
()
override
{}
17
int
isValid
()
const override
{
return
1; }
18
19
bool
has_quantity
(
const
PROP
prop_id)
const override
;
20
float
get_quantity
(
const
PROP
prop_id)
const override
;
21
void
set_quantity
(
const
PROP
prop_id,
const
float
value
)
override
;
22
23
bool
has_centile
(
const
PROP
prop_id)
const override
;
24
float
get_centile
(
const
PROP
prop_id)
const override
;
25
void
set_centile
(
const
PROP
prop_id,
const
float
value
)
override
;
26
27
private
:
28
std::map<int, float>
_quantity_map
;
29
std::map<int, float>
_centile_map
;
30
31
ClassDefOverride
(
CentralityInfov1
, 1);
32
};
33
34
#endif
fun4all_coresoftware
blob
master
offline
packages
centrality
CentralityInfov1.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:43
using
1.8.2 with
EIC GitHub integration