EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloReco
centrality
ClusterIso
compressor
Half
HelixHough
intt
jetbackground
KFParticle_sPHENIX
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
PHTpcTracker
tpc
tpccalib
tpcdaq
trackbase
trackbase_historic
ActsTransformations.cc
ActsTransformations.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_FastSimLinkDef.h
SvtxTrack_v1.cc
SvtxTrack_v1.h
SvtxTrack_v1LinkDef.h
SvtxTrack_v2.cc
SvtxTrack_v2.h
SvtxTrack_v2LinkDef.h
SvtxTrackLinkDef.h
SvtxTrackMap.cc
SvtxTrackMap.h
SvtxTrackMap_v1.cc
SvtxTrackMap_v1.h
SvtxTrackMap_v1LinkDef.h
SvtxTrackMapLinkDef.h
SvtxTrackState.h
SvtxTrackState_v1.cc
SvtxTrackState_v1.h
SvtxTrackState_v1LinkDef.h
SvtxTrackStateLinkDef.h
SvtxVertex.cc
SvtxVertex.h
SvtxVertex_v1.cc
SvtxVertex_v1.h
SvtxVertex_v1LinkDef.h
SvtxVertexLinkDef.h
SvtxVertexMap.cc
SvtxVertexMap.h
SvtxVertexMap_v1.cc
SvtxVertexMap_v1.h
SvtxVertexMap_v1LinkDef.h
SvtxVertexMapLinkDef.h
trackreco
trigger
vararray
QA
simulation
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SvtxTrack_FastSim_v1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxTrack_FastSim_v1.h
1
/*
2
* SvtxTrack_FastSim_v1.h
3
*/
4
5
#ifndef TRACKBASEHISTORIC_SVTXTRACKFASTSIMV1_H
6
#define TRACKBASEHISTORIC_SVTXTRACKFASTSIMV1_H
7
8
#include "
SvtxTrack_FastSim.h
"
9
10
// SvtxTrack_FastSim with recording of associated G4hits
11
class
SvtxTrack_FastSim_v1
final:
public
SvtxTrack_FastSim
12
{
13
public
:
14
15
//* constructor
16
SvtxTrack_FastSim_v1
() =
default
;
17
18
//* base class copy constructor
19
SvtxTrack_FastSim_v1
(
const
SvtxTrack
& );
20
21
//* destructor
22
~SvtxTrack_FastSim_v1
()
override
=
default
;
23
24
// copy content from base class
25
void
CopyFrom
(
const
SvtxTrack
& )
override
;
26
void
CopyFrom
(
SvtxTrack
* source )
override
27
{
CopyFrom
( *source ); }
28
29
// The "standard PHObject response" functions...
30
void
identify
(std::ostream& os = std::cout)
const override
;
31
void
Reset
()
override
32
{ *
this
=
SvtxTrack_FastSim_v1
(); }
33
34
int
isValid
()
const override
;
35
36
PHObject
*
CloneMe
()
const override
37
{
return
new
SvtxTrack_FastSim_v1
(*
this
); }
38
39
41
42
43
const
HitIdMap
&
g4hit_ids
()
const override
44
{
return
_g4hit_ids
; }
45
46
bool
empty_g4hit_id
()
const override
47
{
return
_g4hit_ids
.empty(); }
48
49
size_t
size_g4hit_id
()
const override
50
{
return
_g4hit_ids
.size(); }
51
52
SvtxTrack::HitIdConstIter
begin_g4hit_id
()
const override
53
{
return
_g4hit_ids
.begin(); }
54
55
SvtxTrack::HitIdConstIter
end_g4hit_id
()
const override
56
{
return
_g4hit_ids
.end(); }
57
58
SvtxTrack::HitIdConstIter
find_g4hit_id
(
int
volume
)
const override
59
{
return
_g4hit_ids
.find(volume); }
60
62
63
65
66
67
void
add_g4hit_id
(
int
volume
,
PHG4HitDefs::keytype
id
)
override
68
{
_g4hit_ids
[
volume
].insert(
id
); }
69
70
size_t
remove_g4hit_id
(
int
volume
,
PHG4HitDefs::keytype
id
)
override
71
{
return
_g4hit_ids
[
volume
].erase(
id
); }
72
73
size_t
remove_g4hit_volume
(
int
volume
)
override
74
{
return
_g4hit_ids
.erase(volume); }
75
76
SvtxTrack::HitIdIter
begin_g4hit_id
()
override
77
{
return
_g4hit_ids
.begin(); }
78
79
SvtxTrack::HitIdIter
end_g4hit_id
()
override
80
{
return
_g4hit_ids
.end(); }
81
82
SvtxTrack::HitIdIter
find_g4hit_id
(
int
volume
)
override
83
{
return
_g4hit_ids
.find(volume); }
84
85
void
clear_g4hit_id
()
override
86
{
return
_g4hit_ids
.clear(); }
87
89
90
private
:
91
92
HitIdMap
_g4hit_ids
;
93
94
ClassDefOverride
(
SvtxTrack_FastSim_v1
, 1)
95
};
96
97
#endif
/* __SVTXTRACK_FAST_SIMV1_H__ */
fun4all_coresoftware
blob
master
offline
packages
trackbase_historic
SvtxTrack_FastSim_v1.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:46
using
1.8.2 with
EIC GitHub integration