Skip to content

Commit

Permalink
chore: Newline after #pragma once (#3997)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **New Features**
	- Introduced multiple new classes for managing geometric surfaces, magnetic fields, and track density, enhancing the modeling capabilities within the ACTS project.
	- Added functionality for ONNX model inference, allowing integration of machine learning models into the framework.
	- Enhanced the Hough transform utilities with new methods for accessing unique hits and improved parameter handling.

- **Bug Fixes**
	- Updated methods in the `SPForSeed` class to improve error correction for space points.

- **Documentation**
	- Improved documentation for various classes and methods to enhance clarity and usability.

- **Chores**
	- Added blank lines for improved code readability in several header files.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
andiwand authored Dec 18, 2024
1 parent 9269562 commit cdaa905
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Geometry/ITrackingGeometryBuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Geometry/GeometryContext.hpp"

#include <memory>
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Geometry/ProtoLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Geometry/Extent.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Surfaces/Surface.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/MagneticField/BFieldMapUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/MagneticField/InterpolatedBFieldMap.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/MagneticField/ConstantBField.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/MagneticField/MagneticFieldProvider.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/MagneticField/MultiRangeBField.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/MagneticField/MagneticFieldError.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/MagneticField/NullBField.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/MagneticField/MagneticFieldProvider.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Seeding/HoughTransformUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/// This file implements the tools for a hough transform.

#pragma once

#include "Acts/Utilities/Delegate.hpp"
#include "Acts/Utilities/Grid.hpp"
#include "Acts/Utilities/Logger.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Surfaces/DiscTrapezoidBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/TrackParametrization.hpp"
#include "Acts/Surfaces/BoundaryTolerance.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Surfaces/LineSurface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Alignment.hpp"
#include "Acts/Definitions/Tolerance.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Surfaces/PerigeeSurface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/Polyhedron.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Surfaces/SurfaceArray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Surfaces/Surface.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Surfaces/SurfaceBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Surfaces/BoundaryTolerance.hpp"

Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Surfaces/TrapezoidBounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/TrackParametrization.hpp"
#include "Acts/Surfaces/BoundaryTolerance.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Utilities/BinnedArray.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Utilities/BinUtility.hpp"

Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Utilities/BinnedArrayXD.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include "Acts/Utilities/BinUtility.hpp"
#include "Acts/Utilities/BinnedArray.hpp"
#include "Acts/Utilities/Helpers.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Utilities/BinningType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include <string>
#include <type_traits>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Utilities/ThrowAssert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include <exception>
#include <iostream>
#include <sstream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include <cmath>
#include <utility>

Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Vertexing/AdaptiveGridTrackDensity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/EventData/TrackParameters.hpp"
#include "Acts/Utilities/Result.hpp"
Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/Vertexing/GaussianGridTrackDensity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/EventData/TrackParameters.hpp"
#include "Acts/Utilities/Result.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/IConfinedTrackingVolumeBuilder.hpp"
#include "Acts/Geometry/TrackingVolume.hpp"
Expand Down
1 change: 1 addition & 0 deletions Plugins/Legacy/include/Acts/Seeding/AtlasSeedFinder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include "Acts/Seeding/LegacyInternalSeed.hpp"
#include "Acts/Seeding/SPForSeed.hpp"

Expand Down
1 change: 1 addition & 0 deletions Plugins/Legacy/include/Acts/Seeding/LegacyInternalSeed.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include "Acts/Seeding/LegacySeed.hpp"
#include "Acts/Seeding/SPForSeed.hpp"

Expand Down
1 change: 1 addition & 0 deletions Plugins/Legacy/include/Acts/Seeding/LegacySeed.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include <list>

namespace Acts::Legacy {
Expand Down
1 change: 1 addition & 0 deletions Plugins/Legacy/include/Acts/Seeding/SPForSeed.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////

#pragma once

#include <cmath>

// COLLECTION OF MAGIC NUMBERS IN HERE:
Expand Down
1 change: 1 addition & 0 deletions Plugins/Onnx/include/Acts/Plugins/Onnx/OnnxRuntimeBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#pragma once

#include <vector>

#include <Eigen/Dense>
Expand Down

0 comments on commit cdaa905

Please sign in to comment.