#include <XPhononStackingAction.hh>
Definition at line 39 of file XPhononStackingAction.hh.
◆ XPhononStackingAction()
XPhononStackingAction::XPhononStackingAction |
( |
| ) |
|
◆ ~XPhononStackingAction()
XPhononStackingAction::~XPhononStackingAction |
( |
| ) |
|
|
virtual |
◆ ClassifyNewTrack()
Reimplemented from G4UserStackingAction.
Definition at line 59 of file XPhononStackingAction.cc.
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()
G4ThreeVector G4RandomDirection()
void SetK(const G4Track *track, const G4ThreeVector &K)
G4int Get(const G4ParticleDefinition *aPD)
static G4PhononTrackMap * GetPhononTrackMap()
G4ClassificationOfNewTrack
G4double MapKtoV(G4VPhysicalVolume *, G4int, const G4ThreeVector &) const
G4ThreeVector MapKtoVDir(G4VPhysicalVolume *, G4int, const G4ThreeVector &) const
The documentation for this class was generated from the following files: