Skip to content
Snippets Groups Projects
Commit 49856d0b authored by R D Schaffer's avatar R D Schaffer
Browse files

removing useNewBfieldCache - no longer needed

parent ab63020e
No related branches found
No related tags found
No related merge requests found
......@@ -399,7 +399,7 @@ StatusCode DQTDetSynchMonAlg::fillHistograms( const EventContext& ctx ) const
auto solenoid_bz = Monitored::Scalar("solenoid_bz", f[2]*1000.);
Amg::Vector3D gP2(m_toroidPositionX, m_toroidPositionY, m_toroidPositionZ);
if (fieldCache.useNewBfieldCache()) fieldCache.getField(gP2.data(),f.data());
fieldCache.getField(gP2.data(),f.data());
auto toroid_bx = Monitored::Scalar("toroid_bx", f[0]*1000.);
......
......@@ -51,9 +51,6 @@ public:
AtlasFieldCache(AtlasFieldCache&& other) = default;
~AtlasFieldCache() = default;
/// Temporary flag for switching between 'old' and 'new' magField usage
bool useNewBfieldCache() { return true; }
/** get B field value at given position
* xyz[3] is in mm, bxyz[3] is in kT
* if deriv[9] is given, field derivatives are returned in kT/mm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment