ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
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
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SvtxTrack_FastSim_v1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxTrack_FastSim_v1.cc
1
/*
2
* SvtxTrack_FastSim_v1.C
3
*
4
* Created on: Jul 28, 2016
5
* Author: yuhw
6
*/
7
8
#include "
SvtxTrack_FastSim_v1.h
"
9
10
#include "
SvtxTrack.h
"
// for SvtxTrack::ConstClusterIter, SvtxTrack
11
12
#include <climits>
13
#include <map>
// for _Rb_tree_const_iterator
14
#include <ostream>
// for operator<<, basic_ostream, basic_ostream<>::_...
15
16
SvtxTrack_FastSim_v1::SvtxTrack_FastSim_v1
(
const
SvtxTrack
& source)
17
{
SvtxTrack_FastSim_v1::CopyFrom
( source ); }
18
19
void
SvtxTrack_FastSim_v1::CopyFrom
(
const
SvtxTrack
& source )
20
{
21
// do nothing if copying onto oneself
22
if
(
this
== &source )
return
;
23
24
// parent class method
25
SvtxTrack_FastSim::CopyFrom
( source );
26
27
// additional members
28
_g4hit_ids
= source.
g4hit_ids
();
29
}
30
31
void
SvtxTrack_FastSim_v1::identify
(std::ostream& os)
const
32
{
33
SvtxTrack_FastSim::identify
(os);
34
35
os <<
"SvtxTrack_FastSim_v1 Object "
;
36
os <<
"G4Hit IDs:"
<< std::endl;
37
for
(
const
auto
& pair:
_g4hit_ids
)
38
{
39
os <<
"\thit container ID"
<< pair.first <<
" with hits: "
;
40
for
(
const
auto
& hitid:pair.second )
41
{ os << hitid <<
" "
; }
42
os << std::endl;
43
}
44
return
;
45
}
46
47
int
SvtxTrack_FastSim_v1::isValid
()
const
48
{
49
return
1;
50
}
coresoftware
blob
master
offline
packages
trackbase_historic
SvtxTrack_FastSim_v1.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration