From 4654ab450e3cf52951828f533089afd359e28b73 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 02:56:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/BarrelCalorimeterScFi_geo.cpp | 2 +- src/HomogeneousCalorimeter_geo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BarrelCalorimeterScFi_geo.cpp b/src/BarrelCalorimeterScFi_geo.cpp index e0a2fa468..9c6c337a5 100644 --- a/src/BarrelCalorimeterScFi_geo.cpp +++ b/src/BarrelCalorimeterScFi_geo.cpp @@ -237,7 +237,7 @@ void buildFibers(Detector& desc, SensitiveDetector& sens, Volume& s_vol, int lay struct Fiber { Point pos; bool assigned = false; - Fiber(const Point& p) : pos(p){}; + Fiber(const Point& p) : pos(p) {}; }; std::vector fibers(f_pos.begin(), f_pos.end()); diff --git a/src/HomogeneousCalorimeter_geo.cpp b/src/HomogeneousCalorimeter_geo.cpp index 9bcdbaf6d..732b50710 100644 --- a/src/HomogeneousCalorimeter_geo.cpp +++ b/src/HomogeneousCalorimeter_geo.cpp @@ -313,7 +313,7 @@ static std::tuple> add_12surface_disk(Detector& desc, A bool has_envelope = dd4hep::getAttrOrDefault(plm, _Unicode(envelope), false); PolyhedraRegular solid_world(12, 0., r12min, calo_module_length); EllipticalTube solid_sub(Innera, Innerb, calo_module_length / 2.); - Transform3D subtract_pos = RotationZYX(Nrot, 0., 0.) * Translation3D(1*cm, 0., 0.); + Transform3D subtract_pos = RotationZYX(Nrot, 0., 0.) * Translation3D(1 * cm, 0., 0.); SubtractionSolid calo_subtract(solid_world, solid_sub, subtract_pos); Volume env_vol(std::string(env.name()) + "_envelope", calo_subtract, outer_ring_material); Transform3D tr_global = RotationZYX(Prot, 0., 0.) * Translation3D(0., 0., 0.);