ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDModel
AGDDModel
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
8
#include "
AGDDKernel/AGDDVolume.h
"
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,
18
AGDDSectionStore
&
ss
)
19
:
AGDDVolume
(s,vs,
ss
),
m_dz
(0) {}
20
void
SetDz
(
double
v)
21
{
22
m_dz
=v;
23
}
24
void
SetPoint
(
TwoPoint
p)
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
AGDDVolume.h
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
TwoPoint.h
AGDDBuilder
Definition
AGDDBuilder.h:31
AGDDGvxy::m_points
std::vector< TwoPoint > m_points
Definition
AGDDGvxy.h:36
AGDDGvxy::GetDz
double GetDz() const
Definition
AGDDGvxy.h:31
AGDDGvxy::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition
AGDDGvxy.cxx:15
AGDDGvxy::SetPoint
void SetPoint(TwoPoint p)
Definition
AGDDGvxy.h:24
AGDDGvxy::m_dz
double m_dz
Definition
AGDDGvxy.h:35
AGDDGvxy::GetPoint
TwoPoint GetPoint(int i) const
Definition
AGDDGvxy.h:30
AGDDGvxy::SetDz
void SetDz(double v)
Definition
AGDDGvxy.h:20
AGDDGvxy::AGDDGvxy
AGDDGvxy(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition
AGDDGvxy.h:16
AGDDGvxy::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition
AGDDGvxy.cxx:9
AGDDGvxy::NrOfPoints
int NrOfPoints() const
Definition
AGDDGvxy.h:29
AGDDSectionStore
Definition
AGDDSectionStore.h:15
AGDDVolumeStore
Definition
AGDDVolumeStore.h:15
AGDDVolume::AGDDVolume
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
Definition
AGDDVolume.cxx:10
TwoPoint
Definition
TwoPoint.h:8
Generated on
for ATLAS Offline Software by
1.17.0