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
ActsTransformations.cc
ActsTransformations.h
PHG4ParticleSvtxMap.cc
PHG4ParticleSvtxMap.h
PHG4ParticleSvtxMap_v1.cc
PHG4ParticleSvtxMap_v1.h
PHG4ParticleSvtxMap_v1LinkDef.h
PHG4ParticleSvtxMapLinkDef.h
SvtxAlignmentState.cc
SvtxAlignmentState.h
SvtxAlignmentState_v1.cc
SvtxAlignmentState_v1.h
SvtxAlignmentState_v1LinkDef.h
SvtxAlignmentStateLinkDef.h
SvtxAlignmentStateMap.cc
SvtxAlignmentStateMap.h
SvtxAlignmentStateMap_v1.cc
SvtxAlignmentStateMap_v1.h
SvtxAlignmentStateMap_v1LinkDef.h
SvtxAlignmentStateMapLinkDef.h
SvtxPHG4ParticleMap.cc
SvtxPHG4ParticleMap.h
SvtxPHG4ParticleMap_v1.cc
SvtxPHG4ParticleMap_v1.h
SvtxPHG4ParticleMap_v1LinkDef.h
SvtxPHG4ParticleMapLinkDef.h
SvtxTrack.cc
SvtxTrack.h
SvtxTrack_FastSim.cc
SvtxTrack_FastSim.h
SvtxTrack_FastSim_v1.cc
SvtxTrack_FastSim_v1.h
SvtxTrack_FastSim_v1LinkDef.h
SvtxTrack_FastSim_v2.cc
SvtxTrack_FastSim_v2.h
SvtxTrack_FastSim_v2LinkDef.h
SvtxTrack_FastSim_v3.cc
SvtxTrack_FastSim_v3.h
SvtxTrack_FastSim_v3LinkDef.h
SvtxTrack_FastSimLinkDef.h
SvtxTrack_v1.cc
SvtxTrack_v1.h
SvtxTrack_v1LinkDef.h
SvtxTrack_v2.cc
SvtxTrack_v2.h
SvtxTrack_v2LinkDef.h
SvtxTrack_v3.cc
SvtxTrack_v3.h
SvtxTrack_v3LinkDef.h
SvtxTrack_v4.cc
SvtxTrack_v4.h
SvtxTrack_v4LinkDef.h
SvtxTrackCaloClusterMap.cc
SvtxTrackCaloClusterMap.h
SvtxTrackCaloClusterMap_v1.cc
SvtxTrackCaloClusterMap_v1.h
SvtxTrackCaloClusterMap_v1LinkDef.h
SvtxTrackCaloClusterMapLinkDef.h
SvtxTrackInfo.h
SvtxTrackInfo_v1.cc
SvtxTrackInfo_v1.h
SvtxTrackInfo_v1LinkDef.h
SvtxTrackInfoLinkDef.h
SvtxTrackLinkDef.h
SvtxTrackMap.cc
SvtxTrackMap.h
SvtxTrackMap_v1.cc
SvtxTrackMap_v1.h
SvtxTrackMap_v1LinkDef.h
SvtxTrackMap_v2.cc
SvtxTrackMap_v2.h
SvtxTrackMap_v2LinkDef.h
SvtxTrackMapLinkDef.h
SvtxTrackSeed_v1.cc
SvtxTrackSeed_v1.h
SvtxTrackSeed_v1LinkDef.h
SvtxTrackSeed_v2.cc
SvtxTrackSeed_v2.h
SvtxTrackSeed_v2LinkDef.h
SvtxTrackState.h
SvtxTrackState_v1.cc
SvtxTrackState_v1.h
SvtxTrackState_v1LinkDef.h
SvtxTrackState_v2.cc
SvtxTrackState_v2.h
SvtxTrackState_v2LinkDef.h
SvtxTrackStateLinkDef.h
TrackAnalysisUtils.cc
TrackAnalysisUtils.h
TrackInfoContainer.h
TrackInfoContainer_v1.cc
TrackInfoContainer_v1.h
TrackInfoContainer_v1LinkDef.h
TrackInfoContainerLinkDef.h
TrackSeed.cc
TrackSeed.h
TrackSeed_FastSim_v1.cc
TrackSeed_FastSim_v1.h
TrackSeed_FastSim_v1LinkDef.h
TrackSeed_v1.cc
TrackSeed_v1.h
TrackSeed_v1LinkDef.h
TrackSeedContainer.cc
TrackSeedContainer.h
TrackSeedContainer_v1.cc
TrackSeedContainer_v1.h
TrackSeedContainer_v1LinkDef.h
TrackSeedContainerLinkDef.h
TrackSeedLinkDef.h
TrackStateInfo.h
TrackStateInfo_v1.cc
TrackStateInfo_v1.h
TrackStateInfo_v1LinkDef.h
TrackStateInfoLinkDef.h
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
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
TrackSeed_FastSim_v1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrackSeed_FastSim_v1.h
1
#ifndef TRACKBASEHISTORIC_TRACKSEED_FASTSIM_V1_H
2
#define TRACKBASEHISTORIC_TRACKSEED_FASTSIM_V1_H
3
4
5
#include "
TrackSeed_v1.h
"
6
7
8
class
TrackSeed_FastSim_v1
:
public
TrackSeed_v1
9
{
10
11
12
public
:
13
TrackSeed_FastSim_v1
() =
default
;
14
TrackSeed_FastSim_v1
(
const
TrackSeed
& );
15
~TrackSeed_FastSim_v1
() =
default
;
16
17
void
identify
(std::ostream&
os
= std::cout)
const override
;
18
void
Reset
()
override
{ *
this
=
TrackSeed_FastSim_v1
(); }
19
int
isValid
()
const override
{
return
1; }
20
void
CopyFrom
(
const
TrackSeed
& )
override
;
21
void
CopyFrom
(
TrackSeed
*
seed
)
override
{
CopyFrom
(*seed); }
22
23
PHObject
*
CloneMe
()
const override
{
return
new
TrackSeed_FastSim_v1
(*
this
); }
24
25
unsigned
int
get_truth_track_id
()
const override
26
{
return
m_truth_track_id
; }
27
28
unsigned
int
get_num_measurements
()
const override
29
{
return
m_nmeas
; }
30
31
const
HitIdMap
&
g4hit_ids
()
const override
32
{
return
m_g4hit_ids
; }
33
34
bool
empty_g4hit_id
()
const override
35
{
return
m_g4hit_ids
.empty(); }
36
37
size_t
size_g4hit_id
()
const override
38
{
return
m_g4hit_ids
.size(); }
39
40
TrackSeed::HitIdConstIter
begin_g4hit_id
()
const override
41
{
return
m_g4hit_ids
.begin(); }
42
43
TrackSeed::HitIdConstIter
end_g4hit_id
()
const override
44
{
return
m_g4hit_ids
.end(); }
45
46
TrackSeed::HitIdConstIter
find_g4hit_id
(
int
volume)
const override
47
{
return
m_g4hit_ids
.find(volume); }
48
51
float
get_phi
(
TrkrClusterContainer
*
clusters
,
52
ActsGeometry
*
tGeometry
)
const override
;
53
54
void
set_truth_track_id
(
unsigned
int
truthTrackId)
override
55
{
m_truth_track_id
= truthTrackId; }
56
57
void
set_num_measurements
(
int
nmeas)
override
58
{
m_nmeas
= nmeas; }
59
60
void
add_g4hit_id
(
int
volume,
PHG4HitDefs::keytype
id
)
override
61
{
m_g4hit_ids
[volume].insert(
id
); }
62
63
size_t
remove_g4hit_id
(
int
volume,
PHG4HitDefs::keytype
id
)
override
64
{
return
m_g4hit_ids
[volume].erase(
id
); }
65
66
size_t
remove_g4hit_volume
(
int
volume)
override
67
{
return
m_g4hit_ids
.erase(volume); }
68
69
TrackSeed::HitIdIter
begin_g4hit_id
()
override
70
{
return
m_g4hit_ids
.begin(); }
71
72
TrackSeed::HitIdIter
end_g4hit_id
()
override
73
{
return
m_g4hit_ids
.end(); }
74
75
TrackSeed::HitIdIter
find_g4hit_id
(
int
volume)
override
76
{
return
m_g4hit_ids
.find(volume); }
77
78
void
clear_g4hit_id
()
override
79
{
return
m_g4hit_ids
.clear(); }
80
81
82
private
:
83
unsigned
int
m_truth_track_id
= std::numeric_limits<unsigned int>::max();
84
unsigned
int
m_nmeas
= 0;
85
HitIdMap
m_g4hit_ids
;
86
87
ClassDefOverride
(
TrackSeed_FastSim_v1
, 1)
88
89
};
90
91
92
#endif
coresoftware
blob
master
offline
packages
trackbase_historic
TrackSeed_FastSim_v1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration