ATLAS Offline Software
Tracking
TrkVertexFitter
TrkVKalVrtFitter
TrkVKalVrtFitter
VKalAtlasMagFld.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// VKalVrtAtlas.h
6
//
7
#ifndef TRKVKALVRTFITTER_VKALVRTATLASMAGFIELD_H
8
#define TRKVKALVRTFITTER_VKALVRTATLASMAGFIELD_H
9
10
// Mag field service
11
#include "
MagFieldElements/AtlasFieldCache.h
"
12
#include "
TrkVKalVrtCore/VKalVrtBMag.h
"
13
14
namespace
Trk
{
15
// ATLAS magnetic field access for TrkVKalVrtFitter
16
//-----------------------------------------------------
17
class
VKalAtlasMagFld
:
public
Trk::baseMagFld
{
18
public
:
19
VKalAtlasMagFld
();
20
~VKalAtlasMagFld
();
21
virtual
void
getMagFld
(
const
double
,
const
double
,
const
double
,
double
&,
22
double
&,
double
&)
override
;
23
void
setAtlasField
(
MagField::AtlasFieldCache
*);
24
void
setAtlasField
(
const
double
);
25
void
setAtlasMagRefFrame
(
double
,
double
,
double
);
26
27
private
:
28
MagField::AtlasFieldCache
*
m_VKalAthenaField
{};
29
double
m_FIXED_ATLAS_FIELD
= 1.997;
30
double
m_magFrameX
,
m_magFrameY
,
m_magFrameZ
;
31
};
32
}
// namespace Trk
33
34
#endif
Trk::VKalAtlasMagFld::~VKalAtlasMagFld
~VKalAtlasMagFld()
Trk::VKalAtlasMagFld::m_FIXED_ATLAS_FIELD
double m_FIXED_ATLAS_FIELD
Definition:
VKalAtlasMagFld.h:29
Trk::VKalAtlasMagFld::getMagFld
virtual void getMagFld(const double, const double, const double, double &, double &, double &) override
Definition:
VKalAtlasMagFld.cxx:61
Trk::VKalAtlasMagFld::setAtlasField
void setAtlasField(MagField::AtlasFieldCache *)
Definition:
VKalAtlasMagFld.cxx:44
VKalVrtBMag.h
Trk::VKalAtlasMagFld::m_magFrameX
double m_magFrameX
Definition:
VKalAtlasMagFld.h:30
Trk::VKalAtlasMagFld::m_magFrameY
double m_magFrameY
Definition:
VKalAtlasMagFld.h:30
Trk::VKalAtlasMagFld::VKalAtlasMagFld
VKalAtlasMagFld()
Definition:
VKalAtlasMagFld.cxx:37
Trk::VKalAtlasMagFld
Definition:
VKalAtlasMagFld.h:17
AtlasFieldCache.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::VKalAtlasMagFld::m_VKalAthenaField
MagField::AtlasFieldCache * m_VKalAthenaField
Definition:
VKalAtlasMagFld.h:28
Trk::VKalAtlasMagFld::setAtlasMagRefFrame
void setAtlasMagRefFrame(double, double, double)
Definition:
VKalAtlasMagFld.cxx:52
Trk::baseMagFld
Definition:
VKalVrtBMag.h:29
MagField::AtlasFieldCache
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition:
AtlasFieldCache.h:43
Trk::VKalAtlasMagFld::m_magFrameZ
double m_magFrameZ
Definition:
VKalAtlasMagFld.h:30
Generated on Thu Nov 7 2024 21:31:31 for ATLAS Offline Software by
1.8.18