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
9#include "GeoModelKernel/GeoVDetectorFactory.h"
11#include <utility>
12
13class StoreGateSvc;
14class IGeoDbTagSvc;
15class IRDBAccessSvc;
16
17namespace InDetDD {
18
19class DetectorFactoryBase : public GeoVDetectorFactory
20{
21
22public:
24 : m_athenaComps(athenaComps)
25 {}
26
27 StoreGateSvc * detStore () {return m_athenaComps->detStore();}
28 const StoreGateSvc * detStore () const {return std::as_const(*m_athenaComps).detStore();}
29
30 const IGeoDbTagSvc * geoDbTagSvc() const {return std::as_const(*m_athenaComps).geoDbTagSvc();}
31
32 IRDBAccessSvc * rdbAccessSvc() {return m_athenaComps->rdbAccessSvc();}
33
34 //Declaring the Message method for further use
35 MsgStream& msg (MSG::Level lvl) const { return m_athenaComps->msg(lvl); }
36
37 //Declaring the Method providing Verbosity Level
38 bool msgLvl (MSG::Level lvl) { return m_athenaComps->msgLvl(lvl); }
39
41
42private:
43
45
46};
47
48} // end namespace
49
50#endif // InDetGeoModelUtils_DetectorFactoryBase_H
51
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.