CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
magfieldparam::BCylParam< T > Struct Template Reference

#include <BCyl.h>

Public Member Functions

template<typename... Args>
constexpr BCylParam (Args...init)
 

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.

28  :
29  prm{std::forward<Args>(init)...},
30  //prm(std::forward<Args>(init)...),
31  ap2(4*prm[0]*prm[0]/(prm[1]*prm[1])),
32  hb0(0.5*prm[2]*std::sqrt(1.0+ap2)),
33  hlova(1/std::sqrt(ap2)),
34  ainv(2*hlova/prm[1]),
35  coeff(1/(prm[8]*prm[8])){}
T sqrt(T t)
Definition: SSEVec.h:18

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.

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

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().