ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigIDR4Monitoring
src
TruthView.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
21
22
23
#ifndef TRIGIDR4MONITORING_TRUTHVIEW_H
24
#define TRIGIDR4MONITORING_TRUTHVIEW_H
25
26
#include "
TrackView.h
"
27
28
31
32
class
TruthView
:
public
TrackView
{
33
34
public
:
35
36
template
<
typename
T>
37
TruthView
(
const
T* pobj) :
TrackView
(pobj),
m_z0
(0),
m_d0
(0),
m_phi
(0) { }
38
39
TruthView
(
const
TruthView
& t ) =
default
;
40
41
TruthView
(
const
TruthView
* ) =
delete
;
// don't want implicitly creating a TruthView with an internal TruthView*
42
TruthView
(
TruthView
* ) =
delete
;
43
44
virtual
~TruthView
() =
default
;
45
46
bool
hasDecorations
()
const override
{
return
true
; }
47
48
float
z0
()
const override
{
return
m_z0
; }
49
float
d0
()
const override
{
return
m_d0
; }
50
float
phi
()
const override
{
return
m_phi
; }
51
52
void
add_z0
(
float
z0
) {
m_z0
=
z0
; }
53
void
add_d0
(
float
d0
) {
m_d0
=
d0
; }
54
void
add_phi
(
float
phi
) {
m_phi
=
phi
; }
55
56
private
:
57
58
float
m_z0
;
59
float
m_d0
;
60
float
m_phi
;
61
62
};
63
64
65
#endif
// TRIGIDR4MONITORING_TRUTHVIEW_H
66
67
68
69
70
71
72
73
74
75
TrackView.h
TrackView::TrackView
TrackView(const T *pobj)
Definition
TrackView.h:48
TruthView::TruthView
TruthView(const TruthView *)=delete
TruthView::add_z0
void add_z0(float z0)
Definition
TruthView.h:52
TruthView::m_z0
float m_z0
Definition
TruthView.h:58
TruthView::m_d0
float m_d0
Definition
TruthView.h:59
TruthView::m_phi
float m_phi
Definition
TruthView.h:60
TruthView::TruthView
TruthView(const T *pobj)
Definition
TruthView.h:37
TruthView::TruthView
TruthView(const TruthView &t)=default
TruthView::~TruthView
virtual ~TruthView()=default
TruthView::phi
float phi() const override
Definition
TruthView.h:50
TruthView::TruthView
TruthView(TruthView *)=delete
TruthView::add_phi
void add_phi(float phi)
Definition
TruthView.h:54
TruthView::z0
float z0() const override
Definition
TruthView.h:48
TruthView::hasDecorations
bool hasDecorations() const override
Definition
TruthView.h:46
TruthView::d0
float d0() const override
Definition
TruthView.h:49
TruthView::add_d0
void add_d0(float d0)
Definition
TruthView.h:53
Generated on
for ATLAS Offline Software by
1.17.0