Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
src
Torus.h
Go to the documentation of this file.
1
#ifndef DDI_Torus_h
2
#define DDI_Torus_h
3
4
#include <iostream>
5
#include "
Solid.h
"
6
7
namespace
DDI
{
8
9
class
Torus
:
public
Solid
10
{
11
public
:
12
Torus
(
double
pRMin,
13
double
pRMax,
14
double
pRTor,
15
double
pSPhi,
16
double
pDPhi
17
);
18
19
double
volume
()
const override
;
20
21
void
stream
(std::ostream &)
const override
;
22
};
23
24
}
25
26
#endif
DDI::Torus
Definition:
Torus.h:9
DDI::Torus::volume
double volume() const override
Definition:
Torus.cc:39
DDI::Torus::stream
void stream(std::ostream &) const override
Definition:
Torus.cc:30
Solid.h
DDI
Definition:
DDCompactView.h:24
DDI::Torus::Torus
Torus(double pRMin, double pRMax, double pRTor, double pSPhi, double pDPhi)
Definition:
Torus.cc:14
DDI::Solid
Definition:
Solid.h:10
Generated for CMSSW Reference Manual by
1.8.11