ATLAS Offline Software
LArDetectorFactoryLite.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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 
46 
47  // Build the parts of the description that cannot be read from the SQLite database
48  virtual void create(GeoPhysVol* world) override;
49 
50  // Access to the results:
51  virtual const LArDetectorManager* getDetectorManager() const override {return m_detectorManager;}
52 
55 
56  private:
57 
61  GeoModelIO::ReadGeoModel* m_sqliteReader = nullptr;
62  const LArHVManager* m_hvManager = nullptr;
63 
66  };
67 
68 } // namespace LArGeo
69 
70 #endif
71 
LArGeo::LArDetectorFactoryLite::m_detectorManager
LArDetectorManager * m_detectorManager
Definition: LArDetectorFactoryLite.h:58
LArGeo
Definition: LArDetectorFactory.h:26
LArGeo::LArDetectorFactoryLite::m_hvManager
const LArHVManager * m_hvManager
Definition: LArDetectorFactoryLite.h:62
LArGeo::LArDetectorFactoryLite::m_testBeam
int m_testBeam
Definition: LArDetectorFactoryLite.h:65
LArGeo::LArDetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition: LArDetectorFactoryLite.h:61
LArGeo::LArDetectorFactoryLite::m_barrelSagging
bool m_barrelSagging
Definition: LArDetectorFactoryLite.h:64
LArGeo::LArDetectorFactoryLite::m_detStore
StoreGateSvc * m_detStore
Definition: LArDetectorFactoryLite.h:59
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:54
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite(const LArDetectorFactoryLite &right)=delete
AthMessaging.h
LArGeo::LArDetectorFactoryLite::getDetectorManager
virtual const LArDetectorManager * getDetectorManager() const override
Definition: LArDetectorFactoryLite.h:51
LArGeo::LArDetectorFactoryLite::~LArDetectorFactoryLite
virtual ~LArDetectorFactoryLite()
LArGeo::LArDetectorFactoryLite::m_paramSvc
IRDBAccessSvc * m_paramSvc
Definition: LArDetectorFactoryLite.h:60
LArGeo::LArDetectorFactoryLite::setBarrelSagging
void setBarrelSagging(bool flag)
Definition: LArDetectorFactoryLite.h:53
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite()=delete
LArGeo::LArDetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition: LArDetectorFactoryLite.cxx:52