Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Simulation
G4Atlas
G4AtlasTools
src
SwitchingFieldManager.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SwitchingFieldManager_H
6
#define SwitchingFieldManager_H
7
17
#include "G4FieldManager.hh"
18
19
class
SwitchingFieldManager
:
public
G4FieldManager
20
{
21
public
:
22
// using G4FieldManager::G4FieldManager;
23
24
// Switch the field off when inside Calo
25
SwitchingFieldManager
(G4Field *
field
);
26
27
~SwitchingFieldManager
();
28
29
// Necessary virtual methods
30
void
ConfigureForTrack
(
const
G4Track * )
override
;
31
G4FieldManager*
Clone
()
const override
;
32
33
private
:
34
G4Field*
m_savedField
=
nullptr
;
35
// Calo barrel region 1500mm < r < 3700mm and |z|<1000mm (both EMB and TileCal)
36
G4double
m_radiusXYmax
= 1900;
37
G4double
m_radiusXYmin
= 1500;
38
G4double
m_Zmax
= 2000;
39
G4double
m_offset
= 0.0;
// 'null field area' m_offset mm away of the boudaries given by m_radiusXYmin, m_radiusXYmax and m_Zmax
40
};
41
#endif
SwitchingFieldManager::m_radiusXYmax
G4double m_radiusXYmax
Definition:
SwitchingFieldManager.h:36
SwitchingFieldManager
G4FieldManager that sets tight stepping for muons; disables magnetic field for other particles.
Definition:
SwitchingFieldManager.h:20
SwitchingFieldManager::Clone
G4FieldManager * Clone() const override
Definition:
SwitchingFieldManager.cxx:55
SwitchingFieldManager::m_radiusXYmin
G4double m_radiusXYmin
Definition:
SwitchingFieldManager.h:37
ReadOfcFromCool.field
field
Definition:
ReadOfcFromCool.py:48
SwitchingFieldManager::m_Zmax
G4double m_Zmax
Definition:
SwitchingFieldManager.h:38
SwitchingFieldManager::~SwitchingFieldManager
~SwitchingFieldManager()
Definition:
SwitchingFieldManager.cxx:24
SwitchingFieldManager::m_savedField
G4Field * m_savedField
Definition:
SwitchingFieldManager.h:34
SwitchingFieldManager::m_offset
G4double m_offset
Definition:
SwitchingFieldManager.h:39
SwitchingFieldManager::ConfigureForTrack
void ConfigureForTrack(const G4Track *) override
Definition:
SwitchingFieldManager.cxx:29
SwitchingFieldManager::SwitchingFieldManager
SwitchingFieldManager(G4Field *field)
Definition:
SwitchingFieldManager.cxx:19
Generated on Sun Mar 30 2025 21:19:14 for ATLAS Offline Software by
1.8.18