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

Constructor & Destructor Documentation

◆ BVector()

MagneticFieldGrid::BVector::BVector ( )
inline

Definition at line 83 of file MagneticFieldGrid.h.

83 {}

◆ ~BVector()

MagneticFieldGrid::BVector::~BVector ( )
inline

Definition at line 85 of file MagneticFieldGrid.h.

85 {}

Member Function Documentation

◆ bx()

float MagneticFieldGrid::BVector::bx ( )

Definition at line 321 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

321 { return B3[0]; }

◆ by()

float MagneticFieldGrid::BVector::by ( )

Definition at line 323 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

323 { return B3[1]; }

◆ bz()

float MagneticFieldGrid::BVector::bz ( )

Definition at line 325 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::putIndicesGetB().

325 { return B3[2]; }

◆ putB3()

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

Definition at line 314 of file MagneticFieldGrid.cc.

Referenced by MagneticFieldGrid::load().

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

Member Data Documentation

◆ B3

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

Definition at line 89 of file MagneticFieldGrid.h.