Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
CentralityInfo.h
CentralityInfoLinkDef.h
CentralityInfov1.cc
CentralityInfov1.h
CentralityInfov1LinkDef.h
CentralityInfov2.cc
CentralityInfov2.h
CentralityInfov2LinkDef.h
CentralityReco.cc
CentralityReco.h
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CentralityReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CentralityReco.h
1
#ifndef CENTRALITY_CENTRALITYRECO_H
2
#define CENTRALITY_CENTRALITYRECO_H
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <array>
6
#include <limits>
7
#include <string>
// for string, allocator
8
9
// Forward declarations
10
class
CentralityInfo
;
11
class
PHCompositeNode
;
12
class
MbdOut
;
13
14
class
CentralityReco
:
public
SubsysReco
15
{
16
public
:
18
explicit
CentralityReco
(
const
std::string
&
name
=
"CentralityReco"
);
19
21
~CentralityReco
()
override
=
default
;
22
24
int
InitRun
(
PHCompositeNode
*)
override
;
25
void
CreateNodes
(
PHCompositeNode
*);
26
int
FillCentralityInfo
();
27
int
FillVars
();
28
int
GetNodes
(
PHCompositeNode
*);
29
31
int
process_event
(
PHCompositeNode
*)
override
;
32
int
ResetEvent
(
PHCompositeNode
*)
override
;
33
34
// Interface with CDB
35
int
Download_centralityDivisions
(
const
std::string
&dbfile);
36
int
Download_centralityScale
(
const
std::string
&dbfile);
37
38
private
:
39
std::string
_dbfilename
;
40
41
const
int
NDIVS
{100};
42
43
MbdOut
*
_mbd_out
{
nullptr
};
44
45
CentralityInfo
*
_central
{
nullptr
};
46
47
unsigned
int
_key
{std::numeric_limits<unsigned int>::max()};
48
49
float
_mbd_charge_sum
{std::numeric_limits<float>::quiet_NaN()};
50
float
_mbd_charge_sum_n
{std::numeric_limits<float>::quiet_NaN()};
51
float
_mbd_charge_sum_s
{std::numeric_limits<float>::quiet_NaN()};
52
53
double
_centrality_scale
{std::numeric_limits<double>::quiet_NaN()};
54
std::array<float, 100>
_centrality_map
{};
55
56
};
57
58
#endif
coresoftware
blob
master
offline
packages
centrality
CentralityReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration