ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArGeoModel
LArGeoAlgsNV
src
LArDetectorFactory.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
17
#ifndef LARGEOALGSNV_LARDETECTORFACTORY_H
18
#define LARGEOALGSNV_LARDETECTORFACTORY_H
19
#include "
LArReadoutGeometry/LArDetectorManager.h
"
20
#include "GeoModelKernel/GeoVDetectorFactory.h"
21
#include "
AthenaBaseComps/AthMessaging.h
"
22
23
class
StoreGateSvc
;
24
class
LArHVManager
;
25
26
namespace
LArGeo
{
27
class
VDetectorParameters
;
28
29
class
LArDetectorFactory
:
public
GeoVDetectorFactory,
public
AthMessaging
{
30
31
public
:
32
33
// Constructor:
34
LArDetectorFactory
(
StoreGateSvc
* detStore
35
,
const
LArHVManager
* hvManager
36
,
int
testbeam
37
,
bool
fullGeo);
38
39
// Destructor:
40
virtual
~LArDetectorFactory
();
41
42
// Creation of geometry:
43
virtual
void
create
(GeoPhysVol* world)
override
;
44
45
// Access to the results:
46
virtual
const
LArDetectorManager
*
getDetectorManager
()
const override
;
47
48
std::unique_ptr<LArGeo::VDetectorParameters>
moveParameters
();
49
50
51
// Set parameters:
52
53
void
setBarrelSagging
(
bool
flag) {
m_barrelSagging
= flag;}
54
void
setBarrelCellVisLimit
(
int
maxCell
) {
m_barrelVisLimit
=
maxCell
;}
55
void
setFCALVisLimit
(
int
maxCell
) {
m_fcalVisLimit
=
maxCell
;}
56
void
setBuildBarrel
(
bool
flag) {
m_buildBarrel
= flag;}
57
void
setBuildEndcap
(
bool
flag) {
m_buildEndcap
= flag;}
58
void
setEMECVariant
(
const
std::string &inner,
const
std::string &outer)
59
{
60
m_EMECVariantInner
= inner;
61
m_EMECVariantOuter
= outer;
62
}
63
void
setActivateFT
(
bool
flag) {
m_activateFT
= flag; }
64
void
setEnableMBTS
(
bool
flag) {
m_enableMBTS
= flag; }
65
66
private
:
67
68
// Illegal operations:
69
const
LArDetectorFactory
&
operator=
(
const
LArDetectorFactory
&right);
70
LArDetectorFactory
(
const
LArDetectorFactory
&right);
71
72
// The manager:
73
LArDetectorManager
*
m_detectorManager
;
74
StoreGateSvc
*
m_detStore
;
75
const
LArHVManager
*
m_hvManager
;
76
bool
m_barrelSagging
;
77
int
m_barrelVisLimit
;
78
int
m_fcalVisLimit
;
79
80
bool
m_buildBarrel
;
81
bool
m_buildEndcap
;
82
83
int
m_testbeam
;
84
85
bool
m_fullGeo
;
// true->FULL, false->RECO
86
std::string
m_EMECVariantInner
;
87
std::string
m_EMECVariantOuter
;
88
89
bool
m_activateFT
;
90
bool
m_enableMBTS
;
91
92
std::unique_ptr<VDetectorParameters>
m_parameters
;
93
};
94
95
}
// namespace LArGeo
96
97
#endif
98
AthMessaging.h
LArDetectorManager.h
maxCell
#define maxCell
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
LArDetectorManager
Stored in storegate.
Definition
LArDetectorManager.h:26
LArGeo::LArDetectorFactory::m_buildBarrel
bool m_buildBarrel
Definition
LArDetectorFactory.h:80
LArGeo::LArDetectorFactory::m_buildEndcap
bool m_buildEndcap
Definition
LArDetectorFactory.h:81
LArGeo::LArDetectorFactory::m_detectorManager
LArDetectorManager * m_detectorManager
Definition
LArDetectorFactory.h:73
LArGeo::LArDetectorFactory::setBarrelSagging
void setBarrelSagging(bool flag)
Definition
LArDetectorFactory.h:53
LArGeo::LArDetectorFactory::m_fullGeo
bool m_fullGeo
Definition
LArDetectorFactory.h:85
LArGeo::LArDetectorFactory::setFCALVisLimit
void setFCALVisLimit(int maxCell)
Definition
LArDetectorFactory.h:55
LArGeo::LArDetectorFactory::setBuildBarrel
void setBuildBarrel(bool flag)
Definition
LArDetectorFactory.h:56
LArGeo::LArDetectorFactory::~LArDetectorFactory
virtual ~LArDetectorFactory()
LArGeo::LArDetectorFactory::m_fcalVisLimit
int m_fcalVisLimit
Definition
LArDetectorFactory.h:78
LArGeo::LArDetectorFactory::m_parameters
std::unique_ptr< VDetectorParameters > m_parameters
Definition
LArDetectorFactory.h:92
LArGeo::LArDetectorFactory::moveParameters
std::unique_ptr< LArGeo::VDetectorParameters > moveParameters()
Definition
LArDetectorFactory.cxx:311
LArGeo::LArDetectorFactory::LArDetectorFactory
LArDetectorFactory(StoreGateSvc *detStore, const LArHVManager *hvManager, int testbeam, bool fullGeo)
Definition
LArDetectorFactory.cxx:42
LArGeo::LArDetectorFactory::m_EMECVariantInner
std::string m_EMECVariantInner
Definition
LArDetectorFactory.h:86
LArGeo::LArDetectorFactory::m_activateFT
bool m_activateFT
Definition
LArDetectorFactory.h:89
LArGeo::LArDetectorFactory::m_barrelVisLimit
int m_barrelVisLimit
Definition
LArDetectorFactory.h:77
LArGeo::LArDetectorFactory::create
virtual void create(GeoPhysVol *world) override
Definition
LArDetectorFactory.cxx:67
LArGeo::LArDetectorFactory::LArDetectorFactory
LArDetectorFactory(const LArDetectorFactory &right)
LArGeo::LArDetectorFactory::m_hvManager
const LArHVManager * m_hvManager
Definition
LArDetectorFactory.h:75
LArGeo::LArDetectorFactory::m_detStore
StoreGateSvc * m_detStore
Definition
LArDetectorFactory.h:74
LArGeo::LArDetectorFactory::m_testbeam
int m_testbeam
Definition
LArDetectorFactory.h:83
LArGeo::LArDetectorFactory::operator=
const LArDetectorFactory & operator=(const LArDetectorFactory &right)
LArGeo::LArDetectorFactory::setEMECVariant
void setEMECVariant(const std::string &inner, const std::string &outer)
Definition
LArDetectorFactory.h:58
LArGeo::LArDetectorFactory::setActivateFT
void setActivateFT(bool flag)
Definition
LArDetectorFactory.h:63
LArGeo::LArDetectorFactory::setEnableMBTS
void setEnableMBTS(bool flag)
Definition
LArDetectorFactory.h:64
LArGeo::LArDetectorFactory::setBuildEndcap
void setBuildEndcap(bool flag)
Definition
LArDetectorFactory.h:57
LArGeo::LArDetectorFactory::m_barrelSagging
bool m_barrelSagging
Definition
LArDetectorFactory.h:76
LArGeo::LArDetectorFactory::setBarrelCellVisLimit
void setBarrelCellVisLimit(int maxCell)
Definition
LArDetectorFactory.h:54
LArGeo::LArDetectorFactory::getDetectorManager
virtual const LArDetectorManager * getDetectorManager() const override
Definition
LArDetectorFactory.cxx:306
LArGeo::LArDetectorFactory::m_enableMBTS
bool m_enableMBTS
Definition
LArDetectorFactory.h:90
LArGeo::LArDetectorFactory::m_EMECVariantOuter
std::string m_EMECVariantOuter
Definition
LArDetectorFactory.h:87
LArGeo::VDetectorParameters
Definition
VDetectorParameters.h:29
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
LArGeo
Definition
LArDetectorFactory.h:26
Generated on
for ATLAS Offline Software by
1.17.0