#include <FieldBuilder.h>
Public Member Functions | |
void | build (G4FieldManager *fM=nullptr, G4PropagatorInField *fP=nullptr, ChordFinderSetter *setter=nullptr) |
void | configureForVolume (const std::string &volName, edm::ParameterSet &volPSet, G4FieldManager *fM=nullptr, G4PropagatorInField *fP=nullptr, ChordFinderSetter *setter=nullptr) |
FieldBuilder (const MagneticField *, const edm::ParameterSet &) | |
G4LogicalVolume * | fieldTopVolume () |
Private Member Functions | |
void | configureFieldManager (G4FieldManager *fM, ChordFinderSetter *setter) |
void | configurePropagatorInField (G4PropagatorInField *fP) |
Private Attributes | |
double | dChord |
double | delta |
double | dIntersection |
double | dIntersectionAndOneStep |
double | dOneStep |
std::string | fieldType |
double | fieldValue |
std::string | keywordField |
double | maxEpsilonStep |
double | maxLoopCount |
double | minEpsilonStep |
double | minStep |
std::string | stepper |
std::auto_ptr< Field > | theField |
G4Mag_UsualEqRhs * | theFieldEquation |
edm::ParameterSet | thePSet |
G4LogicalVolume * | theTopVolume |
Definition at line 19 of file FieldBuilder.h.
FieldBuilder::FieldBuilder | ( | const MagneticField * | f, |
const edm::ParameterSet & | p | ||
) |
Definition at line 34 of file FieldBuilder.cc.
References delta, edm::ParameterSet::getParameter(), theField, and theFieldEquation.
void FieldBuilder::build | ( | G4FieldManager * | fM = nullptr , |
G4PropagatorInField * | fP = nullptr , |
||
ChordFinderSetter * | setter = nullptr |
||
) |
Definition at line 48 of file FieldBuilder.cc.
References configureForVolume(), gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, mathSSE::return(), sim::LocalFieldManager::SetVerbosity(), AlCaHLTBitMon_QueryRunRegistry::string, theField, thePSet, and theTopVolume.
Referenced by RunManagerMT::initG4(), and RunManager::initG4().
|
private |
Definition at line 139 of file FieldBuilder.cc.
References dChord, delta, dIntersection, dIntersectionAndOneStep, dOneStep, sim::ChordFinderSetter::isMonopoleSet(), minStep, sim::FieldStepper::select(), sim::ChordFinderSetter::setMonopole(), stepper, and theField.
Referenced by configureForVolume().
void FieldBuilder::configureForVolume | ( | const std::string & | volName, |
edm::ParameterSet & | volPSet, | ||
G4FieldManager * | fM = nullptr , |
||
G4PropagatorInField * | fP = nullptr , |
||
ChordFinderSetter * | setter = nullptr |
||
) |
Definition at line 98 of file FieldBuilder.cc.
References configureFieldManager(), configurePropagatorInField(), dChord, delta, dIntersection, dIntersectionAndOneStep, dOneStep, fieldType, edm::ParameterSet::getParameter(), i, maxEpsilonStep, maxLoopCount, minEpsilonStep, minStep, stepper, AlCaHLTBitMon_QueryRunRegistry::string, and theTopVolume.
Referenced by build().
|
private |
Definition at line 166 of file FieldBuilder.cc.
References maxEpsilonStep, maxLoopCount, and minEpsilonStep.
Referenced by configureForVolume().
G4LogicalVolume * FieldBuilder::fieldTopVolume | ( | ) |
|
private |
Definition at line 57 of file FieldBuilder.h.
Referenced by configureFieldManager(), and configureForVolume().
|
private |
Definition at line 64 of file FieldBuilder.h.
Referenced by configureFieldManager(), configureForVolume(), and FieldBuilder().
|
private |
Definition at line 59 of file FieldBuilder.h.
Referenced by configureFieldManager(), and configureForVolume().
|
private |
Definition at line 60 of file FieldBuilder.h.
Referenced by configureFieldManager(), and configureForVolume().
|
private |
Definition at line 58 of file FieldBuilder.h.
Referenced by configureFieldManager(), and configureForVolume().
|
private |
Definition at line 53 of file FieldBuilder.h.
Referenced by configureForVolume().
|
private |
Definition at line 54 of file FieldBuilder.h.
|
private |
Definition at line 52 of file FieldBuilder.h.
|
private |
Definition at line 63 of file FieldBuilder.h.
Referenced by configureForVolume(), and configurePropagatorInField().
|
private |
Definition at line 61 of file FieldBuilder.h.
Referenced by configureForVolume(), and configurePropagatorInField().
|
private |
Definition at line 62 of file FieldBuilder.h.
Referenced by configureForVolume(), and configurePropagatorInField().
|
private |
Definition at line 56 of file FieldBuilder.h.
Referenced by configureFieldManager(), and configureForVolume().
|
private |
Definition at line 55 of file FieldBuilder.h.
Referenced by configureFieldManager(), and configureForVolume().
|
private |
Definition at line 48 of file FieldBuilder.h.
Referenced by build(), configureFieldManager(), and FieldBuilder().
|
private |
Definition at line 49 of file FieldBuilder.h.
Referenced by FieldBuilder().
|
private |
Definition at line 65 of file FieldBuilder.h.
Referenced by build().
|
private |
Definition at line 50 of file FieldBuilder.h.
Referenced by build(), configureForVolume(), and fieldTopVolume().