GEMC  2.2
Geant4 Monte-Carlo Framework
Public Member Functions | Data Fields | Friends
gfield Class Reference

#include <field.h>

+ Collaboration diagram for gfield:

Public Member Functions

 gfield ()
 
 gfield (goptions opts)
 
 ~gfield ()
 
void initialize (goptions)
 Overloaded "<<" for gfield class. Dumps infos on screen. More...
 
void create_simple_MFM ()
 
void create_simple_multipole_MFM ()
 
G4FieldManager * get_MFM ()
 Overloaded "<<" for gfield class. Dumps infos on screen. More...
 

Data Fields

string name
 Field name - used as key in the map<string, gfield> More...
 
string symmetry
 Field symmetry. More...
 
string format
 Field format (available: simple (for uniform) and map) More...
 
string factory
 Field factory (format of magnetic field) More...
 
string description
 Field Description. More...
 
string dimensions
 Field dimensions (with units), for non-mapped fields. More...
 
string integration
 Integration Method. More...
 
double verbosity
 Log verbosity. More...
 
double minStep
 Minimum Step for the G4ChordFinder. More...
 
string unit
 Field Unit. More...
 
double scaleFactor
 
gMappedFieldmap
 Mapped Field. More...
 
fieldFactoryfFactory
 fieldFactory that created the field More...
 

Friends

ostream & operator<< (ostream &stream, gfield gf)
 

Detailed Description

gfield

Defines the gemc Field class.
The class parameters are filled from the field factory

Definition at line 52 of file field.h.

Constructor & Destructor Documentation

gfield::gfield ( )
inline

Definition at line 55 of file field.h.

gfield::gfield ( goptions  opts)
inline

Definition at line 56 of file field.h.

gfield::~gfield ( )
inline

Definition at line 69 of file field.h.

Member Function Documentation

void gfield::create_simple_MFM ( )

Definition at line 52 of file field.cc.

void gfield::create_simple_multipole_MFM ( )

Definition at line 75 of file field.cc.

G4FieldManager* gfield::get_MFM ( )
inline

Definition at line 102 of file field.h.

void gfield::initialize ( goptions  Opt)

Definition at line 112 of file field.cc.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
gfield  gf 
)
friend

Definition at line 135 of file field.cc.

Field Documentation

string gfield::description

Definition at line 76 of file field.h.

string gfield::dimensions

Definition at line 77 of file field.h.

string gfield::factory

Definition at line 75 of file field.h.

fieldFactory* gfield::fFactory

Definition at line 93 of file field.h.

string gfield::format

Definition at line 74 of file field.h.

string gfield::integration

Definition at line 78 of file field.h.

gMappedField* gfield::map

Definition at line 92 of file field.h.

double gfield::minStep

Definition at line 80 of file field.h.

string gfield::name

Definition at line 72 of file field.h.

double gfield::scaleFactor

Definition at line 84 of file field.h.

string gfield::symmetry

Definition at line 73 of file field.h.

string gfield::unit

Definition at line 81 of file field.h.

double gfield::verbosity

Definition at line 79 of file field.h.