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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SvtxTrack_FastSim.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxTrack_FastSim.h
1
/*
2
* SvtxTrack_FastSim.h
3
*
4
* Created on: Jul 28, 2016
5
* Author: yuhw
6
*/
7
8
#ifndef TRACKBASEHISTORIC_SVTXTRACKFASTSIM_H
9
#define TRACKBASEHISTORIC_SVTXTRACKFASTSIM_H
10
11
#include "
SvtxTrack_v1.h
"
12
13
#include <iostream>
// for cout, ostream
14
15
class
SvtxTrack_FastSim
:
public
SvtxTrack_v1
16
{
17
public
:
18
19
//* constructor
20
SvtxTrack_FastSim
() =
default
;
21
22
//* destructor
23
~SvtxTrack_FastSim
()
override
=
default
;
24
25
//* base class copy constructor
26
SvtxTrack_FastSim
(
const
SvtxTrack
& );
27
28
// copy content from base class
29
void
CopyFrom
(
const
SvtxTrack
& )
override
;
30
void
CopyFrom
(
SvtxTrack
* source )
override
31
{
CopyFrom
( *source ); }
32
33
// The "standard PHObject response" functions...
34
void
identify
(std::ostream& os = std::cout)
const override
;
35
void
Reset
()
override
{ *
this
=
SvtxTrack_FastSim
(); }
36
int
isValid
()
const override
;
37
PHObject
*
CloneMe
()
const override
{
return
new
SvtxTrack_FastSim
(*
this
); }
38
40
41
42
unsigned
int
get_truth_track_id
()
const override
43
{
return
_truth_track_id
; }
44
45
unsigned
int
get_num_measurements
()
const override
46
{
return
_nmeas
; }
47
49
51
52
53
void
set_truth_track_id
(
unsigned
int
truthTrackId)
override
54
{
_truth_track_id
= truthTrackId; }
55
56
void
set_num_measurements
(
int
nmeas)
override
57
{
_nmeas
= nmeas; }
58
60
61
private
:
62
unsigned
int
_truth_track_id
= UINT_MAX;
63
unsigned
int
_nmeas
= 0;
64
65
ClassDefOverride
(
SvtxTrack_FastSim
, 1)
66
};
67
68
#endif
/* __SVTXTRACK_FAST_SIM_H__ */
coresoftware
blob
master
offline
packages
trackbase_historic
SvtxTrack_FastSim.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration