LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
mag::RZFieldMap Struct Reference

#include "MagneticField.h"

Public Member Functions

size_t nr () const
 
size_t nz () const
 

Public Attributes

TVector3 CoordOffset
 
TVector3 ZAxis
 
float dr
 
float dz
 
std::vector< std::vector< float > > br
 
std::vector< std::vector< float > > bz
 

Detailed Description

Definition at line 26 of file MagneticField.h.

Member Function Documentation

size_t mag::RZFieldMap::nr ( ) const
inline

Definition at line 34 of file MagneticField.h.

Referenced by nz().

34 { return br.size(); };
std::vector< std::vector< float > > br
Definition: MagneticField.h:32
size_t mag::RZFieldMap::nz ( ) const
inline

Definition at line 35 of file MagneticField.h.

References nr().

36  {
37  if(nr() > 0)
38  {
39  return br[0].size();
40  }
41  else
42  {
43  return 0;
44  }
45  };
std::vector< std::vector< float > > br
Definition: MagneticField.h:32
size_t nr() const
Definition: MagneticField.h:34

Member Data Documentation

std::vector<std::vector<float> > mag::RZFieldMap::br

Definition at line 32 of file MagneticField.h.

std::vector<std::vector<float> > mag::RZFieldMap::bz

Definition at line 33 of file MagneticField.h.

TVector3 mag::RZFieldMap::CoordOffset

Definition at line 28 of file MagneticField.h.

float mag::RZFieldMap::dr

Definition at line 30 of file MagneticField.h.

float mag::RZFieldMap::dz

Definition at line 31 of file MagneticField.h.

TVector3 mag::RZFieldMap::ZAxis

Definition at line 29 of file MagneticField.h.


The documentation for this struct was generated from the following file: