ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
InDetGeoModelUtils
InDetGeoModelUtils
InDetDetectorFactoryBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef InDetGeoModelUtils_DetectorFactoryBase_H
6
#define InDetGeoModelUtils_DetectorFactoryBase_H
7
8
#include "
GeoPrimitives/GeoPrimitives.h
"
10
#include "
CxxUtils/checker_macros.h
"
11
#include "GeoModelKernel/GeoVDetectorFactory.h"
12
#include "
InDetGeoModelUtils/InDetDDAthenaComps.h
"
13
#include <utility>
14
15
class
StoreGateSvc
;
16
class
IGeoDbTagSvc
;
17
class
IRDBAccessSvc
;
18
19
namespace
InDetDD
{
20
21
class
DetectorFactoryBase
:
public
GeoVDetectorFactory
22
{
23
24
public
:
25
DetectorFactoryBase
(
InDetDD::AthenaComps
* athenaComps)
26
:
m_athenaComps
(athenaComps)
27
{}
28
29
StoreGateSvc
*
detStore
() {
return
m_athenaComps
->detStore();}
30
const
StoreGateSvc
*
detStore
()
const
{
return
std::as_const(*m_athenaComps).detStore();}
31
32
const
IGeoDbTagSvc
*
geoDbTagSvc
()
const
{
return
std::as_const(*m_athenaComps).geoDbTagSvc();}
33
34
IRDBAccessSvc
*
rdbAccessSvc
() {
return
m_athenaComps
->rdbAccessSvc();}
35
36
//Declaring the Message method for further use
37
MsgStream&
msg
(MSG::Level lvl)
const
{
return
m_athenaComps
->msg(lvl); }
38
39
//Declaring the Method providing Verbosity Level
40
bool
msgLvl
(MSG::Level lvl) {
return
m_athenaComps
->msgLvl(lvl); }
41
42
InDetDD::AthenaComps
*
getAthenaComps
() {
return
m_athenaComps
;}
43
44
private
:
45
46
InDetDD::AthenaComps
*
m_athenaComps
;
47
48
};
49
50
}
// end namespace
51
52
#endif
// InDetGeoModelUtils_DetectorFactoryBase_H
53
GeoPrimitives.h
InDetDDAthenaComps.h
checker_macros.h
Define macros for attributes used to control the static checker.
IGeoDbTagSvc
Definition
IGeoDbTagSvc.h:26
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition
IRDBAccessSvc.h:45
InDetDD::AthenaComps
Class to hold various Athena components.
Definition
InDetDDAthenaComps.h:21
InDetDD::DetectorFactoryBase::DetectorFactoryBase
DetectorFactoryBase(InDetDD::AthenaComps *athenaComps)
Definition
InDetDetectorFactoryBase.h:25
InDetDD::DetectorFactoryBase::detStore
const StoreGateSvc * detStore() const
Definition
InDetDetectorFactoryBase.h:30
InDetDD::DetectorFactoryBase::getAthenaComps
InDetDD::AthenaComps * getAthenaComps()
Definition
InDetDetectorFactoryBase.h:42
InDetDD::DetectorFactoryBase::msgLvl
bool msgLvl(MSG::Level lvl)
Definition
InDetDetectorFactoryBase.h:40
InDetDD::DetectorFactoryBase::rdbAccessSvc
IRDBAccessSvc * rdbAccessSvc()
Definition
InDetDetectorFactoryBase.h:34
InDetDD::DetectorFactoryBase::m_athenaComps
InDetDD::AthenaComps * m_athenaComps
Definition
InDetDetectorFactoryBase.h:46
InDetDD::DetectorFactoryBase::geoDbTagSvc
const IGeoDbTagSvc * geoDbTagSvc() const
Definition
InDetDetectorFactoryBase.h:32
InDetDD::DetectorFactoryBase::detStore
StoreGateSvc * detStore()
Definition
InDetDetectorFactoryBase.h:29
InDetDD::DetectorFactoryBase::msg
MsgStream & msg(MSG::Level lvl) const
Definition
InDetDetectorFactoryBase.h:37
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:113
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0