Skip to content
Snippets Groups Projects
Commit 5fafce15 authored by Steven Andrew Farrell's avatar Steven Andrew Farrell
Browse files

removed G4MULTITHREADED protection of isValid check

Former-commit-id: 4b12a346
parent b84c73a4
No related branches found
No related tags found
8 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles
......@@ -31,12 +31,11 @@ namespace G4UA
//---------------------------------------------------------------------------
void CosmicPerigeeAction::beginOfEvent(const G4Event*)
{
#ifdef G4MULTITHREADED
// Temporary fix for Hive until isValid is fixed
m_trackRecordCollection = CxxUtils::make_unique<TrackRecordCollection>(m_trackRecordCollection.name());
#else
if (!m_trackRecordCollection.isValid()) m_trackRecordCollection = CxxUtils::make_unique<TrackRecordCollection>(m_trackRecordCollection.name());
#endif
if (!m_trackRecordCollection.isValid()) {
m_trackRecordCollection = CxxUtils::make_unique<TrackRecordCollection>(
m_trackRecordCollection.name());
}
//FIXME need a nice way of getting the maximum size of the ID envelope in R and Z.
//EnvelopeGeometryManager *gm=EnvelopeGeometryManager::GetGeometryManager();
//m_idR = gm->IdetOuterRadius();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment