ATLAS Offline Software
Loading...
Searching...
No Matches
InDetDDAthenaComps.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef InDetGeoModelUtils_InDetDDAthenaComps_H
6#define InDetGeoModelUtils_InDetDDAthenaComps_H
7
10class StoreGateSvc;
11class IGeoDbTagSvc;
12class IRDBAccessSvc;
13class IGeometryDBSvc;
14
15#include <string>
16namespace InDetDD {
17
20 : public AthMessaging
21{
22public:
23
24 AthenaComps(const std::string & msgStreamName);
25
30
31 const StoreGateSvc * detStore() const;
32 const IGeoDbTagSvc * geoDbTagSvc() const;
33 const IGeometryDBSvc * geomDB() const;
34
39
40private:
45
46};
47
49{
50 return m_detStore;
51}
52
53inline const StoreGateSvc * AthenaComps::detStore() const
54{
55 return m_detStore;
56}
57
59{
60 return m_geoDbTagSvc;
61}
62
63inline const IGeometryDBSvc * AthenaComps::geomDB() const
64{
65 return m_geometryDBSvc;
66}
67
72
73
78
83
84} // endnamespace
85
86#endif // InDetGeoModelUtils_InDetDDAthenaComps_H
87
Define macros for attributes used to control the static checker.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Interface class to access geometry database with possibility to override parameters from a text file.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
AthenaComps(const std::string &msgStreamName)
const StoreGateSvc * detStore() const
IRDBAccessSvc * m_rdbAccessSvc
void setGeoDbTagSvc(IGeoDbTagSvc *)
IGeometryDBSvc * m_geometryDBSvc
IGeoDbTagSvc * m_geoDbTagSvc
void setDetStore(StoreGateSvc *)
void setRDBAccessSvc(IRDBAccessSvc *)
IRDBAccessSvc * rdbAccessSvc()
const IGeoDbTagSvc * geoDbTagSvc() const
const IGeometryDBSvc * geomDB() const
void setGeometryDBSvc(IGeometryDBSvc *)
The Athena Transient Store API.
Message Stream Member.