9 #include "GaudiKernel/IService.h"
10 #include "GaudiKernel/ISvcLocator.h"
21 <<
"INSIDE CONSTRUCTOR OF DETTOOL string& type " <<
type <<
endmsg
22 <<
"INSIDE CONSTRUCTOR OF DETTOOL std::string& name " <<
name <<
endmsg;
45 if (msgLevel(MSG::ERROR))
msg(MSG::ERROR) <<
" Could not find GeoModelExperiment ATLAS " <<
endmsg;
46 return (StatusCode::FAILURE);
56 return StatusCode::FAILURE;
63 msg(MSG::INFO) <<
"Initializing ZDC geometry for PbPb2015" <<
endmsg;
64 theZDCFactory.initializePbPb2015();
66 msg(MSG::INFO) <<
"Initializing ZDC geometry for PbPb2023" <<
endmsg;
67 theZDCFactory.initializePbPb2023();
69 msg(MSG::ERROR) <<
"No ZDC geometry defined for RUN4" <<
endmsg;
77 theZDCFactory.create(world);
79 catch (
const std::bad_alloc&) {
82 return StatusCode::FAILURE;
86 theExpt->
addManager(theZDCFactory.getDetectorManager());
87 if(
detStore()->record(theZDCFactory.getDetectorManager(),theZDCFactory.getDetectorManager()->getName())==StatusCode::SUCCESS){
88 return StatusCode::SUCCESS;}
94 return StatusCode::FAILURE;