ATLAS Offline Software
Tracking
TrkDetDescr
TrkVolumes
TrkVolumes
VolumeLink.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// VolumeLink.h, (c) ATLAS Detector software
8
9
#ifndef TRKVOLUMES_VOLUMELINK_H
10
#define TRKVOLUMES_VOLUMELINK_H
11
12
#include "
CxxUtils/checker_macros.h
"
13
14
namespace
Trk
{
15
16
class
Volume;
17
25
class
VolumeLink
{
26
public
:
28
VolumeLink
(){}
31
VolumeLink
(
const
Volume
* vol) :
32
m_linkVolume
(vol){}
33
35
VolumeLink
(
const
VolumeLink
& vlink) :
36
m_linkVolume
(vlink.
m_linkVolume
){}
37
39
~VolumeLink
(){}
40
42
void
VolumeLink::updateLink
(
const
Volume
* vol) {
43
m_linkVolume
= vol;
44
}
45
// forward the link
46
const
Volume
*
VolumeLink::volume
(
void
)
const
{
47
return
m_linkVolume
;
48
}
49
50
private
:
51
const
Volume
*
m_linkVolume
;
52
};
53
}
// end of namespace
54
55
#endif // TRKVOLUMES_VOLUMELINK_H
Trk::VolumeLink::volume
const Volume * VolumeLink::volume(void) const
Definition:
VolumeLink.h:46
Trk::VolumeLink::VolumeLink
VolumeLink(const VolumeLink &vlink)
Copy Constructor.
Definition:
VolumeLink.h:35
Trk::VolumeLink::updateLink
void VolumeLink::updateLink(const Volume *vol)
update method for link-setting const not thread safe
Definition:
VolumeLink.h:42
Trk::VolumeLink::VolumeLink
VolumeLink()
Default constructor.
Definition:
VolumeLink.h:28
Trk::VolumeLink::VolumeLink
VolumeLink(const Volume *vol)
Constructor with already existing Link.
Definition:
VolumeLink.h:31
Trk::VolumeLink
Definition:
VolumeLink.h:25
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::VolumeLink::m_linkVolume
const Volume * m_linkVolume
Definition:
VolumeLink.h:51
Trk::VolumeLink::~VolumeLink
~VolumeLink()
Destructor.
Definition:
VolumeLink.h:39
checker_macros.h
Define macros for attributes used to control the static checker.
Trk::Volume
Definition:
Volume.h:35
Generated on Sun Dec 22 2024 21:22:26 for ATLAS Offline Software by
1.8.18