|
ATLAS Offline Software
|
Go to the documentation of this file.
16 const std::string&
t,
const std::string&
n,
const IInterface*
p)
18 declareInterface<Trk::IGeometryBuilder>(
this);
30 std::unique_ptr<Trk::TrackingGeometry> trackingGeometry{};
35 std::unique_ptr<CaloDetDescrManager> caloMgrPtr =
37 if (
detStore()->record(std::move(caloMgrPtr), caloMgrStaticKey) !=
38 StatusCode::SUCCESS) {
40 << caloMgrStaticKey <<
" in DetStore");
41 return trackingGeometry;
44 StatusCode::SUCCESS) {
46 << caloMgrStaticKey <<
" from DetStore");
47 return trackingGeometry;
53 ATH_MSG_WARNING(
"caloDDM is a null pointer in CaloTrackingGeometryBuilder");
54 return trackingGeometry;
def retrieve(aClass, aKey=None)
virtual StatusCode initialize() override
AlgTool initailize method.
std::unique_ptr< Trk::TrackingGeometry > createTrackingGeometry(Trk::TrackingVolume *innerVol, const CaloDetDescrManager *caloDDM) const
TrackingGeometry Interface method.
IMessageSvc * getMessageSvc(bool quiet=false)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual std::unique_ptr< Trk::TrackingGeometry > trackingGeometry(Trk::TrackingVolume *tvol=0) const override
TrackingGeometry Interface methode.
This class provides the client interface for accessing the detector description information common to...
#define ATH_MSG_WARNING(x)
CaloTrackingGeometryBuilder(const std::string &, const std::string &, const IInterface *)
Constructor.
virtual StatusCode initialize() override
AlgTool initailize method.
std::unique_ptr< CaloDetDescrManager > buildCaloDetDescrNoAlign(ISvcLocator *svcLocator, IMessageSvc *msgSvc)