ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArGeoModel
LArGeoBarrel
LArGeoBarrel
BarrelConstruction.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
// BarrelConstruction
6
// Insert the LAr Barrel into a pre-defined mother volume.
7
// Author: Gaston Parrour translated to GeoModel by G.Unal
8
9
#ifndef LARGEOBARREL_BARRELCONSTRUCTION_H
10
#define LARGEOBARREL_BARRELCONSTRUCTION_H
11
12
#include "GeoModelKernel/GeoFullPhysVol.h"
13
#include "
AthenaBaseComps/AthMessaging.h
"
14
15
namespace
LArGeo
{
16
class
VDetectorParameters
;
17
}
18
19
namespace
LArGeo
{
20
21
class
BarrelConstruction
:
public
AthMessaging
22
{
23
public
:
24
25
// Constructor;
26
BarrelConstruction
(
bool
fullGeo,
const
VDetectorParameters
* params);
27
28
// Destructor:
29
virtual
~BarrelConstruction
();
30
31
// Get the envelope containing this detector.
32
GeoIntrusivePtr<GeoFullPhysVol>
GetPositiveEnvelope
();
33
GeoIntrusivePtr<GeoFullPhysVol>
GetNegativeEnvelope
();
34
35
// Set parameters for the barrel.
36
void
setBarrelSagging
(
bool
flag) {
m_A_SAGGING
= flag;}
37
void
setBarrelCellVisLimit
(
int
maxCell
) {
m_NVISLIM
=
maxCell
;}
38
39
void
printParams
();
40
41
private
:
42
43
void
MakeEnvelope
();
44
45
// It is illegal to copy a BarrelConstruction:
46
BarrelConstruction
(
const
BarrelConstruction
&);
47
48
// It is illegal to assign a BarrelConstruction:
49
BarrelConstruction
&
operator=
(
const
BarrelConstruction
&);
50
51
// Detector parameters ACCG, ACCA, ACMB, ACCO
52
const
LArGeo::VDetectorParameters
*
m_parameters
{};
53
54
bool
m_A_SAGGING
{};
55
int
m_NVISLIM
{-1};
56
57
// volumes that are private member variables:
58
GeoIntrusivePtr<GeoFullPhysVol>
m_ecamPhysicalPos
{};
59
GeoIntrusivePtr<GeoFullPhysVol>
m_ecamPhysicalNeg
{};
60
61
bool
m_fullGeo
{};
// true->FULL, false->RECO
62
};
63
64
65
66
}
// namespace LArGeo
67
68
#endif
// LARGEOBARREL_BARRELCONSTRUCTION_H
AthMessaging.h
maxCell
#define maxCell
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
LArGeo::BarrelConstruction::m_ecamPhysicalNeg
GeoIntrusivePtr< GeoFullPhysVol > m_ecamPhysicalNeg
Definition
BarrelConstruction.h:59
LArGeo::BarrelConstruction::MakeEnvelope
void MakeEnvelope()
Definition
BarrelConstruction.cxx:129
LArGeo::BarrelConstruction::BarrelConstruction
BarrelConstruction(const BarrelConstruction &)
LArGeo::BarrelConstruction::m_A_SAGGING
bool m_A_SAGGING
Definition
BarrelConstruction.h:54
LArGeo::BarrelConstruction::~BarrelConstruction
virtual ~BarrelConstruction()
LArGeo::BarrelConstruction::printParams
void printParams()
Definition
BarrelConstruction.cxx:1978
LArGeo::BarrelConstruction::setBarrelSagging
void setBarrelSagging(bool flag)
Definition
BarrelConstruction.h:36
LArGeo::BarrelConstruction::m_NVISLIM
int m_NVISLIM
Definition
BarrelConstruction.h:55
LArGeo::BarrelConstruction::m_ecamPhysicalPos
GeoIntrusivePtr< GeoFullPhysVol > m_ecamPhysicalPos
Definition
BarrelConstruction.h:58
LArGeo::BarrelConstruction::GetPositiveEnvelope
GeoIntrusivePtr< GeoFullPhysVol > GetPositiveEnvelope()
Definition
BarrelConstruction.cxx:119
LArGeo::BarrelConstruction::setBarrelCellVisLimit
void setBarrelCellVisLimit(int maxCell)
Definition
BarrelConstruction.h:37
LArGeo::BarrelConstruction::BarrelConstruction
BarrelConstruction(bool fullGeo, const VDetectorParameters *params)
Definition
BarrelConstruction.cxx:104
LArGeo::BarrelConstruction::m_fullGeo
bool m_fullGeo
Definition
BarrelConstruction.h:61
LArGeo::BarrelConstruction::GetNegativeEnvelope
GeoIntrusivePtr< GeoFullPhysVol > GetNegativeEnvelope()
Definition
BarrelConstruction.cxx:124
LArGeo::BarrelConstruction::operator=
BarrelConstruction & operator=(const BarrelConstruction &)
LArGeo::BarrelConstruction::m_parameters
const LArGeo::VDetectorParameters * m_parameters
Definition
BarrelConstruction.h:52
LArGeo::VDetectorParameters
Definition
VDetectorParameters.h:29
LArGeo
Definition
LArDetectorFactory.h:26
Generated on
for ATLAS Offline Software by
1.17.0