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
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
ActsAlignmentStates.cc
ActsAlignmentStates.h
ActsEvaluator.cc
ActsEvaluator.h
ActsPropagator.cc
ActsPropagator.h
ALICEKF.cc
ALICEKF.h
AssocInfoContainer.cc
AssocInfoContainer.h
AssocInfoContainerLinkDef.h
AssocInfoContainerv1.cc
AssocInfoContainerv1.h
AssocInfoContainerv1LinkDef.h
GPUTPCBaseTrackParam.h
GPUTPCTrackLinearisation.h
GPUTPCTrackParam.cxx
GPUTPCTrackParam.h
MakeActsGeometry.cc
MakeActsGeometry.h
MakeSourceLinks.cc
MakeSourceLinks.h
nanoflann.hpp
PH3DVertexing.cc
PH3DVertexing.h
PHActsGSF.cc
PHActsGSF.h
PHActsInitialVertexFinder.cc
PHActsInitialVertexFinder.h
PHActsKDTreeSeeding.cc
PHActsKDTreeSeeding.h
PHActsSiliconSeeding.cc
PHActsSiliconSeeding.h
PHActsToSvtxTracks.cc
PHActsToSvtxTracks.h
PHActsTrackProjection.cc
PHActsTrackProjection.h
PHActsTrackPropagator.cc
PHActsTrackPropagator.h
PHActsTrkFitter.cc
PHActsTrkFitter.h
PHActsVertexFinder.cc
PHActsVertexFinder.h
PHActsVertexFitter.cc
PHActsVertexFitter.h
PHActsVertexPropagator.cc
PHActsVertexPropagator.h
PHCASeeding.cc
PHCASeeding.h
PHCosmicSeedCombiner.cc
PHCosmicSeedCombiner.h
PHCosmicSeeder.cc
PHCosmicSeeder.h
PHCosmicSiliconPropagator.cc
PHCosmicSiliconPropagator.h
PHCosmicsTrkFitter.cc
PHCosmicsTrkFitter.h
PHCosmicTrackMerger.cc
PHCosmicTrackMerger.h
PHGenFitTrackProjection.cc
PHGenFitTrackProjection.h
PHGenFitTrkFitter.cc
PHGenFitTrkFitter.h
PHGhostRejection.cc
PHGhostRejection.h
PHHybridSeeding.cc
PHHybridSeeding.h
PHInitVertexing.cc
PHInitVertexing.h
PHMicromegasTpcTrackMatching.cc
PHMicromegasTpcTrackMatching.h
PHRaveVertexing.cc
PHRaveVertexing.h
PHSiliconHelicalPropagator.cc
PHSiliconHelicalPropagator.h
PHSiliconSeedMerger.cc
PHSiliconSeedMerger.h
PHSiliconTpcTrackMatching.cc
PHSiliconTpcTrackMatching.h
PHSiliconTruthTrackSeeding.cc
PHSiliconTruthTrackSeeding.h
PHSimpleKFProp.cc
PHSimpleKFProp.h
PHSimpleVertexFinder.cc
PHSimpleVertexFinder.h
PHTpcClusterMover.cc
PHTpcClusterMover.h
PHTpcDeltaZCorrection.cc
PHTpcDeltaZCorrection.h
PHTpcTrackSeedCircleFit.cc
PHTpcTrackSeedCircleFit.h
PHTrackCleaner.cc
PHTrackCleaner.h
PHTrackClusterAssociator.cc
PHTrackClusterAssociator.h
PHTrackFitting.cc
PHTrackFitting.h
PHTrackPropagating.cc
PHTrackPropagating.h
PHTrackSeeding.cc
PHTrackSeeding.h
PHTrackSelector.cc
PHTrackSelector.h
PHTrackSetCopyMerging.cc
PHTrackSetCopyMerging.h
PHTrackSetMerging.cc
PHTrackSetMerging.h
PHTruthClustering.cc
PHTruthClustering.h
PHTruthSiliconAssociation.cc
PHTruthSiliconAssociation.h
PHTruthTrackSeeding.cc
PHTruthTrackSeeding.h
PHTruthVertexing.cc
PHTruthVertexing.h
SecondaryVertexFinder.cc
SecondaryVertexFinder.h
SvtxTrackStateRemoval.cc
SvtxTrackStateRemoval.h
TrackingIterationCounter.cc
TrackingIterationCounter.h
trigger
vararray
QA
simulation
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
PHTruthVertexing.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHTruthVertexing.h
1
7
#ifndef TRACKRECO_PHTRUTHVERTEXING_H
8
#define TRACKRECO_PHTRUTHVERTEXING_H
9
10
11
// rootcint barfs with this header so we need to hide it
12
#include <gsl/gsl_rng.h>
13
14
#include <string>
// for string
15
#include <vector>
16
17
#include "
PHInitVertexing.h
"
18
19
// forward declarations
20
class
PHCompositeNode
;
21
class
PHG4TruthInfoContainer
;
22
27
28
class
PHTruthVertexing
:
public
PHInitVertexing
29
{
30
public
:
31
PHTruthVertexing
(
const
std::string
&
name
=
"PHTruthVertexing"
);
32
~PHTruthVertexing
()
override
;
33
34
void
set_vertex_error
(
const
float
&x_err,
const
float
&y_err,
const
float
&z_err)
35
{
36
_vertex_error
.resize(3);
37
_vertex_error
[0] = x_err;
38
_vertex_error
[1] = y_err;
39
_vertex_error
[2] = z_err;
40
}
41
42
const
std::vector<float> &
get_vertex_error
()
const
43
{
44
return
_vertex_error
;
45
}
46
void
associate_tracks
(
bool
associate_tracks
)
47
{
48
_associate_tracks
=
associate_tracks
;
49
}
50
void
set_embed_only
(
bool
embed_only)
51
{
52
_embed_only
= embed_only;
53
}
54
void
set_track_map_name
(
std::string
&
name
)
55
{
_track_map_name
=
name
; }
56
protected
:
57
58
int
Setup
(
PHCompositeNode
*topNode)
override
;
59
60
int
Process
(
PHCompositeNode
*topNode)
override
;
61
62
int
End
(
PHCompositeNode
*
/*topNode*/
)
override
;
63
64
private
:
66
int
GetNodes
(
PHCompositeNode
*topNode);
67
68
void
assignTracksVertices
(
PHCompositeNode
*topNode);
69
70
PHG4TruthInfoContainer
*
_g4truth_container
;
71
73
std::vector<float>
_vertex_error
;
74
75
bool
_embed_only
;
76
bool
_associate_tracks
=
false
;
77
std::string
_track_map_name
=
"SvtxTrackMap"
;
78
gsl_rng *
m_RandomGenerator
;
79
};
80
81
#endif
coresoftware
blob
master
offline
packages
trackreco
PHTruthVertexing.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration