#include <G4ErrorFreeTrajParam.hh>
Definition at line 48 of file G4ErrorFreeTrajParam.hh.
◆ G4ErrorFreeTrajParam() [1/4]
G4ErrorFreeTrajParam::G4ErrorFreeTrajParam |
( |
| ) |
|
|
inline |
◆ G4ErrorFreeTrajParam() [2/4]
Definition at line 39 of file G4ErrorFreeTrajParam.cc.
41{
43}
void SetParameters(const G4Point3D &pos, const G4Vector3D &mom)
◆ 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 47 of file G4ErrorFreeTrajParam.cc.
49{
51 fDir = mom*fInvP;
52 fLambda = 90.*deg - mom.
theta();
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 fYPerp = posv.dot( vyPerp );
70 fZPerp = posv.dot( vzPerp );
71 } else {
72 fYPerp = 0.;
73 fZPerp = 0.;
74 }
75}
HepGeom::Vector3D< G4double > G4Vector3D
BasicVector3D< T > cross(const BasicVector3D< T > &v) const
Referenced by G4ErrorFreeTrajParam(), G4ErrorFreeTrajState::SetParameters(), and Update().
◆ Update()
void G4ErrorFreeTrajParam::Update |
( |
const G4Track * |
aTrack | ) |
|
◆ operator<<
Definition at line 86 of file G4ErrorFreeTrajParam.cc.
87{
88 G4int oldprc = out.precision(8);
89 out <<
" InvP= " <<
tp.fInvP <<
" Theta= "
90 <<
tp.fLambda <<
" Phi= " <<
tp.fPhi <<
" YPerp= " <<
tp.fYPerp
91 <<
" ZPerp= " <<
tp.fZPerp <<
G4endl;
92 out <<
" momentum direction= " <<
tp.fDir <<
G4endl;
93 out.precision(oldprc);
94
95 return out;
96}
The documentation for this class was generated from the following files: