Skip to content

Commit

Permalink
cosmetics as suggested by @jpata
Browse files Browse the repository at this point in the history
  • Loading branch information
namapane committed Oct 5, 2020
1 parent b8e7ce9 commit 0851263
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MagneticField/GeomBuilder/src/DD4hep_volumeHandle.cc
Expand Up @@ -21,7 +21,6 @@ using namespace SurfaceOrientation;
using namespace std;
using namespace magneticfield;
using namespace edm;
//using namespace angle_units::operators;

using DDBox = dd4hep::Box;
using DDTrap = dd4hep::Trap;
Expand Down Expand Up @@ -78,7 +77,7 @@ volumeHandle::volumeHandle(const cms::DDFilteredView &fv, bool expand2Pi, bool d
double rInPlusZ = cons.rMin2();
double rOutPlusZ = cons.rMax2();
double startPhi = cons.startPhi();
double deltaPhi = cons.endPhi() - startPhi;
double deltaPhi = reco::deltaPhi(cons.endPhi(), startPhi);
buildCons(zhalf, rInMinusZ, rOutMinusZ, rInPlusZ, rOutPlusZ, startPhi, deltaPhi);
} break;
case DDSolidShape::ddtubs: {
Expand Down

0 comments on commit 0851263

Please sign in to comment.