37 #include "G4StepStatus.hh" 55 : fTime(0.), fMomentum(0.,0.,0.),
56 fStepStatus(fUndefined), fVolumeName(
"") { }
63 fTime = aStep->GetPostStepPoint()->GetGlobalTime();
64 fMomentum = aStep->GetPostStepPoint()->GetMomentum();
65 fStepStatus = aStep->GetPostStepPoint()->GetStepStatus();
66 if (aStep->GetPostStepPoint()->GetPhysicalVolume())
69 GetPhysicalVolume()->GetName();
80 fTime = aTrack->GetGlobalTime();
106 std::map<G4String,G4AttDef>* store
111 G4AttDef(Pos,
"Position",
"Physics",
"G4BestUnit",
"G4ThreeVector");
115 G4AttDef(Time,
"Time",
"Physics",
"G4BestUnit",
"G4double");
119 G4AttDef(Momentum,
"Momentum",
"Physics",
"G4BestUnit",
"G4ThreeVector");
122 (*store)[StepStatus] =
123 G4AttDef(StepStatus,
"StepStatus",
"Physics",
"",
"G4StepStatus");
126 (*store)[VolumeName] =
127 G4AttDef(VolumeName,
"VolumeName",
"Physics",
"",
"G4String");
137 std::vector<G4AttValue>* values =
new std::vector<G4AttValue>;
Definition of the WLSTrajectoryPoint class.
virtual std::vector< G4AttValue > * CreateAttValues() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector GetPosition() const
virtual ~WLSTrajectoryPoint()
G4ThreadLocal G4Allocator< WLSTrajectoryPoint > * WLSTrajPointAllocator
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)