Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
36{
38
39
40
41 if(!m_simplifiedGeoPath.empty()) {
43 if (geoFile.empty()) {
44 ATH_MSG_FATAL(
"Could not find simplified geometry file: " << m_simplifiedGeoPath);
45 return StatusCode::FAILURE;
46 }
48 parser.Read(geoFile,
false);
49 }
50
51
53 ATH_MSG_INFO(
"- Using ISF TruthRecordSvc : " << m_truthRecordSvc.typeAndName());
55 ATH_MSG_INFO(
"- Using ISF GeoIDSvc : " << m_geoIDSvc.typeAndName());
56
60
61
63 ATH_MSG_INFO(
"Waiting on G4RunTool to be ready for run");
64
65
66
67 m_g4RunTool->WaitBeginRun();
68
69
72
75
76
77 ATH_CHECK(m_inputTruthCollectionKey.initialize());
78 ATH_CHECK(m_outputTruthCollectionKey.initialize());
80
82 if (!m_truthPreselectionTool.empty()) {
83 ATH_CHECK(m_truthPreselectionTool.retrieve());
84 }
85
86 if (!m_qspatcher.empty()) {
88 }
89
91 return StatusCode::SUCCESS;
92}
#define ATH_CHECK
Evaluate an expression and check for errors.
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Singleton class for creating truth incidents.
void SetISFGeoIDSvc(ISF::IGeoIDSvc *geoIDSvc)
Define which ISF GeoIDSvc to use.
void SetISFTruthSvc(ISF::ITruthSvc *truthSvc)
Define which ISF TruthService to use.