ATLAS Offline Software
AGDDTrd.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 AGDDTrd_H
6 #define AGDDTrd_H
7 
9 #include <string>
10 #include <vector>
11 #include <iostream>
12 
13 class AGDDTrd: public AGDDVolume {
14 public:
15  AGDDTrd(const std::string& s,
16  AGDDVolumeStore& vs,
18  : AGDDVolume(s,vs,ss),m_x1(0),m_x2(0),m_y1(0),m_y2(0),m_z(0) {}
19  void SetXYZ(const std::vector<double>& v)
20  {
21  m_x1=v[0];
22  m_x2=v[1];
23  m_y1=v[2];
24  m_y2=v[3];
25  m_z=v[4];
26  }
27  double x1() const {return m_x1;}
28  double x2() const {return m_x2;}
29  double y1() const {return m_y1;}
30  double y2() const {return m_y2;}
31  double z() const {return m_z;}
32  virtual void CreateVolume (AGDDBuilder& builder) override;
33  virtual void CreateSolid (const AGDDBuilder& builder) override;
34  double m_x1;
35  double m_x2;
36  double m_y1;
37  double m_y2;
38  double m_z;
39 };
40 
41 #endif
AGDDTrd::m_y2
double m_y2
Definition: AGDDTrd.h:37
AGDDTrd::y2
double y2() const
Definition: AGDDTrd.h:30
AGDDTrd::y1
double y1() const
Definition: AGDDTrd.h:29
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
AGDDTrd::m_x1
double m_x1
Definition: AGDDTrd.h:34
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDTrd::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition: AGDDTrd.cxx:14
AGDDTrd::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDTrd.cxx:9
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDSectionStore
Definition: AGDDSectionStore.h:15
AGDDBuilder
Definition: AGDDBuilder.h:31
AGDDTrd::m_y1
double m_y1
Definition: AGDDTrd.h:36
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
AGDDTrd::m_x2
double m_x2
Definition: AGDDTrd.h:35
AGDDTrd::m_z
double m_z
Definition: AGDDTrd.h:38
python.PyAthena.v
v
Definition: PyAthena.py:154
AGDDTrd::SetXYZ
void SetXYZ(const std::vector< double > &v)
Definition: AGDDTrd.h:19
AGDDTrd::z
double z() const
Definition: AGDDTrd.h:31
AGDDTrd::AGDDTrd
AGDDTrd(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition: AGDDTrd.h:15
AGDDVolume
Definition: AGDDVolume.h:16
AGDDVolume.h
AGDDTrd::x1
double x1() const
Definition: AGDDTrd.h:27
AGDDTrd
Definition: AGDDTrd.h:13
AGDDTrd::x2
double x2() const
Definition: AGDDTrd.h:28