ATLAS Offline Software
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 
14 
15 namespace LArGeo{
16  class VDetectorParameters;
17 }
18 
19 namespace LArGeo {
20 
22  {
23  public:
24 
25  // Constructor;
26  BarrelConstruction(bool fullGeo, const VDetectorParameters* params);
27 
28  // Destructor:
30 
31  // Get the envelope containing this detector.
32  GeoIntrusivePtr<GeoFullPhysVol> GetPositiveEnvelope();
33  GeoIntrusivePtr<GeoFullPhysVol> GetNegativeEnvelope();
34 
35  // Set parameters for the barrel.
38 
39  void printParams();
40 
41  private:
42 
43  void MakeEnvelope();
44 
45  // It is illegal to copy a BarrelConstruction:
47 
48  // It is illegal to assign a BarrelConstruction:
50 
51  // Detector parameters ACCG, ACCA, ACMB, ACCO
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
LArGeo::BarrelConstruction::GetNegativeEnvelope
GeoIntrusivePtr< GeoFullPhysVol > GetNegativeEnvelope()
Definition: BarrelConstruction.cxx:126
LArGeo::VDetectorParameters
Definition: VDetectorParameters.h:29
LArGeo
Definition: LArDetectorFactory.h:25
LArGeo::BarrelConstruction::m_parameters
const LArGeo::VDetectorParameters * m_parameters
Definition: BarrelConstruction.h:52
LArGeo::BarrelConstruction::BarrelConstruction
BarrelConstruction(bool fullGeo, const VDetectorParameters *params)
Definition: BarrelConstruction.cxx:107
LArGeo::BarrelConstruction::BarrelConstruction
BarrelConstruction(const BarrelConstruction &)
LArGeo::BarrelConstruction::GetPositiveEnvelope
GeoIntrusivePtr< GeoFullPhysVol > GetPositiveEnvelope()
Definition: BarrelConstruction.cxx:121
LArGeo::BarrelConstruction::m_NVISLIM
int m_NVISLIM
Definition: BarrelConstruction.h:55
LArGeo::BarrelConstruction::m_A_SAGGING
bool m_A_SAGGING
Definition: BarrelConstruction.h:54
LArGeo::BarrelConstruction::operator=
BarrelConstruction & operator=(const BarrelConstruction &)
master.flag
bool flag
Definition: master.py:29
LArGeo::BarrelConstruction::m_ecamPhysicalPos
GeoIntrusivePtr< GeoFullPhysVol > m_ecamPhysicalPos
Definition: BarrelConstruction.h:58
LArGeo::BarrelConstruction::m_ecamPhysicalNeg
GeoIntrusivePtr< GeoFullPhysVol > m_ecamPhysicalNeg
Definition: BarrelConstruction.h:59
LArGeo::BarrelConstruction
Definition: BarrelConstruction.h:22
LArGeo::BarrelConstruction::setBarrelSagging
void setBarrelSagging(bool flag)
Definition: BarrelConstruction.h:36
LArGeo::BarrelConstruction::printParams
void printParams()
Definition: BarrelConstruction.cxx:1996
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
LArGeo::BarrelConstruction::m_fullGeo
bool m_fullGeo
Definition: BarrelConstruction.h:61
LArGeo::BarrelConstruction::MakeEnvelope
void MakeEnvelope()
Definition: BarrelConstruction.cxx:131
LArGeo::BarrelConstruction::~BarrelConstruction
virtual ~BarrelConstruction()
maxCell
#define maxCell
LArGeo::BarrelConstruction::setBarrelCellVisLimit
void setBarrelCellVisLimit(int maxCell)
Definition: BarrelConstruction.h:37