ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
BFieldVectorZR Class Reference

#include <BFieldVectorZR.h>

Collaboration diagram for BFieldVectorZR:

Public Member Functions

 BFieldVectorZR ()=delete
 
 BFieldVectorZR (double Bz, double Br)
 
void set (double Bz, double Br)
 
double z () const
 
double r () const
 
double operator[] (size_t i) const
 

Private Attributes

std::array< double, 2 > m_B
 

Detailed Description

Definition at line 18 of file BFieldVectorZR.h.

Constructor & Destructor Documentation

◆ BFieldVectorZR() [1/2]

BFieldVectorZR::BFieldVectorZR ( )
delete

◆ BFieldVectorZR() [2/2]

BFieldVectorZR::BFieldVectorZR ( double  Bz,
double  Br 
)
inline

Definition at line 25 of file BFieldVectorZR.h.

26  : m_B{ Bz, Br }
27  {}

Member Function Documentation

◆ operator[]()

double BFieldVectorZR::operator[] ( size_t  i) const
inline

Definition at line 34 of file BFieldVectorZR.h.

34 { return m_B[i]; }

◆ r()

double BFieldVectorZR::r ( ) const
inline

Definition at line 32 of file BFieldVectorZR.h.

32 { return m_B[1]; }

◆ set()

void BFieldVectorZR::set ( double  Bz,
double  Br 
)
inline

Definition at line 29 of file BFieldVectorZR.h.

29 { m_B = { Bz, Br }; }

◆ z()

double BFieldVectorZR::z ( ) const
inline

Definition at line 31 of file BFieldVectorZR.h.

31 { return m_B[0]; }

Member Data Documentation

◆ m_B

std::array<double, 2> BFieldVectorZR::m_B
private

Definition at line 37 of file BFieldVectorZR.h.


The documentation for this class was generated from the following file:
BFieldVectorZR::m_B
std::array< double, 2 > m_B
Definition: BFieldVectorZR.h:37
Br
Definition: VP1BPhysConvertor.h:14
lumiFormat.i
int i
Definition: lumiFormat.py:85