G4FieldManager that sets tight stepping for muons; disables magnetic field for other particles.
More...
#include <TightMuonElseNoFieldManager.h>
G4FieldManager that sets tight stepping for muons; disables magnetic field for other particles.
- Author
- Zach Marshall
- Date
- 2016-06-01
Definition at line 23 of file TightMuonElseNoFieldManager.h.
◆ TightMuonElseNoFieldManager() [1/2]
TightMuonElseNoFieldManager::TightMuonElseNoFieldManager |
( |
G4Field * |
detectorField = 0 , |
|
|
G4ChordFinder * |
pChordFinder = 0 , |
|
|
G4bool |
b = true |
|
) |
| |
◆ TightMuonElseNoFieldManager() [2/2]
TightMuonElseNoFieldManager::TightMuonElseNoFieldManager |
( |
G4MagneticField * |
detectorMagneticField | ) |
|
◆ ~TightMuonElseNoFieldManager()
virtual TightMuonElseNoFieldManager::~TightMuonElseNoFieldManager |
( |
| ) |
|
|
inlinevirtual |
◆ ConfigureForTrack()
void TightMuonElseNoFieldManager::ConfigureForTrack |
( |
const G4Track * |
track | ) |
|
|
finaloverridevirtual |
The one interesting method.
Definition at line 24 of file TightMuonElseNoFieldManager.cxx.
38 if (
track->GetDefinition()==G4MuonPlus::Definition() ||
39 track->GetDefinition()==G4MuonMinus::Definition() ){
42 SetDetectorField(
nullptr);
◆ m_globalField
G4Field* TightMuonElseNoFieldManager::m_globalField |
|
private |
The documentation for this class was generated from the following files: