59 : fCurrentStepNumber(0), fPosition(aValuePosition),
60 fGlobalTime(aValueTime), fLocalTime(0.),
62 fParentID(0), fTrackID(0),
64 fpDynamicParticle(apValueDynamicParticle),
66 fBelowThreshold(false), fGoodForTracking(false),
67 fStepLength(0.0), fWeight(1.0),
69 fVtxKineticEnergy(0.0),
70 fpLVAtVertex(0), fpCreatorProcess(0),
71 fCreatorModelIndex(-1),
73 prev_mat(0), groupvel(0),
74 prev_velocity(0.0), prev_momentum(0.0),
75 is_OpticalPhoton(false),
76 useGivenVelocity(false)
97 : fCurrentStepNumber(0),
98 fGlobalTime(0), fLocalTime(0.),
100 fParentID(0), fTrackID(0),
102 fpDynamicParticle(0),
104 fBelowThreshold(false), fGoodForTracking(false),
105 fStepLength(0.0), fWeight(1.0),
107 fVtxKineticEnergy(0.0),
108 fpLVAtVertex(0), fpCreatorProcess(0),
109 fCreatorModelIndex(-1),
110 fpUserInformation(0),
111 prev_mat(0), groupvel(0),
112 prev_velocity(0.0), prev_momentum(0.0),
113 is_OpticalPhoton(false),
114 useGivenVelocity(false)
121 : fCurrentStepNumber(0),
122 fGlobalTime(0), fLocalTime(0.),
124 fParentID(0), fTrackID(0),
126 fpDynamicParticle(0),
128 fBelowThreshold(false), fGoodForTracking(false),
129 fStepLength(0.0), fWeight(1.0),
131 fVtxKineticEnergy(0.0),
132 fpLVAtVertex(0), fpCreatorProcess(0),
133 fCreatorModelIndex(-1),
134 fpUserInformation(0),
135 prev_mat(0), groupvel(0),
136 prev_velocity(0.0), prev_momentum(0.0),
137 is_OpticalPhoton(false),
138 useGivenVelocity(false)
155 if (
this != &right) {
237 velocity = c_light*std::sqrt(T*(T+2.))/(T+1.0);
255 G4bool update_groupvel =
false;
269 update_groupvel =
true;
281 if( update_groupvel || (current_momentum !=
prev_momentum) ) {
static G4ThreadLocal G4VelocityTable * velTable
static G4VelocityTable * GetVelocityTable()
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4MaterialPropertyVector * GetProperty(const char *key)
G4ThreadLocal G4Allocator< G4Track > * aTrackAllocator
G4double GetKineticEnergy() const
CLHEP::Hep3Vector G4ThreeVector
static G4double GetMinTOfVelocityTable()
G4DynamicParticle * fpDynamicParticle
G4Material * GetMaterial() const
G4MaterialPropertyVector * groupvel
G4double fVtxKineticEnergy
G4ParticleDefinition * GetDefinition() const
G4double GetTotalMomentum() const
const G4VProcess * fpCreatorProcess
G4VUserTrackInformation * fpUserInformation
G4double CalculateVelocityForOpticalPhoton() const
G4ThreeVector fVtxMomentumDirection
static G4int GetNbinOfVelocityTable()
G4ThreeVector fVtxPosition
G4double Value(G4double theEnergy, size_t &lastidx) const
G4double CalculateVelocity() const
static void SetVelocityTableProperties(G4double t_max, G4double t_min, G4int nbin)
G4Material * GetMaterial() const
static G4int GetNbinOfVelocityTable()
G4TouchableHandle fpTouchable
G4LogicalVolume * GetLogicalVolume() const
static G4ParticleTable * GetParticleTable()
G4Track & operator=(const G4Track &)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4MaterialPropertiesTable * GetMaterialPropertiesTable() const
static G4double GetMinTOfVelocityTable()
G4TrackStatus fTrackStatus
static void SetVelocityTableProperties(G4double t_max, G4double t_min, G4int nbin)
const G4LogicalVolume * fpLVAtVertex
static G4double GetMaxTOfVelocityTable()
static G4double GetMaxTOfVelocityTable()
G4double Value(G4double theEnergy)
void CopyTrackInfo(const G4Track &)