CMS 3D CMS Logo

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 79 of file MagneticFieldGrid.h.

Constructor & Destructor Documentation

◆ BVector()

MagneticFieldGrid::BVector::BVector ( )
inline

Definition at line 82 of file MagneticFieldGrid.h.

82 {}

◆ ~BVector()

MagneticFieldGrid::BVector::~BVector ( )
inline

Definition at line 84 of file MagneticFieldGrid.h.

84 {}

Member Function Documentation

◆ bx()

float MagneticFieldGrid::BVector::bx ( )

Definition at line 322 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

322 { return B3[0]; }

◆ by()

float MagneticFieldGrid::BVector::by ( )

Definition at line 324 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

324 { return B3[1]; }

◆ bz()

float MagneticFieldGrid::BVector::bz ( )

Definition at line 326 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

326 { return B3[2]; }

◆ putB3()

void MagneticFieldGrid::BVector::putB3 ( float  Bx,
float  By,
float  Bz 
)

Definition at line 315 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::load().

315  {
316  B3[0] = Bx;
317  B3[1] = By;
318  B3[2] = Bz;
319  return;
320 }

Member Data Documentation

◆ B3

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

Definition at line 88 of file MagneticFieldGrid.h.