Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
Alignment
CI
cmake
Core
include
Acts
AmbiguityResolution
Clusterization
Definitions
Detector
Digitization
EventData
Geometry
MagneticField
Material
Navigation
Propagator
detail
abort_list_implementation.hpp
action_list_implementation.hpp
Auctioneer.hpp
CovarianceEngine.hpp
GenericDefaultExtension.hpp
GenericDenseEnvironmentExtension.hpp
JacobianEngine.hpp
LoopProtection.hpp
ParameterTraits.hpp
PointwiseMaterialInteraction.hpp
SteppingHelper.hpp
SteppingLogger.hpp
VoidPropagatorComponents.hpp
VolumeMaterialInteraction.hpp
AbortList.hpp
ActionList.hpp
AtlasStepper.hpp
ConstrainedStep.hpp
CovarianceTransport.hpp
DefaultExtension.hpp
DenseEnvironmentExtension.hpp
DirectNavigator.hpp
EigenStepper.hpp
EigenStepper.ipp
EigenStepperError.hpp
MaterialInteractor.hpp
MultiEigenStepperLoop.hpp
MultiEigenStepperLoop.ipp
MultiStepperAborters.hpp
MultiStepperError.hpp
Navigator.hpp
Propagator.hpp
Propagator.ipp
PropagatorError.hpp
RiddersPropagator.hpp
RiddersPropagator.ipp
StandardAborters.hpp
StepperConcept.hpp
StepperExtensionList.hpp
StraightLineStepper.hpp
SurfaceCollector.hpp
VolumeCollector.hpp
Seeding
SpacePointFormation
Surfaces
TrackFinding
TrackFitting
Utilities
Vertexing
Visualization
scripts
src
docs
Examples
Fatras
Plugins
Tests
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
VoidPropagatorComponents.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file VoidPropagatorComponents.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2018 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
namespace
Acts {
12
namespace
detail {
13
19
struct
VoidNavigator
{
21
struct
State
{
23
const
Surface
*
startSurface
=
nullptr
;
24
26
const
Surface
*
currentSurface
=
nullptr
;
27
29
const
Surface
*
targetSurface
=
nullptr
;
30
32
bool
targetReached
=
false
;
33
35
bool
navigationBreak
=
false
;
36
};
37
39
using
state_type
=
State
;
40
41
State
makeState
(
const
Surface
*
startSurface
,
42
const
Surface
*
targetSurface
)
const
{
43
State
result;
44
result.
startSurface
=
startSurface
;
45
result.
targetSurface
=
targetSurface
;
46
return
result;
47
}
48
49
const
Surface
*
currentSurface
(
const
State
&
state
)
const
{
50
return
state.
currentSurface
;
51
}
52
53
const
Surface
*
startSurface
(
const
State
&
state
)
const
{
54
return
state.
startSurface
;
55
}
56
57
const
Surface
*
targetSurface
(
const
State
&
state
)
const
{
58
return
state.
targetSurface
;
59
}
60
61
bool
targetReached
(
const
State
&
state
)
const
{
return
state.
targetReached
; }
62
63
bool
navigationBreak
(
const
State
&
state
)
const
{
64
return
state.
navigationBreak
;
65
}
66
67
void
currentSurface
(
State
&
state
,
const
Surface
*
surface
)
const
{
68
state.
currentSurface
=
surface
;
69
}
70
71
void
targetReached
(
State
&
state
,
bool
targetReached
)
const
{
72
state.
targetReached
=
targetReached
;
73
}
74
75
void
navigationBreak
(
State
&
state
,
bool
navigationBreak
)
const
{
76
state.
navigationBreak
=
navigationBreak
;
77
}
78
85
template
<
typename
propagator_state_t,
typename
stepper_t>
86
void
initialize
(propagator_state_t&
/*state*/
,
87
const
stepper_t&
/*stepper*/
)
const
{}
88
95
template
<
typename
propagator_state_t,
typename
stepper_t>
96
void
preStep
(propagator_state_t&
/*state*/
,
97
const
stepper_t&
/*stepper*/
)
const
{}
98
105
template
<
typename
propagator_state_t,
typename
stepper_t>
106
void
postStep
(propagator_state_t&
/*state*/
,
107
const
stepper_t&
/*stepper*/
)
const
{}
108
};
109
110
}
// namespace detail
111
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Propagator
detail
VoidPropagatorComponents.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:33
using
1.8.2 with
sPHENIX GitHub integration