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
PHTpcClusterMover.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHTpcClusterMover.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
10
#ifndef PHTPCCLUSTERMOVER_H
11
#define PHTPCCLUSTERMOVER_H
12
13
#include <
fun4all/SubsysReco.h
>
14
15
#include <string>
16
#include <vector>
17
18
#include <
trackbase/ActsGeometry.h
>
19
#include <
trackbase_historic/ActsTransformations.h
>
20
#include <
tpc/TpcDistortionCorrectionContainer.h
>
21
#include <
tpc/TpcDistortionCorrection.h
>
22
23
class
PHCompositeNode
;
24
class
PHG4TpcCylinderGeomContainer
;
25
class
SvtxTrack
;
26
class
SvtxTrackMap
;
27
class
TrkrCluster
;
28
class
TrkrClusterContainer
;
29
30
class
PHTpcClusterMover
:
public
SubsysReco
31
{
32
public
:
33
34
PHTpcClusterMover
(
const
std::string
&
name
=
"PHTpcClusterMover"
);
35
36
int
InitRun
(
PHCompositeNode
*topNode)
override
;
37
int
process_event
(
PHCompositeNode
*topNode)
override
;
38
int
End
(
PHCompositeNode
*topNode)
override
;
39
40
41
private
:
42
43
int
GetNodes
(
PHCompositeNode
* topNode);
44
int
get_circle_circle_intersection
(
double
target_radius,
double
R
,
double
X0
,
double
Y0
,
double
xref,
double
yref,
double
&
x
,
double
&
y
);
45
47
ActsTransformations
_transformer
;
48
50
TpcDistortionCorrection
_distortionCorrection
;
51
52
double
_z_start
=0.0;
53
double
_y_start
=0.0;
54
double
_x_start
=0.0;
55
56
double
_z_proj
=0.0;
57
double
_y_proj
=0.0;
58
double
_x_proj
=0.0;
59
60
// range of TPC layers to use in projection to micromegas
61
62
PHG4TpcCylinderGeomContainer
*
_tpc_geom_container
=
nullptr
;
63
64
SvtxTrackMap
*
_track_map
{
nullptr
};
65
SvtxTrack
*
_track
{
nullptr
};
66
TrkrClusterContainer
*
_cluster_map
{
nullptr
};
67
TrkrClusterContainer
*
_corrected_cluster_map
{
nullptr
};
68
ActsGeometry
*
_tGeometry
{
nullptr
};
69
TpcDistortionCorrectionContainer
*
_dcc
{
nullptr
};
70
71
double
layer_radius
[48] = {0};
72
double
inner_tpc_min_radius
= 30.0;
73
double
mid_tpc_min_radius
= 40.0;
74
double
outer_tpc_min_radius
= 60.0;
75
double
outer_tpc_max_radius
= 77.0;
76
77
double
inner_tpc_spacing
= 0.0;
78
double
mid_tpc_spacing
= 0.0;
79
double
outer_tpc_spacing
= 0.0;
80
81
};
82
83
#endif // PHTPCCLUSTERMOVER_H
coresoftware
blob
master
offline
packages
trackreco
PHTpcClusterMover.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration