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