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
SvtxTrackSeed_v1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxTrackSeed_v1.cc
1
#include "
SvtxTrackSeed_v1.h
"
2
3
SvtxTrackSeed_v1::SvtxTrackSeed_v1
()
4
{}
5
6
// have to suppress missingMemberCopy from cppcheck, it does not
7
// go down to the CopyFrom method where things are done correctly
8
// cppcheck-suppress missingMemberCopy
9
SvtxTrackSeed_v1::SvtxTrackSeed_v1
(
const
SvtxTrackSeed_v1
&
seed
)
10
{
SvtxTrackSeed_v1::CopyFrom
( seed ); }
11
12
SvtxTrackSeed_v1
&
SvtxTrackSeed_v1::operator=
(
const
SvtxTrackSeed_v1
&
seed
)
13
{
if
(
this
!= &seed )
CopyFrom
( seed );
return
*
this
; }
14
15
SvtxTrackSeed_v1::~SvtxTrackSeed_v1
()
16
{}
17
18
void
SvtxTrackSeed_v1::CopyFrom
(
const
TrackSeed
&
seed
)
19
{
20
if
(
this
== &seed )
return
;
21
TrackSeed::CopyFrom
( seed );
22
23
m_silicon_seed
= seed.
get_silicon_seed_index
();
24
m_tpc_seed
= seed.
get_tpc_seed_index
();
25
26
}
27
28
void
SvtxTrackSeed_v1::identify
(std::ostream&
os
)
const
29
{
30
31
os <<
"SvtxTrackSeed_v1 object "
;
32
os <<
"Silicon seed index: "
<<
m_silicon_seed
;
33
os <<
"tpc seed index: "
<<
m_tpc_seed
;
34
}
coresoftware
blob
master
offline
packages
trackbase_historic
SvtxTrackSeed_v1.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration