11#include "GaudiKernel/IService.h"
12#include "GaudiKernel/ISvcLocator.h"
13#include "GaudiKernel/MsgStream.h"
23 const std::string& name,
24 const IInterface* parent):
34 MsgStream log(msgSvc(), name());
44 const std::string AtlasVersion = geoDbTag->atlasVersion();
45 const std::string LucidVersion = raccess->getChildTag(
"LUCID",AtlasVersion,
"ATLAS");
47 if(LucidVersion.empty()) {
48 ATH_MSG_DEBUG(
"LUCID is not part of the selected ATLAS geometry. Skipping");
49 return StatusCode::SUCCESS;
53 ATH_CHECK( detStore()->retrieve(theExpt,
"ATLAS") );
61 theLUCID_Factory.
create(world);
66 return StatusCode::SUCCESS;
69 return StatusCode::FAILURE;
87 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
Definition of the abstract IRDBAccessSvc interface.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
virtual const LUCID_DetectorManager * getDetectorManager() const
virtual void create(GeoPhysVol *)
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)