CMS 3D CMS Logo

Public Member Functions | Public Attributes

magfieldparam::BCylParam< T > Struct Template Reference

#include <BCyl.h>

List of all members.

Public Member Functions

 ainv (2 *hlova/prm[1])
 ap2 (4 *prm[0]*prm[0]/(prm[1]*prm[1]))
template<typename... Args>
constexpr BCylParam (Args...init)
 coeff (1/(prm[8]*prm[8]))
 hb0 (0.5 *prm[2]*std::sqrt(1.0+ap2))
 hlova (1/std::sqrt(ap2))

Public Attributes

T ainv
T ap2
T coeff
T hb0
T hlova
T prm [9]

Detailed Description

template<typename T>
struct magfieldparam::BCylParam< T >

Definition at line 25 of file BCyl.h.


Constructor & Destructor Documentation

template<typename T>
template<typename... Args>
constexpr magfieldparam::BCylParam< T >::BCylParam ( Args...  init) [inline]

Definition at line 28 of file BCyl.h.

                                      :
      prm{std::forward<Args>(init)...},

Member Function Documentation

template<typename T>
magfieldparam::BCylParam< T >::ainv ( 2 *hlova prm[1])
template<typename T>
magfieldparam::BCylParam< T >::ap2 ( 4 *prm *prm (prm[1]*prm[1])[0][0])
template<typename T>
magfieldparam::BCylParam< T >::coeff ( 1/  prm[8]*prm[8]) [inline]

Definition at line 35 of file BCyl.h.

{}
template<typename T>
magfieldparam::BCylParam< T >::hb0 ( 0.5 *prm *std::  sqrt(1.0+ap2)[2])
template<typename T>
magfieldparam::BCylParam< T >::hlova ( 1/std::  sqrtap2)

Member Data Documentation

template<typename T>
T magfieldparam::BCylParam< T >::ainv

Definition at line 38 of file BCyl.h.

Referenced by magfieldparam::BCylParam< float >::BCylParam().

template<typename T>
T magfieldparam::BCylParam< T >::ap2

Definition at line 38 of file BCyl.h.

Referenced by magfieldparam::BCylParam< float >::BCylParam().

template<typename T>
T magfieldparam::BCylParam< T >::coeff

Definition at line 38 of file BCyl.h.

template<typename T>
T magfieldparam::BCylParam< T >::hb0

Definition at line 38 of file BCyl.h.

Referenced by magfieldparam::BCylParam< float >::BCylParam().

template<typename T>
T magfieldparam::BCylParam< T >::hlova

Definition at line 38 of file BCyl.h.

Referenced by magfieldparam::BCylParam< float >::BCylParam().

template<typename T>
T magfieldparam::BCylParam< T >::prm[9]

Definition at line 37 of file BCyl.h.

Referenced by magfieldparam::BCylParam< float >::BCylParam().