ATLAS Offline Software
AGDDBolt.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AGDDBolt_H
6 #define AGDDBolt_H
7 
9 #include <string>
10 #include <vector>
11 #include <iostream>
12 
13 class AGDDBolt: public AGDDVolume {
14 public:
15  AGDDBolt(const std::string& s,
16  AGDDVolumeStore& vs,
18  : AGDDVolume(s,vs,ss),m_length(0),m_headLength(0),
19  m_diameter(0),m_headDiameter(0) {}
20  ~AGDDBolt() {}
21  virtual void CreateVolume (AGDDBuilder& builder) override;
22  virtual void CreateSolid (const AGDDBuilder& builder) override;
23 
24  void SetHeadLength(double l) {m_headLength=l;}
25  void SetLength(double l) {m_length=l;}
27  void SetDiameter(double l) {m_diameter=l;}
28 
29  double GetHeadLength() const {return m_headLength;}
30  double GetLength() const {return m_length;}
31  double GetHeadDiameter() const {return m_headDiameter;}
32  double GetDiameter() const {return m_diameter;}
33 
34  double m_length;
35  double m_headLength;
36  double m_diameter;
38 };
39 
40 #endif
AGDDBolt::GetLength
double GetLength() const
Definition: AGDDBolt.h:30
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
AGDDBolt::m_diameter
double m_diameter
Definition: AGDDBolt.h:36
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDBolt::GetDiameter
double GetDiameter() const
Definition: AGDDBolt.h:32
AGDDBolt::GetHeadLength
double GetHeadLength() const
Definition: AGDDBolt.h:29
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
AGDDBolt
Definition: AGDDBolt.h:13
AGDDBolt::m_headLength
double m_headLength
Definition: AGDDBolt.h:35
AGDDSectionStore
Definition: AGDDSectionStore.h:15
AGDDBolt::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDBolt.cxx:9
AGDDBuilder
Definition: AGDDBuilder.h:31
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
AGDDBolt::~AGDDBolt
~AGDDBolt()
Definition: AGDDBolt.h:20
AGDDBolt::SetLength
void SetLength(double l)
Definition: AGDDBolt.h:25
AGDDBolt::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition: AGDDBolt.cxx:14
AGDDBolt::GetHeadDiameter
double GetHeadDiameter() const
Definition: AGDDBolt.h:31
AGDDBolt::SetDiameter
void SetDiameter(double l)
Definition: AGDDBolt.h:27
AGDDBolt::AGDDBolt
AGDDBolt(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition: AGDDBolt.h:15
AGDDVolume
Definition: AGDDVolume.h:16
AGDDVolume.h
AGDDBolt::SetHeadDiameter
void SetHeadDiameter(double l)
Definition: AGDDBolt.h:26
AGDDBolt::SetHeadLength
void SetHeadLength(double l)
Definition: AGDDBolt.h:24
AGDDBolt::m_headDiameter
double m_headDiameter
Definition: AGDDBolt.h:37
AGDDBolt::m_length
double m_length
Definition: AGDDBolt.h:34