ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDMMSpacer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AGDDMMSpacer_H
6#define AGDDMMSpacer_H
7
11#include <string>
12#include <vector>
13#include <iostream>
14
15class GeoMaterial;
16class AGDDVolumeStore;
18
19class AGDDMMSpacer: public AGDDVolume {
20public:
21 AGDDMMSpacer(const std::string& s,
24 : AGDDVolume(s,vs,ss),m_small_x(0),m_large_x(0),m_y(0),m_z(0) {}
25 void SetXYZ(const std::vector<double>& v)
26 {
27 m_small_x=v[0];
28 m_large_x=v[1];
29 m_y=v[2];
30 m_z=v[3];
31 }
32 void small_x(double x) {m_small_x=x;}
33 void large_x(double x) {m_large_x=x;}
34 void y(double yval) {m_y=yval;}
35 void z(double zval) {m_z=zval;}
36 double small_x() const {return m_small_x;}
37 double large_x() const {return m_large_x;}
38 double y() const {return m_y;}
39 double z() const {return m_z;}
40 std::string tech;
41 virtual void CreateVolume (AGDDBuilder& builder) override;
42 virtual void CreateSolid (const AGDDBuilder& builder) override;
43private:
44 double m_small_x;
45 double m_large_x;
46 double m_y;
47 double m_z;
48};
49
50#endif
static Double_t ss
#define x
double z() const
void small_x(double x)
double large_x() const
std::string tech
double m_small_x
AGDDMMSpacer(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
double small_x() const
virtual void CreateVolume(AGDDBuilder &builder) override
virtual void CreateSolid(const AGDDBuilder &builder) override
void y(double yval)
void z(double zval)
double m_large_x
void SetXYZ(const std::vector< double > &v)
void large_x(double x)
double y() const
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)