ATLAS Offline Software
AGDDGvxy.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 AGDDGvxy_H
6 #define AGDDGvxy_H
7 
9 #include "AGDDKernel/TwoPoint.h"
10 #include <string>
11 #include <vector>
12 #include <iostream>
13 
14 class AGDDGvxy: public AGDDVolume {
15 public:
16  AGDDGvxy(const std::string& s,
17  AGDDVolumeStore& vs,
19  : AGDDVolume(s,vs,ss),m_dz(0) {}
20  void SetDz(double v)
21  {
22  m_dz=v;
23  }
25  {
26 // std::cout<<" GVXY setting point "<<p.x()<<" "<<p.y()<<std::endl;
27  m_points.push_back(p);
28  }
29  int NrOfPoints() const {return m_points.size();}
30  TwoPoint GetPoint(int i) const {return m_points[i];}
31  double GetDz() const {return m_dz;}
32  virtual void CreateVolume (AGDDBuilder& builder) override;
33  virtual void CreateSolid (const AGDDBuilder& builder) override;
34 private:
35  double m_dz;
36  std::vector<TwoPoint> m_points;
37 };
38 
39 #endif
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDGvxy::AGDDGvxy
AGDDGvxy(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition: AGDDGvxy.h:16
AGDDGvxy::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition: AGDDGvxy.cxx:15
AGDDGvxy::GetDz
double GetDz() const
Definition: AGDDGvxy.h:31
TwoPoint
Definition: TwoPoint.h:8
AGDDGvxy::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDGvxy.cxx:9
AGDDGvxy::m_points
std::vector< TwoPoint > m_points
Definition: AGDDGvxy.h:36
AGDDSectionStore
Definition: AGDDSectionStore.h:15
AGDDBuilder
Definition: AGDDBuilder.h:31
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TwoPoint.h
AGDDGvxy
Definition: AGDDGvxy.h:14
lumiFormat.i
int i
Definition: lumiFormat.py:85
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
AGDDGvxy::GetPoint
TwoPoint GetPoint(int i) const
Definition: AGDDGvxy.h:30
AGDDGvxy::NrOfPoints
int NrOfPoints() const
Definition: AGDDGvxy.h:29
AGDDGvxy::SetDz
void SetDz(double v)
Definition: AGDDGvxy.h:20
AGDDGvxy::m_dz
double m_dz
Definition: AGDDGvxy.h:35
python.PyAthena.v
v
Definition: PyAthena.py:154
AGDDGvxy::SetPoint
void SetPoint(TwoPoint p)
Definition: AGDDGvxy.h:24
AGDDVolume
Definition: AGDDVolume.h:16
AGDDVolume.h