ATLAS Offline Software
Tracking
TrkExtrapolation
TrkExTools
TrkExTools
ParametersNextVolume.h
Go to the documentation of this file.
1
2
#ifndef TRKEXTOOLS_ParametersNextVolume_H
3
#define TRKEXTOOLS_ParametersNextVolume_H
4
5
#include "
TrkGeometry/TrackingVolume.h
"
//for BoundarySurfaceFace
6
#include "
ObjContainer.h
"
7
#include "
TrkParameters/TrackParameters.h
"
8
9
10
namespace
Trk
{
11
class
TrackingGeometry;
12
13
struct
ParametersNextVolume
{
14
using
ManagedTrackParmPtr
=
ObjPtr<Trk::TrackParameters>
;
15
using
TrackParmContainer
=
ObjContainer<Trk::TrackParameters>
;
16
18
const
TrackingVolume
*
nextVolume
;
19
ManagedTrackParmPtr
nextParameters
;
20
ManagedTrackParmPtr
navParameters
;
21
BoundarySurfaceFace
exitFace
;
22
23
ParametersNextVolume
(
TrackParmContainer
& track_parm_container)
24
:
nextVolume
(nullptr)
25
,
nextParameters
(track_parm_container)
26
,
navParameters
(track_parm_container)
27
,
exitFace
(
undefinedFace
){
28
}
29
31
void
boundaryInformation
(
const
TrackingVolume
* tvol,
32
ManagedTrackParmPtr
nextPars,
33
ManagedTrackParmPtr
navPars,
34
BoundarySurfaceFace
face =
undefinedFace
){
35
nextVolume
= tvol;
36
nextParameters
= std::move(nextPars);
37
navParameters
= std::move(navPars);
38
exitFace
= face;
39
}
41
void
resetBoundaryInformation
(){
42
nextVolume
=
nullptr
;
43
exitFace
=
undefinedFace
;
44
nextParameters
=
ManagedTrackParmPtr
();
45
navParameters
=
ManagedTrackParmPtr
();
46
}
47
};
48
}
49
#endif
Trk::ParametersNextVolume::ManagedTrackParmPtr
ObjPtr< Trk::TrackParameters > ManagedTrackParmPtr
Definition:
ParametersNextVolume.h:14
TrackParameters.h
Trk::ParametersNextVolume::boundaryInformation
void boundaryInformation(const TrackingVolume *tvol, ManagedTrackParmPtr nextPars, ManagedTrackParmPtr navPars, BoundarySurfaceFace face=undefinedFace)
reset the boundary information by invalidating it
Definition:
ParametersNextVolume.h:31
Trk::ParametersNextVolume::resetBoundaryInformation
void resetBoundaryInformation()
Definition:
ParametersNextVolume.h:41
Trk::ParametersNextVolume::nextVolume
const TrackingVolume * nextVolume
Definition:
ParametersNextVolume.h:18
Trk::BoundarySurfaceFace
BoundarySurfaceFace
Definition:
BoundarySurfaceFace.h:31
ObjContainer.h
Trk::ParametersNextVolume::navParameters
ManagedTrackParmPtr navParameters
Definition:
ParametersNextVolume.h:20
Trk::ParametersNextVolume
Definition:
ParametersNextVolume.h:13
Trk::ParametersNextVolume::ParametersNextVolume
ParametersNextVolume(TrackParmContainer &track_parm_container)
update the boundaryInformation
Definition:
ParametersNextVolume.h:23
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
ObjPtr< Trk::TrackParameters >
Trk::ParametersNextVolume::nextParameters
ManagedTrackParmPtr nextParameters
Definition:
ParametersNextVolume.h:19
TrackingVolume.h
Trk::undefinedFace
@ undefinedFace
Definition:
BoundarySurfaceFace.h:59
Trk::TrackingVolume
Definition:
TrackingVolume.h:121
Trk::ParametersNextVolume::exitFace
BoundarySurfaceFace exitFace
Definition:
ParametersNextVolume.h:21
ObjContainer< Trk::TrackParameters >
Generated on Thu Nov 7 2024 21:23:15 for ATLAS Offline Software by
1.8.18