Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 26, 2024
1 parent eea7953 commit 4654ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BarrelCalorimeterScFi_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Fiber> fibers(f_pos.begin(), f_pos.end());

Expand Down
2 changes: 1 addition & 1 deletion src/HomogeneousCalorimeter_geo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ static std::tuple<int, std::pair<int, int>> add_12surface_disk(Detector& desc, A
bool has_envelope = dd4hep::getAttrOrDefault<bool>(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.);
Expand Down

0 comments on commit 4654ab4

Please sign in to comment.