ATLAS Offline Software
LArCalorimeter
LArGeoModel
LArGeoTBEC
src
LArDetectorFactoryTBEC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARGEOTBEC_LARDETECTORFACTORYTBEC_H
6
#define LARGEOTBEC_LARDETECTORFACTORYTBEC_H
7
8
#include "GeoModelKernel/GeoVDetectorFactory.h"
9
#include "
LArReadoutGeometry/LArDetectorManager.h
"
10
11
namespace
LArGeo
{
12
13
class
LArDetectorFactoryTBEC
:
public
GeoVDetectorFactory
14
{
15
16
public
:
17
18
// Constructor:
19
LArDetectorFactoryTBEC
() =
default
;
20
21
// Destructor:
22
virtual
~LArDetectorFactoryTBEC
() =
default
;
23
24
// Illegal operations:
25
const
LArDetectorFactoryTBEC
&
operator=
(
const
LArDetectorFactoryTBEC
&right) =
delete
;
26
LArDetectorFactoryTBEC
(
const
LArDetectorFactoryTBEC
&right) =
delete
;
27
28
// Creation of geometry:
29
virtual
void
create
(GeoPhysVol* world)
override
;
30
31
// Access to the results:
32
virtual
const
LArDetectorManager
*
getDetectorManager
()
const override
;
33
34
// Set parameters:
35
void
setECVisLimit
(
int
maxCell
) {
m_ecVisLimit
=
maxCell
;}
36
37
private
:
38
39
// The manager:
40
LArDetectorManager
*
m_detectorManager
{
nullptr
};
41
int
m_ecVisLimit
{-1};
42
43
};
44
45
}
// namespace LArGeo
46
47
#endif
48
LArGeo::LArDetectorFactoryTBEC::LArDetectorFactoryTBEC
LArDetectorFactoryTBEC()=default
LArGeo
Definition:
LArDetectorFactory.h:26
LArGeo::LArDetectorFactoryTBEC::LArDetectorFactoryTBEC
LArDetectorFactoryTBEC(const LArDetectorFactoryTBEC &right)=delete
LArGeo::LArDetectorFactoryTBEC::m_ecVisLimit
int m_ecVisLimit
Definition:
LArDetectorFactoryTBEC.h:41
LArGeo::LArDetectorFactoryTBEC::getDetectorManager
virtual const LArDetectorManager * getDetectorManager() const override
Definition:
LArDetectorFactoryTBEC.cxx:183
LArGeo::LArDetectorFactoryTBEC
Definition:
LArDetectorFactoryTBEC.h:14
LArGeo::LArDetectorFactoryTBEC::m_detectorManager
LArDetectorManager * m_detectorManager
Definition:
LArDetectorFactoryTBEC.h:40
LArGeo::LArDetectorFactoryTBEC::create
virtual void create(GeoPhysVol *world) override
Definition:
LArDetectorFactoryTBEC.cxx:40
LArDetectorManager
Stored in storegate. Provides access to EMB, EMEC, HEC and FCAL Detector Managers....
Definition:
LArDetectorManager.h:26
LArDetectorManager.h
LArGeo::LArDetectorFactoryTBEC::~LArDetectorFactoryTBEC
virtual ~LArDetectorFactoryTBEC()=default
LArGeo::LArDetectorFactoryTBEC::setECVisLimit
void setECVisLimit(int maxCell)
Definition:
LArDetectorFactoryTBEC.h:35
maxCell
#define maxCell
LArGeo::LArDetectorFactoryTBEC::operator=
const LArDetectorFactoryTBEC & operator=(const LArDetectorFactoryTBEC &right)=delete
Generated on Thu Nov 7 2024 21:19:30 for ATLAS Offline Software by
1.8.18