CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
sim::FieldBuilder Class Reference

#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< FieldtheField
 
G4Mag_UsualEqRhs * theFieldEquation
 
edm::ParameterSet thePSet
 
G4LogicalVolume * theTopVolume
 

Detailed Description

Definition at line 19 of file FieldBuilder.h.

Constructor & Destructor Documentation

FieldBuilder::FieldBuilder ( const MagneticField f,
const edm::ParameterSet p 
)

Definition at line 34 of file FieldBuilder.cc.

Member Function Documentation

void FieldBuilder::build ( G4FieldManager *  fM = nullptr,
G4PropagatorInField *  fP = nullptr,
ChordFinderSetter setter = nullptr 
)

Definition at line 48 of file FieldBuilder.cc.

void FieldBuilder::configureFieldManager ( G4FieldManager *  fM,
ChordFinderSetter setter 
)
private

Definition at line 139 of file FieldBuilder.cc.

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.

void FieldBuilder::configurePropagatorInField ( G4PropagatorInField *  fP)
private

Definition at line 166 of file FieldBuilder.cc.

G4LogicalVolume * FieldBuilder::fieldTopVolume ( )

Definition at line 137 of file FieldBuilder.cc.

Member Data Documentation

double sim::FieldBuilder::dChord
private

Definition at line 57 of file FieldBuilder.h.

double sim::FieldBuilder::delta
private

Definition at line 64 of file FieldBuilder.h.

double sim::FieldBuilder::dIntersection
private

Definition at line 59 of file FieldBuilder.h.

double sim::FieldBuilder::dIntersectionAndOneStep
private

Definition at line 60 of file FieldBuilder.h.

double sim::FieldBuilder::dOneStep
private

Definition at line 58 of file FieldBuilder.h.

std::string sim::FieldBuilder::fieldType
private

Definition at line 53 of file FieldBuilder.h.

double sim::FieldBuilder::fieldValue
private

Definition at line 54 of file FieldBuilder.h.

std::string sim::FieldBuilder::keywordField
private

Definition at line 52 of file FieldBuilder.h.

double sim::FieldBuilder::maxEpsilonStep
private

Definition at line 63 of file FieldBuilder.h.

double sim::FieldBuilder::maxLoopCount
private

Definition at line 61 of file FieldBuilder.h.

double sim::FieldBuilder::minEpsilonStep
private

Definition at line 62 of file FieldBuilder.h.

double sim::FieldBuilder::minStep
private

Definition at line 56 of file FieldBuilder.h.

std::string sim::FieldBuilder::stepper
private

Definition at line 55 of file FieldBuilder.h.

std::auto_ptr<Field> sim::FieldBuilder::theField
private

Definition at line 48 of file FieldBuilder.h.

G4Mag_UsualEqRhs* sim::FieldBuilder::theFieldEquation
private

Definition at line 49 of file FieldBuilder.h.

edm::ParameterSet sim::FieldBuilder::thePSet
private

Definition at line 65 of file FieldBuilder.h.

G4LogicalVolume* sim::FieldBuilder::theTopVolume
private

Definition at line 50 of file FieldBuilder.h.