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
helixResiduals.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file helixResiduals.h
1
#ifndef HELIXRESIDUALS_H
2
#define HELIXRESIDUALS_H
3
4
#include <
trackbase/ActsTrackingGeometry.h
>
5
#include <
trackbase/TrkrClusterContainerv4.h
>
6
#include <
trackbase_historic/SvtxTrackMap.h
>
7
#include <
trackbase_historic/TrackSeedContainer_v1.h
>
8
#include <
trackbase_historic/TrackSeed_v1.h
>
9
#include <trackermillepedealignment/HelicalFitter.h>
10
11
#include <
fun4all/SubsysReco.h
>
12
13
class
TFile;
14
class
TNtuple;
15
16
class
PHCompositeNode
;
17
class
SvtxTrack
;
18
class
SvtxTrackMap
;
19
20
class
helixResiduals
:
public
SubsysReco
21
{
22
public
:
23
helixResiduals
(
const
std::string
&
name
=
"helixResiduals"
);
24
~helixResiduals
() {}
25
26
int
InitRun
(
PHCompositeNode
* topNode)
override
;
27
int
process_event
(
PHCompositeNode
*
/*topNode*/
)
override
;
28
int
End
(
PHCompositeNode
*
/*topNode*/
)
override
;
29
void
set_output_file
(
const
std::string
& outputfile) {
filepath
= outputfile; }
30
31
private
:
32
int
getNodes
(
PHCompositeNode
* topNode);
33
34
void
fill_residuals
(
TrackSeed
*
seed
,
int
seed_id,
bool
isTpc);
35
36
HelicalFitter
*
_fitter
=
nullptr
;
37
ActsGeometry
*
tGeometry
=
nullptr
;
38
39
TNtuple*
ntp_residuals
=
nullptr
;
40
41
SvtxTrackMap
*
_tracks
=
nullptr
;
42
TrkrClusterContainer
*
_clusters
=
nullptr
;
43
TrackSeedContainer
*
_tpc_seeds
=
nullptr
;
44
TrackSeedContainer
*
_si_seeds
=
nullptr
;
45
46
TFile*
fout
=
nullptr
;
47
48
std::string
filepath
=
""
;
49
};
50
51
#endif // HELIXRESIDUALS_H
coresoftware
blob
master
offline
packages
TrackingDiagnostics
helixResiduals.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration