1 #ifndef SimG4Core_FieldBuilder_H
2 #define SimG4Core_FieldBuilder_H
12 class G4Mag_UsualEqRhs;
13 class G4PropagatorInField;
14 class G4LogicalVolume;
18 class ChordFinderSetter;
28 void build(G4FieldManager* fM =
nullptr,
29 G4PropagatorInField* fP =
nullptr,
39 G4FieldManager * fM =
nullptr,
40 G4PropagatorInField * fP =
nullptr,
void configureForVolume(const std::string &volName, edm::ParameterSet &volPSet, G4FieldManager *fM=nullptr, G4PropagatorInField *fP=nullptr, ChordFinderSetter *setter=nullptr)
void configureFieldManager(G4FieldManager *fM, ChordFinderSetter *setter)
void build(G4FieldManager *fM=nullptr, G4PropagatorInField *fP=nullptr, ChordFinderSetter *setter=nullptr)
G4LogicalVolume * theTopVolume
double dIntersectionAndOneStep
FieldBuilder(const MagneticField *, const edm::ParameterSet &)
std::auto_ptr< Field > theField
G4LogicalVolume * fieldTopVolume()
G4Mag_UsualEqRhs * theFieldEquation
edm::ParameterSet thePSet
void configurePropagatorInField(G4PropagatorInField *fP)