src
DetectorDescription
Core
interface
PseudoTrap.h
Go to the documentation of this file.
1
#ifndef DDI_PseudoTrap_h
2
#define DDI_PseudoTrap_h
3
4
#include <iostream>
5
#include <vector>
6
7
#include "
DetectorDescription/Core/interface/DDSolidShapes.h
"
8
#include "
Solid.h
"
9
10
namespace
DDI
{
11
12
class
PseudoTrap
:
public
Solid
{
13
public
:
14
PseudoTrap
(
double
x1,
double
x2,
double
y1
,
double
y2
,
double
z,
double
radius
,
bool
minusZ)
15
:
Solid
(
DDSolidShape
::
ddpseudotrap
) {
16
p_
.emplace_back(x1);
17
p_
.emplace_back(x2);
18
p_
.emplace_back(
y1
);
19
p_
.emplace_back(
y2
);
20
p_
.emplace_back(z);
21
p_
.emplace_back(
radius
);
22
p_
.emplace_back(minusZ);
23
}
24
25
~PseudoTrap
()
override
{}
26
27
double
volume
()
const override
{
return
-1; }
28
29
void
stream
(std::ostream& os)
const override
;
30
};
31
32
}
// namespace DDI
33
34
#endif // DDI_PseudoTrap_h
DDI::PseudoTrap
Definition:
PseudoTrap.h:12
DDSolidShape::ddpseudotrap
testProducerWithPsetDescEmpty_cfi.y2
y2
Definition:
testProducerWithPsetDescEmpty_cfi.py:30
CosmicsPD_Skims.radius
radius
Definition:
CosmicsPD_Skims.py:135
DDSolidShapes.h
Solid.h
DDI::PseudoTrap::volume
double volume() const override
Definition:
PseudoTrap.h:27
DDI::PseudoTrap::stream
void stream(std::ostream &os) const override
Definition:
PseudoTrap.cc:6
DDI::PseudoTrap::PseudoTrap
PseudoTrap(double x1, double x2, double y1, double y2, double z, double radius, bool minusZ)
Definition:
PseudoTrap.h:14
DDI::PseudoTrap::~PseudoTrap
~PseudoTrap() override
Definition:
PseudoTrap.h:25
DDI
Definition:
Assembly.h:7
DDSolidShape
DDSolidShape
Definition:
DDSolidShapes.h:6
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition:
testProducerWithPsetDescEmpty_cfi.py:29
DDI::Solid
Definition:
Solid.h:10
DDI::Solid::p_
std::vector< double > p_
Definition:
Solid.h:30
Generated for CMSSW Reference Manual by
1.8.14