Commit 0f1792e4 authored by Sam Wood's avatar Sam Wood Committed by Simon Spannagel
Browse files

Address more linter issues

parent a4a9f2a1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -607,7 +607,8 @@ void DepositionGeant4Module::record_module_statistics() {

MagneticField::MagneticField(GeometryManager* geometry_manager) : geometry_manager_(geometry_manager) {};

void MagneticField::GetFieldValue(const double Point[4], double* Bfield) const {
// The Geant4 API expects a const double Point[4], not the std::array<> the linter suggests
void MagneticField::GetFieldValue(const double Point[4], double* Bfield) const { // NOLINT
    G4cout << "Getting magnetic field from geometry manager" << G4endl;
    ROOT::Math::XYZVector bfield_vector =
        geometry_manager_->getMagneticField(ROOT::Math::XYZPoint(Point[0], Point[1], Point[2]));
+1 −1

File changed.

Contains only whitespace changes.