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.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CentralityInfov1.cc
1
#include "
CentralityInfov1.h
"
2
3
CentralityInfov1::CentralityInfov1
()
4
{
5
}
6
7
void
CentralityInfov1::identify
(std::ostream& os)
const
8
{
9
os <<
"CentralityInfo: "
<< std::endl;
10
11
return
;
12
}
13
14
bool
CentralityInfov1::has_quantity
(
const
PROP
prop_id)
const
15
{
16
return
_quantity_map
.find(prop_id) !=
_quantity_map
.end();
17
}
18
19
void
CentralityInfov1::set_quantity
(
const
PROP
prop_id,
float
value
)
20
{
21
_quantity_map
[prop_id] =
value
;
22
}
23
24
float
CentralityInfov1::get_quantity
(
const
PROP
prop_id)
const
25
{
26
if
(!
has_quantity
(prop_id))
27
return
-99;
28
else
29
return
_quantity_map
.at(prop_id);
30
}
31
32
bool
CentralityInfov1::has_centile
(
const
PROP
prop_id)
const
33
{
34
return
_centile_map
.find(prop_id) !=
_centile_map
.end();
35
}
36
37
void
CentralityInfov1::set_centile
(
const
PROP
prop_id,
float
value
)
38
{
39
_centile_map
[prop_id] =
value
;
40
}
41
42
float
CentralityInfov1::get_centile
(
const
PROP
prop_id)
const
43
{
44
if
(!
has_centile
(prop_id))
45
return
-99;
46
else
47
return
_centile_map
.at(prop_id);
48
}
fun4all_coresoftware
blob
master
offline
packages
centrality
CentralityInfov1.cc
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:43
using
1.8.2 with
EIC GitHub integration