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
simulation
g4simulation
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
PHG4EPDDetector.cc
PHG4EPDDetector.h
PHG4EPDDisplayAction.cc
PHG4EPDDisplayAction.h
PHG4EPDModuleReco.cc
PHG4EPDModuleReco.h
PHG4EPDSteppingAction.cc
PHG4EPDSteppingAction.h
PHG4EPDSubsystem.cc
PHG4EPDSubsystem.h
g4eval
g4gdml
g4histos
g4ihcal
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4ohcal
g4tpc
g4trackfastsim
g4tracking
g4vertex
g4waveformsim
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
PHG4EPDModuleReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4EPDModuleReco.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EPD_PHG4EPDMODULERECO_H
4
#define G4EPD_PHG4EPDMODULERECO_H
5
6
#include <phparameter/PHParameterInterface.h>
7
8
#include <
fun4all/SubsysReco.h
>
9
10
#include <array>
11
#include <cmath>
12
#include <string>
13
14
class
PHCompositeNode
;
15
16
class
PHG4EPDModuleReco
:
public
SubsysReco
,
public
PHParameterInterface
17
{
18
public
:
19
PHG4EPDModuleReco
(
const
std::string
&
name
=
"EpdModuleReco"
);
20
21
~PHG4EPDModuleReco
()
override
{}
22
24
int
InitRun
(
PHCompositeNode
*topNode)
override
;
25
27
int
process_event
(
PHCompositeNode
*topNode)
override
;
28
30
int
ResetEvent
(
PHCompositeNode
*
/*topNode*/
)
override
;
31
32
void
SetDefaultParameters
()
override
;
33
34
void
Detector
(
const
std::string
&
detector
);
35
36
std::string
37
get_epd_sim_tower_node_prefix
()
const
38
{
39
return
m_EPDSimTowerNodePrefix
;
40
}
41
42
void
43
set_epd_sim_tower_node_prefix
(
const
std::string
&epdsimTowerNodePrefix)
44
{
45
m_EPDSimTowerNodePrefix
= epdsimTowerNodePrefix;
46
}
47
48
std::string
49
get_epd_calib_tower_node_prefix
()
const
50
{
51
return
m_EPDCalibTowerNodePrefix
;
52
}
53
54
void
55
set_epd_calib_tower_node_prefix
(
const
std::string
&epdcalibTowerNodePrefix)
56
{
57
m_EPDCalibTowerNodePrefix
= epdcalibTowerNodePrefix;
58
}
59
60
void
set_timing_window
(
const
double
tmi,
const
double
tma);
61
62
private
:
63
int
Getrmap
(
int
rindex);
64
int
Getphimap
(
int
phiindex);
65
float
GetTilePhi
(
int
thisphi);
66
float
GetTilePhi0
(
int
thisphi0);
67
float
GetTileR
(
int
thisr);
68
float
GetTileZ
(
int
thisz);
69
void
CreateNodes
(
PHCompositeNode
*topNode);
70
71
std::string
m_Detector
;
72
std::string
m_Hitnodename
;
73
std::string
m_EPDSimTowerNodePrefix
=
"SIM"
;
74
std::string
m_EPDCalibTowerNodePrefix
=
"CALIB"
;
75
76
std::string
m_TowerInfoNodeName
;
77
std::string
m_TowerInfoNodeName_calib
;
78
std::array<std::array<std::array<double, 31>, 12>, 2>
m_EpdTile_e
= {};
79
std::array<std::array<std::array<double, 31>, 12>, 2>
m_EpdTile_Calib_e
= {};
80
81
double
m_EpdMpv
= NAN;
82
83
double
tmin
= NAN;
84
double
tmax
= NAN;
85
double
m_DeltaT
= NAN;
86
};
87
88
#endif
coresoftware
blob
master
simulation
g4simulation
g4epd
PHG4EPDModuleReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration