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
CentralityInfov2.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CentralityInfov2.h
1
#ifndef CENTRALITY_CENTRALITYINFOV2_H
2
#define CENTRALITY_CENTRALITYINFOV2_H
3
4
#include "
CentralityInfov1.h
"
5
6
#include <iostream>
7
#include <map>
8
9
class
CentralityInfov2
:
public
CentralityInfov1
10
{
11
public
:
12
CentralityInfov2
() =
default
;
13
~CentralityInfov2
()
override
=
default
;
14
15
void
identify
(std::ostream &
os
= std::cout)
const override
;
16
void
Reset
()
override
{}
17
18
bool
has_centrality_bin
(
const
PROP
prop_id)
const override
;
19
int
get_centrality_bin
(
const
PROP
prop_id)
const override
;
20
void
set_centrality_bin
(
const
PROP
prop_id,
const
int
value
)
override
;
21
private
:
22
23
std::map<int, int>
_centrality_bin_map
;
24
25
ClassDefOverride
(
CentralityInfov2
, 1);
26
};
27
28
#endif
coresoftware
blob
master
offline
packages
centrality
CentralityInfov2.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration