ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDIbeam.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 AGDDIbeam_H
6#define AGDDIbeam_H
7
9#include <string>
10#include <vector>
11#include <iostream>
12
13class AGDDIbeam: public AGDDVolume {
14public:
15 AGDDIbeam(const std::string& s,
18 : AGDDVolume(s,vs,ss),m_width(0),m_smallWidth(0),m_height(0),
19 m_smallHeight(0),m_z(0) {}
20 virtual void CreateVolume (AGDDBuilder& builder) override;
21 virtual void CreateSolid (const AGDDBuilder& builder) override;
22
23 void SetWidth(double l) {m_width=l;}
24 void SetSmallWidth(double l) {m_smallWidth=l;}
25 void SetHeigth(double l) {m_height=l;}
26 void SetSmallHeigth(double l) {m_smallHeight=l;}
27 void SetLength(double l) {m_z=l;}
28
29 double GetWidth() const {return m_width;}
30 double GetSmallWidth() const {return m_smallWidth;}
31 double GetHeigth() const {return m_height;}
32 double GetSmallHeigth() const {return m_smallHeight;}
33 double GetLength() const {return m_z;}
34
35 double m_width;
37 double m_height;
39 double m_z;
40};
41
42#endif
static Double_t ss
double GetSmallHeigth() const
Definition AGDDIbeam.h:32
void SetSmallWidth(double l)
Definition AGDDIbeam.h:24
double GetSmallWidth() const
Definition AGDDIbeam.h:30
void SetHeigth(double l)
Definition AGDDIbeam.h:25
double m_smallWidth
Definition AGDDIbeam.h:36
double GetWidth() const
Definition AGDDIbeam.h:29
double m_smallHeight
Definition AGDDIbeam.h:38
double m_height
Definition AGDDIbeam.h:37
double GetLength() const
Definition AGDDIbeam.h:33
void SetWidth(double l)
Definition AGDDIbeam.h:23
double m_z
Definition AGDDIbeam.h:39
AGDDIbeam(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition AGDDIbeam.h:15
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition AGDDIBeam.cxx:9
double m_width
Definition AGDDIbeam.h:35
void SetLength(double l)
Definition AGDDIbeam.h:27
double GetHeigth() const
Definition AGDDIbeam.h:31
void SetSmallHeigth(double l)
Definition AGDDIbeam.h:26
virtual void CreateVolume(AGDDBuilder &builder) override
Definition AGDDIBeam.cxx:14
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)