Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
src
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
{
14
public
:
15
PseudoTrap
(
double
x1
,
double
x2
,
double
y1,
double
y2,
double
z,
double
radius
,
bool
minusZ)
16
:
Solid
(
DDSolidShape
::
ddpseudotrap
)
17
{
18
p_
.emplace_back(x1);
19
p_
.emplace_back(x2);
20
p_
.emplace_back(y1);
21
p_
.emplace_back(y2);
22
p_
.emplace_back(z);
23
p_
.emplace_back(radius);
24
p_
.emplace_back(minusZ);
25
}
26
27
~PseudoTrap
()
override
{ }
28
29
double
volume
()
const override
{
return
-1; }
30
31
void
stream
(std::ostream & os)
const override
;
32
};
33
34
}
35
36
#endif // DDI_PseudoTrap_h
DDI::PseudoTrap
Definition:
PseudoTrap.h:12
DDI::PseudoTrap::volume
double volume() const override
Definition:
PseudoTrap.h:29
DDSolidShape
DDSolidShape
Definition:
DDSolidShapes.h:4
DDI::PseudoTrap::stream
void stream(std::ostream &os) const override
Definition:
PseudoTrap.cc:6
DDSolidShape::ddpseudotrap
DDSolidShapes.h
Solid.h
globals_cff.x1
x1
Definition:
globals_cff.py:28
TCMET_cfi.radius
radius
Definition:
TCMET_cfi.py:32
globals_cff.x2
x2
Definition:
globals_cff.py:29
DDI::PseudoTrap::PseudoTrap
PseudoTrap(double x1, double x2, double y1, double y2, double z, double radius, bool minusZ)
Definition:
PseudoTrap.h:15
DDI::PseudoTrap::~PseudoTrap
~PseudoTrap() override
Definition:
PseudoTrap.h:27
DDI
Definition:
DDCompactView.h:24
DDI::Solid
Definition:
Solid.h:10
DDI::Solid::p_
std::vector< double > p_
Definition:
Solid.h:32
Generated for CMSSW Reference Manual by
1.8.11