ATLAS Offline Software
Loading...
Searching...
No Matches
MuonAGDDTool.cxx File Reference
Include dependency graph for MuonAGDDTool.cxx:

Go to the source code of this file.

Functions

StatusCode MuonAGDDTool::initialize ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode MuonAGDDTool::initialize ATLAS_NOT_THREAD_SAFE ( )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Definition at line 21 of file MuonAGDDTool.cxx.

22{
23 ATH_CHECK(AGDDToolBase::initialize());
24 ATH_MSG_INFO("MuonAGDDTool::initialize");
25 m_outFileName = "Out.AmdcOracle.AM." + m_outFileType + "temp.data";
26 m_outPREsqlName = "Out.AmdcOracle.AM." + m_outFileType + ".PREsql";
27
28 if (m_DBFileName.empty()) {
29 m_DBFileName = "Generated_" + m_outFileType + "_pool.txt";
30 }
31
32 if (m_buildNSW)
33 {
34 MuonAGDDToolHelper theHelper;
35 theHelper.setAGDDtoGeoSvcName(m_agdd2GeoSvcName);
36 theHelper.SetNSWComponents();
37 }
38
39 ATH_CHECK(construct());
40 return StatusCode::SUCCESS;
41}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
void setAGDDtoGeoSvcName(const std::string &name)