46 #include "G4TrackStatus.hh" 62 if (aTrack->GetParentID() == 0) {
73 theKmap->
SetK(aTrack, Ran);
82 G4Track* theTrack =
const_cast<G4Track*
>(aTrack);
84 theTrack->SetMomentumDirection(momentumDir);
85 theTrack->SetVelocity(velocity);
86 theTrack->UseGivenVelocity(
true);
89 return classification;
static G4LatticeManager * GetLatticeManager()
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
G4ThreeVector G4RandomDirection()
Definition of the G4PhononPolarization enum.
virtual ~XPhononStackingAction()
void SetK(const G4Track *track, const G4ThreeVector &K)
Definition of the G4PhononTrackMap base class.
G4int Get(const G4ParticleDefinition *aPD)
static G4PhononTrackMap * GetPhononTrackMap()
G4ClassificationOfNewTrack
G4double MapKtoV(G4VPhysicalVolume *, G4int, const G4ThreeVector &) const
Definition of the XPhononStackingAction class.
G4ThreeVector MapKtoVDir(G4VPhysicalVolume *, G4int, const G4ThreeVector &) const