ATLAS Offline Software
LArDetectorFactoryLite.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
16 #ifndef LARGEOALGSNV_LARDETECTORFACTORYLITE_H
17 #define LARGEOALGSNV_LARDETECTORFACTORYLITE_H
18 
20 #include "GeoModelKernel/GeoVDetectorFactory.h"
22 
23 class StoreGateSvc;
24 class IRDBAccessSvc;
25 class LArHVManager;
26 
27 namespace GeoModelIO {
28  class ReadGeoModel;
29 }
30 
31 namespace LArGeo {
32 
33  class LArDetectorFactoryLite : public GeoVDetectorFactory, public AthMessaging {
34 
35  public:
36 
38  , IRDBAccessSvc* paramSvc
39  , GeoModelIO::ReadGeoModel* sqliteReader
40  , const LArHVManager* hvManager);
44 
45  // Build the parts of the description that cannot be read from the SQLite database
46  virtual void create(GeoPhysVol* world) override;
47 
48  // Access to the results:
49  virtual const LArDetectorManager* getDetectorManager() const override {return m_detectorManager;}
50 
53 
54  private:
55 
59  GeoModelIO::ReadGeoModel* m_sqliteReader = nullptr;
60  const LArHVManager* m_hvManager = nullptr;
61 
64  };
65 
66 } // namespace LArGeo
67 
68 #endif
69 
LArGeo::LArDetectorFactoryLite::m_detectorManager
LArDetectorManager * m_detectorManager
Definition: LArDetectorFactoryLite.h:56
LArGeo
Definition: LArDetectorFactory.h:26
LArGeo::LArDetectorFactoryLite::m_hvManager
const LArHVManager * m_hvManager
Definition: LArDetectorFactoryLite.h:60
LArGeo::LArDetectorFactoryLite::m_testBeam
int m_testBeam
Definition: LArDetectorFactoryLite.h:63
LArGeo::LArDetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition: LArDetectorFactoryLite.h:59
LArGeo::LArDetectorFactoryLite::m_barrelSagging
bool m_barrelSagging
Definition: LArDetectorFactoryLite.h:62
LArGeo::LArDetectorFactoryLite::m_detStore
StoreGateSvc * m_detStore
Definition: LArDetectorFactoryLite.h:57
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
master.flag
bool flag
Definition: master.py:29
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
LArGeo::LArDetectorFactoryLite::operator=
const LArDetectorFactoryLite & operator=(const LArDetectorFactoryLite &right)=delete
LArDetectorManager
Stored in storegate. Provides access to EMB, EMEC, HEC and FCAL Detector Managers....
Definition: LArDetectorManager.h:26
LArGeo::LArDetectorFactoryLite
LArDetectorFactoryLite is invoked by the LArDetectorTool when the GeoModel description of LAr calorim...
Definition: LArDetectorFactoryLite.h:33
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
GeoModelIO
Definition: IGeoDbTagSvc.h:12
LArDetectorManager.h
LArHVManager
This class provides access to the High Voltage throughout the LAr. High voltage conditions can also b...
Definition: LArHVManager.h:24
LArGeo::LArDetectorFactoryLite::setTestBeam
void setTestBeam(int flag)
Definition: LArDetectorFactoryLite.h:52
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite(const LArDetectorFactoryLite &right)=delete
AthMessaging.h
LArGeo::LArDetectorFactoryLite::getDetectorManager
virtual const LArDetectorManager * getDetectorManager() const override
Definition: LArDetectorFactoryLite.h:49
LArGeo::LArDetectorFactoryLite::m_paramSvc
IRDBAccessSvc * m_paramSvc
Definition: LArDetectorFactoryLite.h:58
LArGeo::LArDetectorFactoryLite::setBarrelSagging
void setBarrelSagging(bool flag)
Definition: LArDetectorFactoryLite.h:51
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite()=delete
LArGeo::LArDetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition: LArDetectorFactoryLite.cxx:49