Skip to content
Snippets Groups Projects
Commit 292adef5 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

MagFieldServices: Threading cleanup.

Remove unused (and thread-unsafe) BFieldSolenoid::m_cache.
parent 6f8f1ab1
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
//
......@@ -16,10 +16,9 @@
#include <iostream>
#include "TFile.h"
#include "MagFieldElements/BFieldZone.h"
#include "CxxUtils/checker_macros.h"
class ATLAS_NOT_THREAD_SAFE BFieldSolenoid {
class BFieldSolenoid {
public:
// constructor
BFieldSolenoid() : m_orig(nullptr), m_tilt(nullptr) {;}
......@@ -39,8 +38,6 @@ private:
// data members
BFieldMesh<double> *m_orig; // original map as it was read from file
BFieldMesh<double> *m_tilt; // tilted and moved map
// cache for speed
mutable BFieldCache m_cache;
};
#endif
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