#include <G4GHEKinematicsVector.hh>
|
| G4GHEKinematicsVector () |
|
| ~G4GHEKinematicsVector () |
|
| G4GHEKinematicsVector (const G4GHEKinematicsVector &p) |
|
G4GHEKinematicsVector & | operator= (const G4GHEKinematicsVector &p) |
|
void | SetMomentum (G4ParticleMomentum mom) |
|
void | SetMomentumAndUpdate (G4ParticleMomentum mom) |
|
const G4ParticleMomentum | GetMomentum () const |
|
void | SetMomentum (G4double x, G4double y, G4double z) |
|
void | SetMomentumAndUpdate (G4double x, G4double y, G4double z) |
|
void | SetMomentum (G4double x, G4double y) |
|
void | SetMomentumAndUpdate (G4double x, G4double y) |
|
void | SetMomentum (G4double z) |
|
void | SetMomentumAndUpdate (G4double z) |
|
void | SetEnergy (G4double e) |
|
void | SetEnergyAndUpdate (G4double e) |
|
void | SetKineticEnergy (G4double ekin) |
|
void | SetKineticEnergyAndUpdate (G4double ekin) |
|
G4double | GetEnergy () |
|
G4double | GetKineticEnergy () |
|
void | SetMass (G4double mas) |
|
void | SetMassAndUpdate (G4double mas) |
|
G4double | GetMass () |
|
void | SetCharge (G4double c) |
|
G4double | GetCharge () |
|
void | SetTOF (G4double t) |
|
G4double | GetTOF () |
|
void | SetSide (G4int sid) |
|
G4int | GetSide () |
|
void | setFlag (G4bool f) |
|
G4bool | getFlag () |
|
void | SetCode (G4int c) |
|
void | SetParticleDef (G4ParticleDefinition *c) |
|
G4int | GetCode () |
|
G4ParticleDefinition * | GetParticleDef () |
|
void | SetZero () |
|
void | Add (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Sub (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Lor (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
G4double | CosAng (const G4GHEKinematicsVector &p) |
|
G4double | Ang (const G4GHEKinematicsVector &p) |
|
G4double | Dot4 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
G4double | Impu (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Add3 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Sub3 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Cross (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
G4double | Dot (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Smul (const G4GHEKinematicsVector &p, G4double h) |
|
void | SmulAndUpdate (const G4GHEKinematicsVector &p, G4double h) |
|
void | Norz (const G4GHEKinematicsVector &p) |
|
G4double | Length () |
|
void | Exch (G4GHEKinematicsVector &p1) |
|
void | Defs1 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2) |
|
void | Defs (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2, G4GHEKinematicsVector &my, G4GHEKinematicsVector &mz) |
|
void | Trac (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &mx, const G4GHEKinematicsVector &my, const G4GHEKinematicsVector &mz) |
|
void | Print (G4int LLL) |
|
Definition at line 50 of file G4GHEKinematicsVector.hh.
◆ G4GHEKinematicsVector() [1/2]
G4GHEKinematicsVector::G4GHEKinematicsVector |
( |
| ) |
|
|
inline |
◆ ~G4GHEKinematicsVector()
G4GHEKinematicsVector::~G4GHEKinematicsVector |
( |
| ) |
|
|
inline |
◆ G4GHEKinematicsVector() [2/2]
◆ Add()
◆ Add3()
◆ Ang()
Definition at line 424 of file G4GHEKinematicsVector.hh.
425 {
427 if( a != 0.0 )
428 {
432 if( std::abs(a) > 1.0 ) a<0.0 ? a=-1.0 : a=1.0;
433 }
434 return std::acos(a);
435 }
◆ CosAng()
Definition at line 411 of file G4GHEKinematicsVector.hh.
412 {
414 if( a != 0.0 )
415 {
419 if( std::abs(a) > 1.0 ) a<0.0 ? a=-1.0 : a=1.0;
420 }
421 return a;
422 }
◆ Cross()
◆ Defs()
Definition at line 608 of file G4GHEKinematicsVector.hh.
610 {
611 my = p1;
612 mz = p2;
627 if (pp > 0.)
628 {
633 }
635 if (pp > 0.)
636 {
641 }
643 if (pp > 0.)
644 {
649 }
650 return;
651 }
◆ Defs1()
Definition at line 579 of file G4GHEKinematicsVector.hh.
580 {
582 if (pt2 > 0.0)
583 {
586 G4double sint = 0.5 * ( std::sqrt(std::abs((1.-cost)*(1.+cost)))
588 (p2.
momentum.
y() < 0.) ? ph = 1.5*CLHEP::pi : ph = CLHEP::halfpi;
600 }
601 else
602 {
604 }
605 }
◆ Dot()
◆ Dot4()
◆ Exch()
Definition at line 548 of file G4GHEKinematicsVector.hh.
549 {
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573 *this = p1;
574 p1 = mx;
575 return;
576 }
◆ GetCharge()
G4double G4GHEKinematicsVector::GetCharge |
( |
| ) |
|
|
inline |
◆ GetCode()
G4int G4GHEKinematicsVector::GetCode |
( |
| ) |
|
|
inline |
◆ GetEnergy()
G4double G4GHEKinematicsVector::GetEnergy |
( |
| ) |
|
|
inline |
◆ getFlag()
G4bool G4GHEKinematicsVector::getFlag |
( |
| ) |
|
|
inline |
◆ GetKineticEnergy()
G4double G4GHEKinematicsVector::GetKineticEnergy |
( |
| ) |
|
|
inline |
◆ GetMass()
G4double G4GHEKinematicsVector::GetMass |
( |
| ) |
|
|
inline |
◆ GetMomentum()
◆ GetParticleDef()
◆ GetSide()
G4int G4GHEKinematicsVector::GetSide |
( |
| ) |
|
|
inline |
◆ GetTOF()
G4double G4GHEKinematicsVector::GetTOF |
( |
| ) |
|
|
inline |
◆ Impu()
◆ Length()
G4double G4GHEKinematicsVector::Length |
( |
| ) |
|
|
inline |
◆ Lor()
◆ Norz()
◆ operator=()
◆ Print()
void G4GHEKinematicsVector::Print |
( |
G4int |
LLL | ) |
|
|
inline |
◆ SetCharge()
void G4GHEKinematicsVector::SetCharge |
( |
G4double |
c | ) |
|
|
inline |
◆ SetCode()
void G4GHEKinematicsVector::SetCode |
( |
G4int |
c | ) |
|
|
inline |
◆ SetEnergy()
void G4GHEKinematicsVector::SetEnergy |
( |
G4double |
e | ) |
|
|
inline |
◆ SetEnergyAndUpdate()
void G4GHEKinematicsVector::SetEnergyAndUpdate |
( |
G4double |
e | ) |
|
|
inline |
Definition at line 183 of file G4GHEKinematicsVector.hh.
184 {
186 {
192 }
193 else
194 {
199 if (momold == 0.)
200 {
202 G4double sint = std::sqrt(1. - cost*cost);
207 }
208 else
209 {
210 momnew /= momold;
214 }
215 }
216 return;
217 }
◆ setFlag()
void G4GHEKinematicsVector::setFlag |
( |
G4bool |
f | ) |
|
|
inline |
◆ SetKineticEnergy()
void G4GHEKinematicsVector::SetKineticEnergy |
( |
G4double |
ekin | ) |
|
|
inline |
◆ SetKineticEnergyAndUpdate()
void G4GHEKinematicsVector::SetKineticEnergyAndUpdate |
( |
G4double |
ekin | ) |
|
|
inline |
Definition at line 223 of file G4GHEKinematicsVector.hh.
224 {
225 if (ekin <= 0.)
226 {
232 }
233 else
234 {
239 if (momold == 0.)
240 {
242 G4double sint = std::sqrt(1. - cost*cost);
247 }
248 else
249 {
250 momnew /= momold;
254 }
255 }
256 return;
257 }
◆ SetMass()
void G4GHEKinematicsVector::SetMass |
( |
G4double |
mas | ) |
|
|
inline |
◆ SetMassAndUpdate()
void G4GHEKinematicsVector::SetMassAndUpdate |
( |
G4double |
mas | ) |
|
|
inline |
Definition at line 269 of file G4GHEKinematicsVector.hh.
270 {
275 if ( momnew == 0.0)
276 {
280 }
281 else
282 {
284 if (momold == 0.)
285 {
287 G4double sint = std::sqrt(1.-cost*cost);
292 }
293 else
294 {
295 momnew /= momold;
299 }
300 }
301 return;
302 }
◆ SetMomentum() [1/4]
◆ SetMomentum() [2/4]
◆ SetMomentum() [3/4]
void G4GHEKinematicsVector::SetMomentum |
( |
G4double |
z | ) |
|
|
inline |
◆ SetMomentum() [4/4]
◆ SetMomentumAndUpdate() [1/4]
◆ SetMomentumAndUpdate() [2/4]
◆ SetMomentumAndUpdate() [3/4]
void G4GHEKinematicsVector::SetMomentumAndUpdate |
( |
G4double |
z | ) |
|
|
inline |
◆ SetMomentumAndUpdate() [4/4]
◆ SetParticleDef()
◆ SetSide()
void G4GHEKinematicsVector::SetSide |
( |
G4int |
sid | ) |
|
|
inline |
◆ SetTOF()
void G4GHEKinematicsVector::SetTOF |
( |
G4double |
t | ) |
|
|
inline |
◆ SetZero()
void G4GHEKinematicsVector::SetZero |
( |
| ) |
|
|
inline |
◆ Smul()
◆ SmulAndUpdate()
◆ Sub()
◆ Sub3()
◆ Trac()
◆ charge
◆ code
G4int G4GHEKinematicsVector::code |
◆ energy
Definition at line 684 of file G4GHEKinematicsVector.hh.
Referenced by Add(), Dot4(), G4GHEKinematicsVector(), GetEnergy(), Impu(), Lor(), Norz(), operator=(), Print(), SetEnergy(), SetEnergyAndUpdate(), SetKineticEnergyAndUpdate(), SetMassAndUpdate(), SetMomentumAndUpdate(), SetZero(), SmulAndUpdate(), and Sub().
◆ flag
G4bool G4GHEKinematicsVector::flag |
◆ kineticEnergy
G4double G4GHEKinematicsVector::kineticEnergy |
Definition at line 685 of file G4GHEKinematicsVector.hh.
Referenced by Add(), G4GHEKinematicsVector(), GetKineticEnergy(), Lor(), Norz(), operator=(), Print(), SetEnergyAndUpdate(), SetKineticEnergy(), SetKineticEnergyAndUpdate(), SetMassAndUpdate(), SetMomentumAndUpdate(), SetZero(), SmulAndUpdate(), and Sub().
◆ mass
Definition at line 686 of file G4GHEKinematicsVector.hh.
Referenced by Add(), G4GHEKinematicsVector(), GetMass(), Lor(), Norz(), operator=(), Print(), SetEnergyAndUpdate(), SetKineticEnergyAndUpdate(), SetMass(), SetMassAndUpdate(), SetMomentumAndUpdate(), SetZero(), SmulAndUpdate(), and Sub().
◆ momentum
Definition at line 683 of file G4GHEKinematicsVector.hh.
Referenced by Add(), Add3(), Ang(), CosAng(), Cross(), Defs(), Defs1(), Dot(), Dot4(), G4GHEKinematicsVector(), GetMomentum(), Impu(), Length(), Lor(), Norz(), operator=(), Print(), SetEnergyAndUpdate(), SetKineticEnergyAndUpdate(), SetMassAndUpdate(), SetMomentum(), SetMomentumAndUpdate(), SetZero(), Smul(), SmulAndUpdate(), Sub(), Sub3(), and Trac().
◆ particleDef
Definition at line 692 of file G4GHEKinematicsVector.hh.
Referenced by Add(), G4GHEKinematicsVector(), GetParticleDef(), Lor(), Norz(), operator=(), Print(), SetParticleDef(), SetZero(), SmulAndUpdate(), and Sub().
◆ side
G4int G4GHEKinematicsVector::side |
◆ timeOfFlight
G4double G4GHEKinematicsVector::timeOfFlight |
The documentation for this class was generated from the following file: