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 Attributes
MagneticFieldGrid::BVector Class Reference

Public Member Functions

 BVector ()
 
float bx ()
 
float by ()
 
float bz ()
 
void putB3 (float Bx, float By, float Bz)
 
 ~BVector ()
 

Private Attributes

float B3 [3]
 

Detailed Description

Definition at line 61 of file MagneticFieldGrid.h.

Constructor & Destructor Documentation

MagneticFieldGrid::BVector::BVector ( )
inline

Definition at line 64 of file MagneticFieldGrid.h.

64 {}
MagneticFieldGrid::BVector::~BVector ( )
inline

Definition at line 66 of file MagneticFieldGrid.h.

66 {}

Member Function Documentation

float MagneticFieldGrid::BVector::bx ( )

Definition at line 296 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

296 { return B3[0]; }
float MagneticFieldGrid::BVector::by ( )

Definition at line 298 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

298 { return B3[1]; }
float MagneticFieldGrid::BVector::bz ( )

Definition at line 300 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

300 { return B3[2]; }
void MagneticFieldGrid::BVector::putB3 ( float  Bx,
float  By,
float  Bz 
)

Definition at line 289 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::load().

289  {
290  B3[0] = Bx;
291  B3[1] = By;
292  B3[2] = Bz;
293  return;
294 }

Member Data Documentation

float MagneticFieldGrid::BVector::B3[3]
private

Definition at line 69 of file MagneticFieldGrid.h.