#include <CMSFieldManager.h>
Public Member Functions | |
CMSFieldManager () | |
void | ConfigureForTrack (const G4Track *) override |
void | InitialiseForVolume (const edm::ParameterSet &, sim::Field *, G4ChordFinder *cfDefault, G4ChordFinder *cfMonopole, const std::string &vol, const std::string &fieldType, const std::string &stepperName, double delta, G4PropagatorInField *) |
void | SetMonopoleTracking (G4bool) |
~CMSFieldManager () override | |
Private Member Functions | |
CMSFieldManager (const CMSFieldManager &)=delete | |
bool | isInsideVacuum (const G4Track *) |
CMSFieldManager & | operator= (const CMSFieldManager &)=delete |
void | setChordFinderForVacuum () |
void | setDefaultChordFinder () |
Private Attributes | |
bool | m_cfVacuum |
G4ChordFinder * | m_chordFinder |
G4ChordFinder * | m_chordFinderMonopole |
G4ChordFinder * | m_currChordFinder |
double | m_dChord |
double | m_dChordSimple |
double | m_dIntersection |
double | m_dIntersectionSimple |
double | m_dOneStep |
double | m_dOneStepSimple |
double | m_energyThreshold |
G4PropagatorInField * | m_propagator |
std::vector< const G4Region * > | m_regions |
double | m_stepMax |
double | m_stepMaxSimple |
std::unique_ptr< sim::Field > | theField |
Definition at line 24 of file CMSFieldManager.h.
|
explicit |
Definition at line 13 of file CMSFieldManager.cc.
|
override |
Definition at line 30 of file CMSFieldManager.cc.
References m_chordFinder, m_chordFinderMonopole, and m_currChordFinder.
|
privatedelete |
|
override |
Definition at line 125 of file CMSFieldManager.cc.
References isInsideVacuum(), m_cfVacuum, m_energyThreshold, setChordFinderForVacuum(), and setDefaultChordFinder().
Referenced by MonopoleTransportation::AlongStepGetPhysicalInteractionLength().
void CMSFieldManager::InitialiseForVolume | ( | const edm::ParameterSet & | p, |
sim::Field * | field, | ||
G4ChordFinder * | cfDefault, | ||
G4ChordFinder * | cfMonopole, | ||
const std::string & | vol, | ||
const std::string & | fieldType, | ||
const std::string & | stepperName, | ||
double | delta, | ||
G4PropagatorInField * | pf | ||
) |
Definition at line 39 of file CMSFieldManager.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), GeV, createfilelist::int, m_chordFinder, m_chordFinderMonopole, m_dChord, m_dChordSimple, m_dIntersection, m_dIntersectionSimple, m_dOneStep, m_dOneStepSimple, m_energyThreshold, m_propagator, m_regions, m_stepMax, m_stepMaxSimple, packedPFCandidateRefMixer_cfi::pf, SetMonopoleTracking(), and theField.
Referenced by sim::FieldBuilder::configureForVolume().
|
private |
Definition at line 154 of file CMSFieldManager.cc.
References m_regions.
Referenced by ConfigureForTrack().
|
privatedelete |
|
private |
Definition at line 176 of file CMSFieldManager.cc.
References m_cfVacuum, m_currChordFinder, m_dChordSimple, m_dIntersectionSimple, m_dOneStepSimple, m_propagator, and m_stepMaxSimple.
Referenced by ConfigureForTrack().
|
private |
Definition at line 166 of file CMSFieldManager.cc.
References m_cfVacuum, m_chordFinder, m_currChordFinder, m_dChord, m_dIntersection, m_dOneStep, m_propagator, and m_stepMax.
Referenced by ConfigureForTrack(), and SetMonopoleTracking().
void CMSFieldManager::SetMonopoleTracking | ( | G4bool | flag | ) |
Definition at line 138 of file CMSFieldManager.cc.
References m_cfVacuum, m_chordFinderMonopole, m_currChordFinder, and setDefaultChordFinder().
Referenced by MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), InitialiseForVolume(), and MonopoleTransportation::PostStepDoIt().
|
private |
Definition at line 72 of file CMSFieldManager.h.
Referenced by ConfigureForTrack(), setChordFinderForVacuum(), setDefaultChordFinder(), and SetMonopoleTracking().
|
private |
Definition at line 55 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), setDefaultChordFinder(), and ~CMSFieldManager().
|
private |
Definition at line 56 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), SetMonopoleTracking(), and ~CMSFieldManager().
|
private |
Definition at line 54 of file CMSFieldManager.h.
Referenced by setChordFinderForVacuum(), setDefaultChordFinder(), SetMonopoleTracking(), and ~CMSFieldManager().
|
private |
Definition at line 62 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setDefaultChordFinder().
|
private |
Definition at line 67 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setChordFinderForVacuum().
|
private |
Definition at line 64 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setDefaultChordFinder().
|
private |
Definition at line 69 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setChordFinderForVacuum().
|
private |
Definition at line 63 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setDefaultChordFinder().
|
private |
Definition at line 68 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setChordFinderForVacuum().
|
private |
Definition at line 66 of file CMSFieldManager.h.
Referenced by ConfigureForTrack(), and InitialiseForVolume().
|
private |
Definition at line 58 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), setChordFinderForVacuum(), and setDefaultChordFinder().
|
private |
Definition at line 60 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and isInsideVacuum().
|
private |
Definition at line 65 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setDefaultChordFinder().
|
private |
Definition at line 70 of file CMSFieldManager.h.
Referenced by InitialiseForVolume(), and setChordFinderForVacuum().
|
private |
Definition at line 52 of file CMSFieldManager.h.
Referenced by InitialiseForVolume().