ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
16#ifndef LARGEOALGSNV_LARDETECTORFACTORYLITE_H
17#define LARGEOALGSNV_LARDETECTORFACTORYLITE_H
18
20#include "GeoModelKernel/GeoVDetectorFactory.h"
22
23class StoreGateSvc;
24class IRDBAccessSvc;
25class LArHVManager;
26
27namespace GeoModelIO {
28 class ReadGeoModel;
29}
30
31namespace 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
51 void setBarrelSagging(bool flag) {m_barrelSagging = flag;}
52 void setTestBeam(int flag) {m_testBeam = flag;}
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
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Stored in storegate.
virtual void create(GeoPhysVol *world) override
LArDetectorFactoryLite(const LArDetectorFactoryLite &right)=delete
GeoModelIO::ReadGeoModel * m_sqliteReader
const LArDetectorFactoryLite & operator=(const LArDetectorFactoryLite &right)=delete
LArDetectorFactoryLite(StoreGateSvc *detStore, IRDBAccessSvc *paramSvc, GeoModelIO::ReadGeoModel *sqliteReader, const LArHVManager *hvManager)
virtual const LArDetectorManager * getDetectorManager() const override
This class provides access to the High Voltage throughout the LAr.
The Athena Transient Store API.