ATLAS Offline Software
AGDDCons.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 AGDDCons_H
6 #define AGDDCons_H
7 
9 #include <string>
10 #include <vector>
11 #include <iostream>
12 
13 class AGDDCons: public AGDDVolume {
14 public:
15  AGDDCons(const std::string& s,
16  AGDDVolumeStore& vs,
18  : AGDDVolume(s,vs,ss),
19  m_rin1(0),m_rin2(0),m_rou1(0),m_rou2(0),
20  m_z(0),m_phi0(0),m_dphi(0) {}
21  ~AGDDCons() {}
22  void SetRio_Z(const std::vector<double>& v)
23  {
24  m_rin2=v[0];
25  m_rou2=v[1];
26  m_rin1=v[2];
27  m_rou1=v[3];
28  m_z=v[4];
29  }
30  void SetProfile(double p0,double dp) {m_phi0=p0;m_dphi=dp;}
31  double rin1() const {return m_rin1;}
32  double rin2() const {return m_rin2;}
33  double rou1() const {return m_rou1;}
34  double rou2() const {return m_rou2;}
35  double phi0() const {return m_phi0;}
36  double dphi() const {return m_dphi;}
37  double z() const {return m_z;}
38  virtual void CreateVolume (AGDDBuilder& builder) override;
39  virtual void CreateSolid (const AGDDBuilder& builder) override;
40  double m_rin1;
41  double m_rin2;
42  double m_rou1;
43  double m_rou2;
44  double m_z;
45  double m_phi0;
46  double m_dphi;
47 };
48 
49 #endif
TileDCSDataPlotter.dp
dp
Definition: TileDCSDataPlotter.py:840
AGDDCons::phi0
double phi0() const
Definition: AGDDCons.h:35
AGDDCons::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition: AGDDCons.cxx:13
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
AGDDCons::m_phi0
double m_phi0
Definition: AGDDCons.h:45
AGDDCons::~AGDDCons
~AGDDCons()
Definition: AGDDCons.h:21
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDCons::m_rin1
double m_rin1
Definition: AGDDCons.h:40
AGDDCons::m_dphi
double m_dphi
Definition: AGDDCons.h:46
AGDDCons::rin2
double rin2() const
Definition: AGDDCons.h:32
AGDDCons::AGDDCons
AGDDCons(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition: AGDDCons.h:15
AGDDCons::m_rin2
double m_rin2
Definition: AGDDCons.h:41
AGDDCons::SetProfile
void SetProfile(double p0, double dp)
Definition: AGDDCons.h:30
AGDDSectionStore
Definition: AGDDSectionStore.h:15
AGDDCons::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDCons.cxx:9
AGDDCons::z
double z() const
Definition: AGDDCons.h:37
AGDDCons::rou1
double rou1() const
Definition: AGDDCons.h:33
AGDDBuilder
Definition: AGDDBuilder.h:31
AGDDCons::SetRio_Z
void SetRio_Z(const std::vector< double > &v)
Definition: AGDDCons.h:22
AGDDCons
Definition: AGDDCons.h:13
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
AGDDCons::m_z
double m_z
Definition: AGDDCons.h:44
AGDDCons::dphi
double dphi() const
Definition: AGDDCons.h:36
AGDDCons::rin1
double rin1() const
Definition: AGDDCons.h:31
AGDDCons::rou2
double rou2() const
Definition: AGDDCons.h:34
python.PyAthena.v
v
Definition: PyAthena.py:154
AGDDVolume
Definition: AGDDVolume.h:16
AGDDVolume.h
AGDDCons::m_rou1
double m_rou1
Definition: AGDDCons.h:42
AGDDCons::m_rou2
double m_rou2
Definition: AGDDCons.h:43
TRTCalib_cfilter.p0
p0
Definition: TRTCalib_cfilter.py:129