ATLAS Offline Software
Loading...
Searching...
No Matches
MagneticFieldProperties.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// MagneticFieldProperties.h, (c) ATLAS Detector software
8
9#ifndef TRKGEOMETRY_MAGNETICFIELDPROPERTIES_H
10#define TRKGEOMETRY_MAGNETICFIELDPROPERTIES_H
11
12// Gaudi
13#include "GaudiKernel/GaudiException.h"
14#include "GaudiKernel/MsgStream.h"
15// Trk
17// Amg
19// STD
20#include <iostream>
21
22namespace Trk {
23
59
62MsgStream&
63operator<<(MsgStream& sl, const MagneticFieldProperties& mprop);
64
65std::ostream&
66operator<<(std::ostream& sl, const MagneticFieldProperties& mprop);
67
68} // end of namespace
70#endif // TRKGEOMETRY_MAGNETICFIELDPROPERTIES_H
71
magnetic field properties to steer the behavior of the extrapolation
const Amg::Vector3D & magneticField() const
Get the magnetic field - in case of constant field only - throws exception if mode is not constant.
MagneticFieldProperties & operator=(const MagneticFieldProperties &)=default
MagneticFieldProperties & operator=(MagneticFieldProperties &&)=default
MagneticFieldMode magneticFieldMode() const
Returns the MagneticFieldMode as specified.
MagneticFieldProperties(const MagneticFieldProperties &)=default
MagneticFieldProperties(MagneticFieldMode mode=Trk::FullField)
Constructor for magnetic field mode - full field is default.
MagneticFieldProperties(MagneticFieldProperties &&)=default
MagneticFieldProperties(const Amg::Vector3D &field)
Constructor for magnetic field mode.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
MagneticFieldMode
MagneticFieldMode describing the field setup within a volume.
@ FullField
Field is set to be realistic, but within a given Volume.