#include <FieldBuilder.h>
Public Member Functions | |
void | build (G4FieldManager *fM=0, G4PropagatorInField *fP=0) |
void | configureForVolume (const std::string &volName, edm::ParameterSet &volPSet, G4FieldManager *fM=0, G4PropagatorInField *fP=0) |
FieldBuilder (const MagneticField *, const edm::ParameterSet &) | |
G4LogicalVolume * | fieldTopVolume () |
void | setStepperAndChordFinder (G4FieldManager *fM, int val) |
Private Member Functions | |
void | configureFieldManager (G4FieldManager *fM) |
void | configurePropagatorInField (G4PropagatorInField *fP) |
Private Attributes | |
double | dChord |
double | delta |
double | dIntersection |
double | dIntersectionAndOneStep |
double | dOneStep |
G4ChordFinder * | fChordFinder |
G4ChordFinder * | fChordFinderMonopole |
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 33 of file FieldBuilder.cc.
References delta, edm::ParameterSet::getParameter(), theField, and theFieldEquation.
void FieldBuilder::build | ( | G4FieldManager * | fM = 0 , |
G4PropagatorInField * | fP = 0 |
||
) |
Definition at line 47 of file FieldBuilder.cc.
References configureForVolume(), gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, reco::return(), sim::LocalFieldManager::SetVerbosity(), AlCaHLTBitMon_QueryRunRegistry::string, theField, thePSet, and theTopVolume.
Referenced by RunManager::initG4(), and RunManagerMT::initG4().
|
private |
Definition at line 149 of file FieldBuilder.cc.
References dChord, delta, dIntersection, dIntersectionAndOneStep, dOneStep, fChordFinderMonopole, minStep, sim::FieldStepper::select(), stepper, and theField.
Referenced by configureForVolume().
void FieldBuilder::configureForVolume | ( | const std::string & | volName, |
edm::ParameterSet & | volPSet, | ||
G4FieldManager * | fM = 0 , |
||
G4PropagatorInField * | fP = 0 |
||
) |
Definition at line 97 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 175 of file FieldBuilder.cc.
References maxEpsilonStep, maxLoopCount, and minEpsilonStep.
Referenced by configureForVolume().
G4LogicalVolume * FieldBuilder::fieldTopVolume | ( | ) |
void FieldBuilder::setStepperAndChordFinder | ( | G4FieldManager * | fM, |
int | val | ||
) |
Definition at line 137 of file FieldBuilder.cc.
References fChordFinder, and fChordFinderMonopole.
|
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 50 of file FieldBuilder.h.
Referenced by setStepperAndChordFinder().
|
private |
Definition at line 50 of file FieldBuilder.h.
Referenced by configureFieldManager(), and setStepperAndChordFinder().
|
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 47 of file FieldBuilder.h.
Referenced by build(), configureFieldManager(), and FieldBuilder().
|
private |
Definition at line 48 of file FieldBuilder.h.
Referenced by FieldBuilder().
|
private |
Definition at line 65 of file FieldBuilder.h.
Referenced by build().
|
private |
Definition at line 49 of file FieldBuilder.h.
Referenced by build(), configureForVolume(), and fieldTopVolume().