ATLAS Offline Software
BoxEnvelope.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4ATLASTOOLS_BoxEnvelope_H
6 #define G4ATLASTOOLS_BoxEnvelope_H
7 
8 // Base classes
11 
12 // Members
13 
14 // STL library
15 #include <string>
16 #include <vector>
17 #include <map>
18 
21 class BoxEnvelope final : public DetectorGeometryBase
22 {
23  public:
25  BoxEnvelope(const std::string& type, const std::string& name, const IInterface *parent);
26  ~BoxEnvelope() = default;
27 
30  virtual void BuildGeometry() override final;
31 
32  private:
33  Gaudi::Property<double> m_dX{this, "dX", 0., "Envelope dX"};
34  Gaudi::Property<double> m_dY{this, "dY", 0., "Envelope dY"};
35  Gaudi::Property<double> m_dZ{this, "dZ", 0., "Envelope dZ"};
36  Gaudi::Property<std::string> m_materialName{this, "Material", "Air", "Envelope Material"};
37  Gaudi::Property<unsigned int> m_numberOfHoles{this, "NumberOfHoles", 0, "Number of hole volumes to subtract from the initial envelope volume."};
38  Gaudi::Property<std::vector<std::string> > m_holeNames{this, "HoleNames", {} };
39  Gaudi::Property<std::vector<double> > m_hole_dX{this, "Hole_dX", {} };
40  Gaudi::Property<std::vector<double> > m_hole_dY{this, "Hole_dY", {} };
41  Gaudi::Property<std::vector<double> > m_hole_dZ{this, "Hole_dZ", {} };
42  Gaudi::Property<std::vector<double> > m_holePosX{this, "HolePosX", {} };
43  Gaudi::Property<std::vector<double> > m_holePosY{this, "HolePosY", {} };
44  Gaudi::Property<std::vector<double> > m_holePosZ{this, "HolePosZ", {} };
45 };
46 
47 #endif
BoxEnvelope::m_materialName
Gaudi::Property< std::string > m_materialName
Definition: BoxEnvelope.h:36
BoxEnvelope::m_dZ
Gaudi::Property< double > m_dZ
Definition: BoxEnvelope.h:35
BoxEnvelope::m_holeNames
Gaudi::Property< std::vector< std::string > > m_holeNames
Definition: BoxEnvelope.h:38
BoxEnvelope::~BoxEnvelope
~BoxEnvelope()=default
BoxEnvelope::m_dX
Gaudi::Property< double > m_dX
Definition: BoxEnvelope.h:33
BoxEnvelope
Definition: BoxEnvelope.h:22
BoxEnvelope::m_dY
Gaudi::Property< double > m_dY
Definition: BoxEnvelope.h:34
BoxEnvelope::m_hole_dX
Gaudi::Property< std::vector< double > > m_hole_dX
Definition: BoxEnvelope.h:39
BoxEnvelope::m_hole_dZ
Gaudi::Property< std::vector< double > > m_hole_dZ
Definition: BoxEnvelope.h:41
BoxEnvelope::m_holePosZ
Gaudi::Property< std::vector< double > > m_holePosZ
Definition: BoxEnvelope.h:44
Property
Support class for PropertyMgr.
Definition: Property.h:23
IDetectorGeometrySvc.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DetectorGeometryBase.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
BoxEnvelope::m_holePosY
Gaudi::Property< std::vector< double > > m_holePosY
Definition: BoxEnvelope.h:43
BoxEnvelope::BoxEnvelope
BoxEnvelope(const std::string &type, const std::string &name, const IInterface *parent)
Basic constructor and destructor.
Definition: BoxEnvelope.cxx:18
BoxEnvelope::m_holePosX
Gaudi::Property< std::vector< double > > m_holePosX
Definition: BoxEnvelope.h:42
BoxEnvelope::BuildGeometry
virtual void BuildGeometry() override final
virtual methods being implemented here
Definition: BoxEnvelope.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DetectorGeometryBase
Definition: DetectorGeometryBase.h:26
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
BoxEnvelope::m_numberOfHoles
Gaudi::Property< unsigned int > m_numberOfHoles
Definition: BoxEnvelope.h:37
BoxEnvelope::m_hole_dY
Gaudi::Property< std::vector< double > > m_hole_dY
Definition: BoxEnvelope.h:40