ATLAS Offline Software
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 
10 class StoreGateSvc;
11 class IGeoDbTagSvc;
12 class IRDBAccessSvc;
13 class IGeometryDBSvc;
14 
15 #include <string>
16 namespace InDetDD {
17 
20  : public AthMessaging
21 {
22 public:
23 
24  AthenaComps(const std::string & msgStreamName);
25 
26  void setDetStore(StoreGateSvc *);
30 
31  const StoreGateSvc * detStore() const;
32  const IGeoDbTagSvc * geoDbTagSvc() const;
33  const IGeometryDBSvc * geomDB() const;
34 
39 
40 private:
45 
46 };
47 
49 {
50  return m_detStore;
51 }
52 
53 inline const StoreGateSvc * AthenaComps::detStore() const
54 {
55  return m_detStore;
56 }
57 
58 inline const IGeoDbTagSvc * AthenaComps::geoDbTagSvc() const
59 {
60  return m_geoDbTagSvc;
61 }
62 
63 inline const IGeometryDBSvc * AthenaComps::geomDB() const
64 {
65  return m_geometryDBSvc;
66 }
67 
69 {
70  return m_geoDbTagSvc;
71 }
72 
73 
75 {
76  return m_rdbAccessSvc;
77 }
78 
80 {
81  return m_geometryDBSvc;
82 }
83 
84 } // endnamespace
85 
86 #endif // InDetGeoModelUtils_InDetDDAthenaComps_H
87 
InDetDD::AthenaComps
Class to hold various Athena components.
Definition: InDetDDAthenaComps.h:21
InDetDD::AthenaComps::m_detStore
StoreGateSvc * m_detStore
Definition: InDetDDAthenaComps.h:41
InDetDD::AthenaComps::AthenaComps
AthenaComps(const std::string &msgStreamName)
Definition: InDetDDAthenaComps.cxx:8
InDetDD::AthenaComps::setGeoDbTagSvc
void setGeoDbTagSvc(IGeoDbTagSvc *)
Definition: InDetDDAthenaComps.cxx:22
InDetDD::AthenaComps::setDetStore
void setDetStore(StoreGateSvc *)
Definition: InDetDDAthenaComps.cxx:17
InDetDD::AthenaComps::m_rdbAccessSvc
IRDBAccessSvc * m_rdbAccessSvc
Definition: InDetDDAthenaComps.h:43
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
IGeometryDBSvc
Definition: IGeometryDBSvc.h:21
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
InDetDD::AthenaComps::setRDBAccessSvc
void setRDBAccessSvc(IRDBAccessSvc *)
Definition: InDetDDAthenaComps.cxx:27
IGeoDbTagSvc
Definition: IGeoDbTagSvc.h:26
InDetDD::AthenaComps::geoDbTagSvc
const IGeoDbTagSvc * geoDbTagSvc() const
Definition: InDetDDAthenaComps.h:58
InDetDD::AthenaComps::m_geometryDBSvc
IGeometryDBSvc * m_geometryDBSvc
Definition: InDetDDAthenaComps.h:44
InDetDD::AthenaComps::geomDB
const IGeometryDBSvc * geomDB() const
Definition: InDetDDAthenaComps.h:63
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
InDetDD::AthenaComps::m_geoDbTagSvc
IGeoDbTagSvc * m_geoDbTagSvc
Definition: InDetDDAthenaComps.h:42
AthMessaging.h
InDetDD::AthenaComps::setGeometryDBSvc
void setGeometryDBSvc(IGeometryDBSvc *)
Definition: InDetDDAthenaComps.cxx:32
InDetDD::AthenaComps::detStore
const StoreGateSvc * detStore() const
Definition: InDetDDAthenaComps.h:53
InDetDD::AthenaComps::rdbAccessSvc
IRDBAccessSvc * rdbAccessSvc()
Definition: InDetDDAthenaComps.h:74
checker_macros.h
Define macros for attributes used to control the static checker.