Skip to content

Commit

Permalink
solving rad decay bug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinunland committed Sep 5, 2024
1 parent 64ea9b3 commit 5a59777
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions simulations/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_subdirectory(effective_area)
#add_subdirectory(radioactive_decays)
#add_subdirectory(effective_area)
add_subdirectory(radioactive_decays)
#add_subdirectory(supernova)
#add_subdirectory(efficiency_calibration)
1 change: 1 addition & 0 deletions simulations/radioactive_decays/src/OMSimDecaysAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ void OMSimDecaysAnalysis::writeMultiplicity(G4double p_timeWindow)
*/
void OMSimDecaysAnalysis::writeThreadDecayInformation()
{
if (!m_threadDecayStats) return;
log_trace("Writing decay information of {} decays", m_threadDecayStats->eventId.size());

G4String outputSufix = OMSimCommandArgsTable::getInstance().get<std::string>("output_file");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ void G4RadioactiveDecay::DecayAnalog(const G4Track& theTrack,
}
}

log_info("DecayAnalog");
OMSimDecaysAnalysis::getInstance().appendDecay(
theParticleDef->GetParticleName(),
finalGlobalTime / s, theTrack.GetPosition());
Expand Down

0 comments on commit 5a59777

Please sign in to comment.