Skip to content
Snippets Groups Projects
Commit c79cae7c authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Drop references to Athena from the GeoModelXml code

parent fb072dba
No related branches found
No related tags found
1 merge request!104Ported several code changes from the Athena version of GeoModelXml
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#ifndef GEO_MODEL_XML_GMX2GEO_H
......@@ -30,9 +30,9 @@
// Use:
// #include "GeoModelXml/Gmx2Geo.h"
// #include "GeoModelXml/GmxInterface.h"
// ...create your world volume and do all the Athena setup...
// ...create your world volume ...
// ... get the filename with the xml in:
// std::string xmlfilename; some athena stuff to get filename from the job options...
// std::string xmlfilename; ...
// ...create your envelope GeoPhysVol...
// GeoPhysVol *sct(...);
// GmxInterface gmxInterface;
......
......@@ -42,7 +42,7 @@ Gmx2Geo::Gmx2Geo(const string xmlFile, GeoPhysVol *addHere, GmxInterface &gmxInt
DOMDocument *doc = createDOMDocument(xmlFile, parser, flags);
if (!doc) {// Parsed badly
XMLPlatformUtils::Terminate();
msglog << MSG::FATAL << "Error in xml file " << xmlFile << ". Exiting athena." << endmsg;
msglog << MSG::FATAL << "Error in xml file " << xmlFile << ". Exiting program." << endmsg;
std::abort();
}
......
......@@ -203,7 +203,7 @@ DOMDocument *doc = element->getOwnerDocument();
else {
msglog << MSG::FATAL <<
"multicopyprocessor: error in " << name << ". <transform> object was neither assemblyref nor logvolref\n"
<< "Exiting Athena" << endmsg;
<< "Exiting program" << endmsg;
std::abort();
}
}
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
//
// Use gaudi messaging service when in Athena; use cout when "stand-alone".
//
#ifndef OUTPUTDIRECTOR_H
#define OUTPUTDIRECTOR_H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment