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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TpcDirectLaserReconstruction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcDirectLaserReconstruction.h
1
#ifndef TPCCALIB_TPCDIRECTLASERRECONSTRUCTION_H
2
#define TPCCALIB_TPCDIRECTLASERRECONSTRUCTION_H
3
10
#include <
fun4all/SubsysReco.h
>
11
#include <phparameter/PHParameterInterface.h>
12
#include <
trackbase_historic/ActsTransformations.h
>
13
14
#include <memory>
15
16
struct
ActsSurfaceMaps
;
17
struct
ActsTrackingGeometry
;
18
class
SvtxTrack
;
19
class
SvtxTrackMap
;
20
class
TpcSpaceChargeMatrixContainer
;
21
class
TrkrCluster
;
22
class
TrkrClusterContainer
;
23
class
TrkrHitSetContainer
;
24
25
class
TFile;
26
class
TH1;
27
class
TH2;
28
class
TH3;
29
30
class
TpcDirectLaserReconstruction
:
public
SubsysReco
,
public
PHParameterInterface
31
{
32
33
public
:
34
36
TpcDirectLaserReconstruction
(
const
std::string& =
"TpcDirectLaserReconstruction"
);
37
39
int
Init
(
PHCompositeNode
*)
override
;
40
42
int
InitRun
(
PHCompositeNode
*)
override
;
43
45
int
process_event
(
PHCompositeNode
*)
override
;
46
48
int
End
(
PHCompositeNode
*)
override
;
49
51
void
SetDefaultParameters
()
override
;
52
54
57
void
set_outputfile
(
const
std::string&
filename
)
58
{
m_outputfile
=
filename
; }
59
61
void
set_savehistograms
(
bool
value
) {
m_savehistograms
=
value
; }
62
64
void
set_histogram_outputfile
(
const
std::string &outputfile)
65
{
m_histogramfilename
= outputfile;}
66
68
void
set_grid_dimensions
(
int
phibins
,
int
rbins,
int
zbins );
69
70
private
:
71
73
int
load_nodes
(
PHCompositeNode
* );
74
76
void
create_histograms
();
77
79
void
process_tracks
();
80
82
void
process_track
(
SvtxTrack
* );
83
85
int
get_cell_index
(
const
Acts::Vector3D
& )
const
;
86
88
std::string
m_outputfile
=
"TpcSpaceChargeMatrices.root"
;
89
91
92
// residual cuts in r, phi plane
93
float
m_max_dca
= 1.5;
94
96
float
m_max_drphi
= 0.5;
97
99
float
m_max_dz
= 0.5;
101
103
std::unique_ptr<TpcSpaceChargeMatrixContainer>
m_matrix_container
;
104
106
107
int
m_total_clusters
= 0;
108
int
m_accepted_clusters
= 0;
110
112
113
115
ActsSurfaceMaps
*
m_surfmaps
=
nullptr
;
116
118
ActsTrackingGeometry
*
m_tGeometry
=
nullptr
;
119
121
ActsTransformations
m_transformer
;
122
124
TrkrHitSetContainer
*
m_hitsetcontainer
=
nullptr
;
125
127
SvtxTrackMap
*
m_track_map
=
nullptr
;
128
129
// clusters
130
TrkrClusterContainer
*
m_cluster_map
=
nullptr
;
132
134
135
bool
m_savehistograms
=
false
;
136
std::string
m_histogramfilename
=
"TpcDirectLaserReconstruction.root"
;
137
std::unique_ptr<TFile>
m_histogramfile
=
nullptr
;
138
140
TH2*
h_dca_layer
=
nullptr
;
141
143
TH2 *
h_deltarphi_layer
=
nullptr
;
144
146
TH2 *
h_deltaz_layer
=
nullptr
;
147
149
TH3 *
h_entries
=
nullptr
;
150
152
153
};
154
155
#endif
coresoftware
blob
master
offline
packages
tpccalib
TpcDirectLaserReconstruction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration