GEMC  1.8
Geant4 Monte-Carlo Framework
Public Member Functions | Data Fields
MappedField Class Reference

#include <MagneticField.h>

+ Inheritance diagram for MappedField:
+ Collaboration diagram for MappedField:

Public Member Functions

 MappedField ()
 
 ~MappedField ()
 
 MappedField (gemc_opts, int, int, double Tlimits[2], double Llimits[2], string, double origin[3], string units[5], double scale_factor, string symmetry)
 
 MappedField (gemc_opts, int, int, double Tlimits[2], double Llimits[2], string, double origin[3], string units[5], double scale_factor, string symmetry, int dummy)
 
 MappedField (gemc_opts, int, int, int, double Tlimits[2], double Llimits[2], double Zlimits[2], string, double origin[3], string units[5], double scale_factor)
 
 MappedField (gemc_opts, int, int, int, double Tlimits[2], double Llimits[2], double Zlimits[2], string, double origin[3], string units[5], double scale_factor, bool ySymmetry)
 
void GetFieldValue (const double x[3], double *Bfield) const
 

Data Fields

double segm_phi_span
 azimuthal span of the map for phi-segmented fields More...
 
int nsegments
 number of segments More...
 
string Symmetry
 

Detailed Description

MappedField

This class defines gemc Mapped Magnetic Field.

Definition at line 29 of file MagneticField.h.

Constructor & Destructor Documentation

MappedField::MappedField ( )

Definition at line 468 of file MagneticField.cc.

MappedField::~MappedField ( )

Definition at line 469 of file MagneticField.cc.

MappedField::MappedField ( gemc_opts  Opt,
int  TNPOINTS,
int  LNPOINTS,
double  Tlimits[2],
double  Llimits[2],
string  filename,
double  origin[3],
string  units[5],
double  scale_factor,
string  symmetry 
)

Definition at line 474 of file MagneticField.cc.

MappedField::MappedField ( gemc_opts  Opt,
int  TNPOINTS,
int  LNPOINTS,
double  Tlimits[2],
double  Llimits[2],
string  filename,
double  origin[3],
string  units[5],
double  scale_factor,
string  symmetry,
int  dummy 
)

Definition at line 591 of file MagneticField.cc.

MappedField::MappedField ( gemc_opts  Opt,
int  rNPOINTS,
int  pNPOINTS,
int  zNPOINTS,
double  Tlimits[2],
double  Llimits[2],
double  Zlimits[2],
string  filename,
double  origin[3],
string  units[5],
double  scale_factor 
)

Definition at line 715 of file MagneticField.cc.

MappedField::MappedField ( gemc_opts  Opt,
int  yNPOINTS,
int  xNPOINTS,
int  zNPOINTS,
double  Tlimits[2],
double  Llimits[2],
double  Zlimits[2],
string  filename,
double  origin[3],
string  units[5],
double  scale_factor,
bool  ySymmetry 
)

Definition at line 881 of file MagneticField.cc.

Member Function Documentation

void MappedField::GetFieldValue ( const double  x[3],
double *  Bfield 
) const

< coordinates of the track in the global coordinate system. Transverse (r), Phi, Longitudinal

< phi local to the first segment

< indexes of the vector map

< R

< Z

< coordinates of the track in the global coordinate system. Transverse (r), Phi, Longitudinal

< indexes of the vector map

Definition at line 1067 of file MagneticField.cc.

Field Documentation

int MappedField::nsegments

Definition at line 110 of file MagneticField.h.

double MappedField::segm_phi_span

Definition at line 109 of file MagneticField.h.

string MappedField::Symmetry

Definition at line 111 of file MagneticField.h.