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
NavigationDelegates.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file NavigationDelegates.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2021 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include "
Acts/Geometry/GeometryContext.hpp
"
12
#include "
Acts/Navigation/NavigationState.hpp
"
13
#include "
Acts/Utilities/Delegate.hpp
"
14
15
namespace
Acts {
16
17
class
Surface
;
18
19
namespace
Experimental {
20
25
class
INavigationDelegate
{
26
public
:
27
virtual
~INavigationDelegate
() =
default
;
28
};
29
44
using
SurfaceCandidatesUpdator
=
45
OwningDelegate
<void(
const
GeometryContext
&
gctx
,
NavigationState
&
nState
),
46
INavigationDelegate
>;
47
54
using
DetectorVolumeUpdator
=
55
OwningDelegate
<void(
const
GeometryContext
&
gctx
,
NavigationState
&
nState
),
56
INavigationDelegate
>;
57
59
inline
static
DetectorVolumeUpdator
unconnectedUpdator
() {
60
DetectorVolumeUpdator
unconnected;
61
unconnected.disconnect();
62
return
unconnected;
63
}
64
65
}
// namespace Experimental
66
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Navigation
NavigationDelegates.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:33
using
1.8.2 with
sPHENIX GitHub integration