Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 "
Solid.h
"
6
7
namespace
DDI {
8
9
class
PseudoTrap
:
public
Solid
10
{
11
public
:
12
PseudoTrap
(
double
x1,
double
x2,
double
y1,
double
y2,
double
z
,
double
radius
,
bool
minusZ)
13
:
Solid
(
ddpseudotrap
)
14
{
15
p_
.push_back(x1);
16
p_
.push_back(x2);
17
p_
.push_back(y1);
18
p_
.push_back(y2);
19
p_
.push_back(z);
20
p_
.push_back(radius);
21
p_
.push_back(minusZ);
22
}
23
24
~PseudoTrap
(){ }
25
26
double
volume
()
const
{
return
-1; }
27
28
void
stream
(std::ostream & os)
const
;
29
};
30
31
}
32
33
#endif // DDI_PseudoTrap_h
DDI::PseudoTrap::volume
double volume() const
Definition:
PseudoTrap.h:26
DDI::PseudoTrap
Definition:
PseudoTrap.h:9
detailsBasic3DVector::z
double double double z
Definition:
newBasic3DVector.h:17
Solid.h
ddpseudotrap
Definition:
DDSolidShapes.h:14
DDI::PseudoTrap::PseudoTrap
PseudoTrap(double x1, double x2, double y1, double y2, double z, double radius, bool minusZ)
Definition:
PseudoTrap.h:12
DDI::PseudoTrap::stream
void stream(std::ostream &os) const
Definition:
PseudoTrap.cc:6
DDI::Solid
Definition:
Solid.h:10
DDI::Solid::p_
std::vector< double > p_
Definition:
Solid.h:32
CosmicsPD_Skims.radius
tuple radius
Definition:
CosmicsPD_Skims.py:135
DDI::PseudoTrap::~PseudoTrap
~PseudoTrap()
Definition:
PseudoTrap.h:24
Generated for CMSSW Reference Manual by
1.8.5