Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:53

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 // Set the Mangetic Field Context PLUGIN
0012 #ifdef ACTS_CORE_MAGFIELDCONTEXT_PLUGIN
0013 #include ACTS_CORE_MAGFIELDCONTEXT_PLUGIN
0014 #else
0015 
0016 #include "Acts/Utilities/detail/ContextType.hpp"
0017 
0018 namespace Acts {
0019 
0020 /// @brief This is the central definition of the Acts
0021 /// payload object regarding magnetic field status
0022 ///
0023 /// It is propagated through the code to allow for event/thread
0024 /// dependent magnetic field changes
0025 
0026 class MagneticFieldContext : public ContextType {
0027  public:
0028   /// Inherit all constructors
0029   using ContextType::ContextType;
0030   using ContextType::operator=;
0031 };
0032 
0033 }  // namespace Acts
0034 
0035 #endif