ATLAS Offline Software
DetectorDescription
AGDD
AGDDModel
AGDDModel
AGDDPcon.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 AGDDPcon_H
6
#define AGDDPcon_H
7
8
#include "
AGDDKernel/AGDDVolume.h
"
9
#include <string>
10
#include <vector>
11
#include <iostream>
12
13
class
AGDDPcon
:
public
AGDDVolume
{
14
public
:
15
AGDDPcon
(
const
std::string&
s
,
16
AGDDVolumeStore
& vs,
17
AGDDSectionStore
&
ss
)
18
:
AGDDVolume
(
s
,vs,
ss
),
m_phi0
(0),
m_dphi
(0) {}
19
void
SetPlane
(
double
ri,
double
ro,
double
z
)
20
{
21
m_rin
.push_back(ri);
22
m_rou
.push_back(ro);
23
m_z
.push_back(
z
);
24
}
25
void
SetProfile
(
double
phi0
,
double
dphi) {
m_phi0
=
phi0
;
m_dphi
=dphi;}
26
int
NrOfPlanes
()
const
{
return
m_rin
.size();}
27
double
Rin
(
int
i
)
const
{
return
m_rin
[
i
];}
28
double
Rout
(
int
i
)
const
{
return
m_rou
[
i
];}
29
double
Z
(
int
i
)
const
{
return
m_z
[
i
];}
30
double
Phi0
()
const
{
return
m_phi0
;}
31
double
Dphi
()
const
{
return
m_dphi
;}
32
virtual
void
CreateVolume
(
AGDDBuilder
&
builder
)
override
;
33
virtual
void
CreateSolid
(
const
AGDDBuilder
&
builder
)
override
;
34
std::vector<double>
m_rin
;
35
std::vector<double>
m_rou
;
36
std::vector<double>
m_z
;
37
38
double
m_phi0
;
39
double
m_dphi
;
40
};
41
42
#endif
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
AGDDPcon::m_rou
std::vector< double > m_rou
Definition:
AGDDPcon.h:35
PowhegControl_ttHplus_NLO.ss
ss
Definition:
PowhegControl_ttHplus_NLO.py:83
AGDDPcon::Rin
double Rin(int i) const
Definition:
AGDDPcon.h:27
AGDDVolumeStore
Definition:
AGDDVolumeStore.h:15
InDetAccessor::phi0
@ phi0
Definition:
InDetAccessor.h:33
AGDDPcon::Z
double Z(int i) const
Definition:
AGDDPcon.h:29
AGDDPcon::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition:
AGDDPcon.cxx:9
AGDDPcon::m_z
std::vector< double > m_z
Definition:
AGDDPcon.h:36
AGDDPcon::AGDDPcon
AGDDPcon(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition:
AGDDPcon.h:15
AGDDSectionStore
Definition:
AGDDSectionStore.h:15
AGDDBuilder
Definition:
AGDDBuilder.h:31
lumiFormat.i
int i
Definition:
lumiFormat.py:85
z
#define z
createSimpleDistributions.builder
builder
Definition:
createSimpleDistributions.py:52
AGDDPcon::m_rin
std::vector< double > m_rin
Definition:
AGDDPcon.h:34
AGDDPcon::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition:
AGDDPcon.cxx:14
AGDDPcon::SetProfile
void SetProfile(double phi0, double dphi)
Definition:
AGDDPcon.h:25
AGDDPcon::m_phi0
double m_phi0
Definition:
AGDDPcon.h:38
AGDDPcon::Rout
double Rout(int i) const
Definition:
AGDDPcon.h:28
AGDDPcon::SetPlane
void SetPlane(double ri, double ro, double z)
Definition:
AGDDPcon.h:19
AGDDPcon::NrOfPlanes
int NrOfPlanes() const
Definition:
AGDDPcon.h:26
AGDDPcon::m_dphi
double m_dphi
Definition:
AGDDPcon.h:39
AGDDPcon::Dphi
double Dphi() const
Definition:
AGDDPcon.h:31
AGDDVolume
Definition:
AGDDVolume.h:16
AGDDVolume.h
AGDDPcon::Phi0
double Phi0() const
Definition:
AGDDPcon.h:30
AGDDPcon
Definition:
AGDDPcon.h:13
Generated on Thu Nov 7 2024 21:09:42 for ATLAS Offline Software by
1.8.18