![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/IService.h"
12 #include "GaudiKernel/ISvcLocator.h"
13 #include "GaudiKernel/MsgStream.h"
23 const std::string&
name,
36 log << MSG::INFO <<
"Building LUCID geometry" <<
endmsg;
40 if (
sc.isFailure()) {
log <<
MSG::FATAL <<
"Could not locate GeoDbTagSvc" <<
endmsg;
return StatusCode::FAILURE; }
44 sc = service(
"RDBAccessSvc",raccess);
46 if(
sc.isFailure()) {
log <<
MSG::FATAL <<
"Could not locate RDBAccessSvc" <<
endmsg;
return StatusCode::FAILURE; }
51 if(LucidVersion.empty()) {
52 log <<
MSG::DEBUG <<
"LUCID is not part of the selected ATLAS geometry. Skipping" <<
endmsg;
53 return StatusCode::SUCCESS;
60 log << MSG::ERROR <<
"Could not find GeoModelExperiment ATLAS" <<
endmsg;
61 return StatusCode::FAILURE;
70 theLUCID_Factory.
create(world);
71 m_manager = theLUCID_Factory.getDetectorManager();
77 if (
sc.isFailure()) {
log << MSG::ERROR <<
"Could not register LUCID detector manager" <<
endmsg;
return StatusCode::FAILURE; }
79 return StatusCode::SUCCESS;
82 return StatusCode::FAILURE;
100 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
GeoPhysVol * getPhysVol()
Destructor.
virtual void create(GeoPhysVol *)
Definition of the abstract IRDBAccessSvc interface.
virtual std::string getChildTag(const std::string &childNode, const std::string &parentTag, const std::string &parentNode, const std::string &connName="ATLASDD")=0
Gets the tag name for the node by giving its parent node tag.
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...
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
void addManager(const GeoVDetectorManager *)