Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DetectorDescription
Core
interface
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
public
:
11
Trap
(
double
pDz,
12
double
pTheta,
13
double
pPhi,
14
double
pDy1,
15
double
pDx1,
16
double
pDx2,
17
double
pAlp1,
18
double
pDy2,
19
double
pDx3,
20
double
pDx4,
21
double
pAlp2);
22
23
double
volume
()
const override
;
24
25
void
stream
(std::ostream &)
const override
;
26
};
27
28
}
// namespace DDI
29
30
#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::volume
double volume() const override
Definition:
Trap.cc:45
Solid.h
DDI::Solid
Definition:
Solid.h:10
DDI::Trap::stream
void stream(std::ostream &) const override
Definition:
Trap.cc:38
Generated for CMSSW Reference Manual by
1.8.5