ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include "GeoModelKernel/GeoVDetectorFactory.h"
13#include <utility>
14
15class StoreGateSvc;
16class IGeoDbTagSvc;
17class IRDBAccessSvc;
18
19namespace InDetDD {
20
21class DetectorFactoryBase : public GeoVDetectorFactory
22{
23
24public:
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
43
44private:
45
47
48};
49
50} // end namespace
51
52#endif // InDetGeoModelUtils_DetectorFactoryBase_H
53
Define macros for attributes used to control the static checker.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Class to hold various Athena components.
DetectorFactoryBase(InDetDD::AthenaComps *athenaComps)
const StoreGateSvc * detStore() const
InDetDD::AthenaComps * getAthenaComps()
const IGeoDbTagSvc * geoDbTagSvc() const
MsgStream & msg(MSG::Level lvl) const
The Athena Transient Store API.
Message Stream Member.