#include <G4ErrorFreeTrajParam.hh>
Definition at line 48 of file G4ErrorFreeTrajParam.hh.
◆ G4ErrorFreeTrajParam() [1/4]
G4ErrorFreeTrajParam::G4ErrorFreeTrajParam |
( |
| ) |
|
|
inline |
◆ G4ErrorFreeTrajParam() [2/4]
◆ G4ErrorFreeTrajParam() [3/4]
◆ G4ErrorFreeTrajParam() [4/4]
◆ ~G4ErrorFreeTrajParam()
virtual G4ErrorFreeTrajParam::~G4ErrorFreeTrajParam |
( |
| ) |
|
|
inlinevirtual |
◆ GetDirection()
G4Vector3D G4ErrorFreeTrajParam::GetDirection |
( |
| ) |
const |
|
inline |
◆ GetInvP()
G4double G4ErrorFreeTrajParam::GetInvP |
( |
| ) |
const |
|
inline |
◆ GetLambda()
G4double G4ErrorFreeTrajParam::GetLambda |
( |
| ) |
const |
|
inline |
◆ GetPhi()
G4double G4ErrorFreeTrajParam::GetPhi |
( |
| ) |
const |
|
inline |
◆ GetYPerp()
G4double G4ErrorFreeTrajParam::GetYPerp |
( |
| ) |
const |
|
inline |
◆ GetZPerp()
G4double G4ErrorFreeTrajParam::GetZPerp |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetParameters()
Definition at line 46 of file G4ErrorFreeTrajParam.cc.
48{
55 {
56 vxPerp = mom / mom.
mag();
57 }
59 vyPerp /= vyPerp.
mag();
61 vzPerp /= vzPerp.
mag();
62
63
65 if(vyPerp.
mag() != 0.)
66 {
67
68
69
72 }
73 else
74 {
77 }
78}
static constexpr double deg
HepGeom::Vector3D< G4double > G4Vector3D
BasicVector3D< T > cross(const BasicVector3D< T > &v) const
References HepGeom::BasicVector3D< T >::cross(), deg, CLHEP::Hep3Vector::dot(), fDir, fInvP, fLambda, fPhi, fYPerp, fZPerp, HepGeom::BasicVector3D< T >::mag(), HepGeom::BasicVector3D< T >::phi(), pos, HepGeom::BasicVector3D< T >::theta(), HepGeom::BasicVector3D< T >::x(), and HepGeom::BasicVector3D< T >::y().
Referenced by G4ErrorFreeTrajParam(), G4ErrorFreeTrajState::SetParameters(), and Update().
◆ Update()
void G4ErrorFreeTrajParam::Update |
( |
const G4Track * |
aTrack | ) |
|
◆ operator<<
Definition at line 87 of file G4ErrorFreeTrajParam.cc.
88{
89 G4int oldprc = out.precision(8);
90 out <<
" InvP= " <<
tp.fInvP <<
" Theta= " <<
tp.fLambda
91 <<
" Phi= " <<
tp.fPhi <<
" YPerp= " <<
tp.fYPerp
92 <<
" ZPerp= " <<
tp.fZPerp <<
G4endl;
93 out <<
" momentum direction= " <<
tp.fDir <<
G4endl;
94 out.precision(oldprc);
95
96 return out;
97}
◆ fDir
◆ fInvP
◆ fLambda
◆ fPhi
◆ fYPerp
◆ fZPerp
The documentation for this class was generated from the following files: