Skip to content

Commit

Permalink
Update Geant4TestActions.cpp
Browse files Browse the repository at this point in the history
Explicity set namespace to TrackClassification in
TestStackingAction::classifyNewTrack
  • Loading branch information
MarkusFrankATcernch committed Feb 12, 2024
1 parent cf60b93 commit ade128c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDG4/src/Geant4TestActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void Geant4TestStackAction::prepare(G4StackManager*) {
PRINT("%s> calling prepare()", m_type.c_str());
}
/// Return TrackClassification with enum G4ClassificationOfNewTrack or NoTrackClassification
TrackClassification Geant4TestStackAction::classifyNewTrack(G4StackManager*, const G4Track* trk) {
dd4hep::sim::TrackClassification Geant4TestStackAction::classifyNewTrack(G4StackManager*, const G4Track* trk) {
PRINT("%s> calling classifyNewTrack(track=%d, parent=%d, position=(%f,%f,%f) Context: run=%p evt=%p)",
m_type.c_str(), trk->GetTrackID(),
trk->GetParentID(), trk->GetPosition().x(), trk->GetPosition().y(), trk->GetPosition().z(),
Expand Down

0 comments on commit ade128c

Please sign in to comment.