Main Page
Namespaces
Classes
Package Documentation
src
DetectorDescription
Core
src
Trap.h
Go to the documentation of this file.
1
#ifndef DDI_Trap_h
2
#define DDI_Trap_h
3
4
#include <iostream>
5
#include "
Solid.h
"
6
7
namespace
DDI
{
8
9
class
Trap
:
public
Solid
10
{
11
public
:
12
Trap
(
double
pDz,
13
double
pTheta,
14
double
pPhi,
15
double
pDy1,
double
pDx1,
double
pDx2,
16
double
pAlp1,
17
double
pDy2,
double
pDx3,
double
pDx4,
18
double
pAlp2);
19
20
double
volume
()
const override
;
21
22
void
stream
(std::ostream &)
const override
;
23
};
24
25
}
26
27
#endif
DDI::Trap
Definition:
Trap.h:9
DDI::Trap::Trap
Trap(double pDz, double pTheta, double pPhi, double pDy1, double pDx1, double pDx2, double pAlp1, double pDy2, double pDx3, double pDx4, double pAlp2)
Definition:
Trap.cc:13
DDI::Trap::stream
void stream(std::ostream &) const override
Definition:
Trap.cc:36
Solid.h
DDI
Definition:
DDCompactView.h:26
DDI::Trap::volume
double volume() const override
Definition:
Trap.cc:51
DDI::Solid
Definition:
Solid.h:10
Generated for CMSSW Reference Manual by
1.8.11