![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GaudiKernel/IService.h"
13 #include "GaudiKernel/ISvcLocator.h"
14 #include "GaudiKernel/MsgStream.h"
22 #include "GeoModelKernel/GeoVolumeCursor.h"
25 const std::string&
name,
26 const IInterface*
parent ):
43 log << MSG::INFO <<
"Building Beam Pipe" <<
endmsg;
49 return StatusCode::FAILURE;
54 if(atlasVersion ==
"AUTO")
55 atlasVersion =
"ATLAS-00";
56 std::string versionNode =
"ATLAS";
61 <<
"Could not find GeoModelExperiment ATLAS"
63 return (StatusCode::FAILURE);
78 theBeamPipeFactory.
create(world);
87 std::string beampipeVersionTag;
88 beampipeVersionTag = accessSvc->getChildTag(
"BeamPipe", atlasVersion,versionNode);
91 if (beampipeVersionTag.empty()) {
92 log << MSG::INFO <<
"No BeamPipe Version. Beam pipe will not be built." <<
endmsg;
97 theBeamPipeFactory.create(world);
99 m_manager = theBeamPipeFactory.getDetectorManager();
106 if (
sc.isFailure()) {
107 log << MSG::ERROR <<
"Could not register BeamPipe detector manager" <<
endmsg;
108 return (StatusCode::FAILURE);
110 return StatusCode::SUCCESS;
113 return StatusCode::FAILURE;
123 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual const BeamPipeDetectorManager * getDetectorManager() const override
GeoPhysVol * getPhysVol()
Destructor.
Definition of the abstract IRDBAccessSvc interface.
msgSvc
Provide convenience handles for various services.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
void setTagNode(std::string tag, std::string node, std::string mode)
virtual void create(GeoPhysVol *world) override
void addManager(const GeoVDetectorManager *)