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.

321 { return B3[0]; }

Referenced by MagneticFieldGrid::putIndicesGetB().

◆ by()

float MagneticFieldGrid::BVector::by ( )

Definition at line 323 of file MagneticFieldGrid.cc.

323 { return B3[1]; }

Referenced by MagneticFieldGrid::putIndicesGetB().

◆ bz()

float MagneticFieldGrid::BVector::bz ( )

Definition at line 325 of file MagneticFieldGrid.cc.

325 { return B3[2]; }

Referenced by MagneticFieldGrid::putIndicesGetB().

◆ putB3()

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

Definition at line 314 of file MagneticFieldGrid.cc.

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

Referenced by MagneticFieldGrid::load().

Member Data Documentation

◆ B3

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

Definition at line 89 of file MagneticFieldGrid.h.

MagneticFieldGrid::BVector::B3
float B3[3]
Definition: MagneticFieldGrid.h:89