ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
InfiniteBounds.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file InfiniteBounds.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2016-2020 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
#include "
Acts/Surfaces/SurfaceBounds.hpp
"
11
#include "
Acts/Utilities/Definitions.hpp
"
12
13
namespace
Acts {
14
19
20
class
InfiniteBounds
:
public
SurfaceBounds
{
21
public
:
22
InfiniteBounds
() =
default
;
23
24
~InfiniteBounds
()
override
=
default
;
25
26
SurfaceBounds::BoundsType
type
() const final {
27
return
SurfaceBounds::eBoundless
;
28
}
29
30
std::vector<double>
values
() const final {
return
{}; }
31
37
bool
inside
(
const
Vector2D
&
/*lposition*/
,
38
const
BoundaryCheck
&
/*bcheck*/
) const final {
39
return
true
;
40
}
41
45
double
distanceToBoundary
(
const
Vector2D
&
/*position*/
) const final {
46
return
0;
47
}
48
50
std::ostream&
toStream
(std::ostream& os)
const
final
{
51
os <<
"Acts::InfiniteBounds ... boundless surface"
<< std::endl;
52
return
os;
53
}
54
};
55
56
static
const
InfiniteBounds
s_noBounds
{};
57
58
}
// namespace Acts
acts
blob
master
Core
include
Acts
Surfaces
InfiniteBounds.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:21
using
1.8.2 with
ECCE GitHub integration