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
CentralityInfov1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CentralityInfov1.h
1
#ifndef CENTRALITY_CENTRALITYINFOV1_H
2
#define CENTRALITY_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
() =
default
;
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
coresoftware
blob
master
offline
packages
centrality
CentralityInfov1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration