Remove G4ParticleDefinition dependance.
This commit is contained in:
@ -69,7 +69,7 @@
|
||||
#include "G4ForceCondition.hh"
|
||||
#include "G4ParticleChangeForTransport.hh"
|
||||
#include "LEMuSRParticleChangeForSR.hh"
|
||||
|
||||
#include "G4EventManager.hh"
|
||||
|
||||
/*!
|
||||
* This class is a public class of the G4VRestProcess class,
|
||||
@ -114,15 +114,20 @@ public:
|
||||
G4double
|
||||
//! The magnetic field vector at the point[4] position.
|
||||
B[3],
|
||||
//! The spin rotation angle computed in the RotateSpin method
|
||||
rotation_angle;
|
||||
//! The rotation frequency
|
||||
fqz,
|
||||
//! The spin rotation angle computed in the RotateSpin method
|
||||
rotation_angle;
|
||||
|
||||
G4double
|
||||
//! The initial time.
|
||||
itime,
|
||||
//! The final time.
|
||||
ftime,
|
||||
//! The time variation.
|
||||
deltatime;
|
||||
//! The final time.
|
||||
ftime,
|
||||
//! The time variation.
|
||||
deltatime;
|
||||
|
||||
|
||||
G4ThreeVector SpinDirection;
|
||||
|
||||
//! The particle change object which stores all the proposed modification of the particle's state.
|
||||
@ -134,7 +139,12 @@ public:
|
||||
|
||||
|
||||
void RotateSpin(const G4Step&, G4ThreeVector, G4double);
|
||||
|
||||
//! Returns the precession frequency according to the particle:
|
||||
/*!
|
||||
*- For muons and all other particles \f$ \gamma= 8.5062e+7*rad/(s*kGauss)\f$
|
||||
*- For muonium \f$ \gamma=*rad/(s*kGauss) \f$
|
||||
*/
|
||||
G4double GetGyromagneticRatio();
|
||||
|
||||
inline G4double GetMeanLifeTime(const G4Track&, G4ForceCondition* condition)
|
||||
{
|
||||
|
Reference in New Issue
Block a user