ATLAS Offline Software
Simulation
G4Atlas
G4AtlasTools
src
TightMuonElseNoFieldManager.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TightMuonElseNoFieldManager_H
6
#define TightMuonElseNoFieldManager_H
7
17
#include "G4FieldManager.hh"
18
class
G4Track;
19
class
G4Field;
20
class
G4ChordFinder;
21
class
G4MagneticField;
22
23
class
TightMuonElseNoFieldManager
:
public
G4FieldManager
24
{
25
public
:
27
TightMuonElseNoFieldManager
(G4Field *detectorField=0, G4ChordFinder *pChordFinder=0, G4bool
b
=
true
);
28
30
TightMuonElseNoFieldManager
(G4MagneticField *detectorMagneticField);
31
33
virtual
~TightMuonElseNoFieldManager
() {}
34
36
virtual
void
ConfigureForTrack
(
const
G4Track *)
override
final
;
37
38
private
:
40
G4Field *
m_globalField
;
41
42
};
43
44
#endif
TightMuonElseNoFieldManager
G4FieldManager that sets tight stepping for muons; disables magnetic field for other particles.
Definition:
TightMuonElseNoFieldManager.h:24
TightMuonElseNoFieldManager::TightMuonElseNoFieldManager
TightMuonElseNoFieldManager(G4Field *detectorField=0, G4ChordFinder *pChordFinder=0, G4bool b=true)
Constructor.
Definition:
TightMuonElseNoFieldManager.cxx:12
TightMuonElseNoFieldManager::~TightMuonElseNoFieldManager
virtual ~TightMuonElseNoFieldManager()
Simple destructor.
Definition:
TightMuonElseNoFieldManager.h:33
TightMuonElseNoFieldManager::ConfigureForTrack
virtual void ConfigureForTrack(const G4Track *) override final
The one interesting method.
Definition:
TightMuonElseNoFieldManager.cxx:24
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
TightMuonElseNoFieldManager::m_globalField
G4Field * m_globalField
Parameters of the stepper.
Definition:
TightMuonElseNoFieldManager.h:40
Generated on Thu Nov 7 2024 21:27:55 for ATLAS Offline Software by
1.8.18