ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArGeoModel
LArGeoAlgsNV
src
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
19
#include "
LArReadoutGeometry/LArDetectorManager.h
"
20
#include "GeoModelKernel/GeoVDetectorFactory.h"
21
#include "
AthenaBaseComps/AthMessaging.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
37
LArDetectorFactoryLite
(
StoreGateSvc
* detStore
38
,
IRDBAccessSvc
* paramSvc
39
, GeoModelIO::ReadGeoModel* sqliteReader
40
,
const
LArHVManager
* hvManager);
41
LArDetectorFactoryLite
() =
delete
;
42
LArDetectorFactoryLite
(
const
LArDetectorFactoryLite
&right) =
delete
;
43
const
LArDetectorFactoryLite
&
operator=
(
const
LArDetectorFactoryLite
&right) =
delete
;
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
56
LArDetectorManager
*
m_detectorManager
=
nullptr
;
57
StoreGateSvc
*
m_detStore
=
nullptr
;
58
IRDBAccessSvc
*
m_paramSvc
=
nullptr
;
59
GeoModelIO::ReadGeoModel*
m_sqliteReader
=
nullptr
;
60
const
LArHVManager
*
m_hvManager
=
nullptr
;
61
62
bool
m_barrelSagging
;
63
int
m_testBeam
;
64
};
65
66
}
// namespace LArGeo
67
68
#endif
69
AthMessaging.h
LArDetectorManager.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition
IRDBAccessSvc.h:45
LArDetectorManager
Stored in storegate.
Definition
LArDetectorManager.h:26
LArGeo::LArDetectorFactoryLite::m_barrelSagging
bool m_barrelSagging
Definition
LArDetectorFactoryLite.h:62
LArGeo::LArDetectorFactoryLite::setBarrelSagging
void setBarrelSagging(bool flag)
Definition
LArDetectorFactoryLite.h:51
LArGeo::LArDetectorFactoryLite::create
virtual void create(GeoPhysVol *world) override
Definition
LArDetectorFactoryLite.cxx:49
LArGeo::LArDetectorFactoryLite::setTestBeam
void setTestBeam(int flag)
Definition
LArDetectorFactoryLite.h:52
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite(const LArDetectorFactoryLite &right)=delete
LArGeo::LArDetectorFactoryLite::m_paramSvc
IRDBAccessSvc * m_paramSvc
Definition
LArDetectorFactoryLite.h:58
LArGeo::LArDetectorFactoryLite::m_detectorManager
LArDetectorManager * m_detectorManager
Definition
LArDetectorFactoryLite.h:56
LArGeo::LArDetectorFactoryLite::m_detStore
StoreGateSvc * m_detStore
Definition
LArDetectorFactoryLite.h:57
LArGeo::LArDetectorFactoryLite::m_sqliteReader
GeoModelIO::ReadGeoModel * m_sqliteReader
Definition
LArDetectorFactoryLite.h:59
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite()=delete
LArGeo::LArDetectorFactoryLite::operator=
const LArDetectorFactoryLite & operator=(const LArDetectorFactoryLite &right)=delete
LArGeo::LArDetectorFactoryLite::LArDetectorFactoryLite
LArDetectorFactoryLite(StoreGateSvc *detStore, IRDBAccessSvc *paramSvc, GeoModelIO::ReadGeoModel *sqliteReader, const LArHVManager *hvManager)
Definition
LArDetectorFactoryLite.cxx:33
LArGeo::LArDetectorFactoryLite::getDetectorManager
virtual const LArDetectorManager * getDetectorManager() const override
Definition
LArDetectorFactoryLite.h:49
LArGeo::LArDetectorFactoryLite::m_testBeam
int m_testBeam
Definition
LArDetectorFactoryLite.h:63
LArGeo::LArDetectorFactoryLite::m_hvManager
const LArHVManager * m_hvManager
Definition
LArDetectorFactoryLite.h:60
LArHVManager
This class provides access to the High Voltage throughout the LAr.
Definition
LArHVManager.h:24
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
GeoModelIO
Definition
IGeoDbTagSvc.h:12
LArGeo
Definition
LArDetectorFactory.h:26
Generated on
for ATLAS Offline Software by
1.17.0