ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
EICPhysicsList
g4bbc
g4calo
g4centrality
PHG4CentralityReco.cc
PHG4CentralityReco.h
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4tpc
g4trackfastsim
g4vertex
tpcresponse
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4CentralityReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CentralityReco.h
1
#ifndef G4CENTRALITY_PHG4CENTRALITYRECO_H
2
#define G4CENTRALITY_PHG4CENTRALITYRECO_H
3
4
//===========================================================
8
//===========================================================
9
10
#include <
fun4all/SubsysReco.h
>
11
#include <phparameter/PHParameters.h>
12
13
#include <cmath>
14
#include <string>
15
16
class
PHCompositeNode
;
17
18
class
PHG4CentralityReco
:
public
SubsysReco
19
{
20
public
:
21
PHG4CentralityReco
(
const
std::string &
name
=
"PHG4CentralityReco"
);
22
~PHG4CentralityReco
()
override
{}
23
24
int
InitRun
(
PHCompositeNode
*topNode)
override
;
25
int
process_event
(
PHCompositeNode
*topNode)
override
;
26
int
End
(
PHCompositeNode
*topNode)
override
;
27
28
void
DoCentralityCalibration
(
bool
do_centrality_calibration ) {
29
_do_centrality_calibration
= do_centrality_calibration;
30
}
31
32
PHParameters
&
GetCalibrationParameters
() {
33
return
_centrality_calibration_params
;
34
}
35
36
private
:
37
void
CreateNode
(
PHCompositeNode
*topNode);
38
void
FillNode
(
PHCompositeNode
*topNode);
39
40
PHParameters
_centrality_calibration_params
;
41
42
bool
_do_centrality_calibration
=
true
;
43
44
std::map<float,int>
_cent_cal_bimp
;
45
std::map<float,int>
_cent_cal_epd
;
46
std::map<float,int>
_cent_cal_mbd
;
47
48
float
_bimp
= NAN;
49
float
_bimp_cent
= NAN;
50
51
float
_epd_N
= NAN;
52
float
_epd_S
= NAN;
53
float
_epd_NS
= NAN;
54
float
_epd_cent
= NAN;
55
56
float
_mbd_N
= NAN;
57
float
_mbd_S
= NAN;
58
float
_mbd_NS
= NAN;
59
float
_mbd_cent
= NAN;
60
};
61
62
#endif
coresoftware
blob
master
simulation
g4simulation
g4centrality
PHG4CentralityReco.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration