Main Page
Namespaces
Classes
Package Documentation
DetectorDescription
Core
src
PseudoTrap.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/src/PseudoTrap.h
"
2
#include "
DetectorDescription/Core/interface/DDUnits.h
"
3
4
using namespace
dd::operators
;
5
6
void
DDI::PseudoTrap::stream
(std::ostream & os)
const
7
{
8
os <<
" x1[cm]="
<<
CONVERT_TO
( p_[0], cm )
9
<<
" x2[cm]="
<<
CONVERT_TO
( p_[1], cm )
10
<<
" y1[cm]="
<<
CONVERT_TO
( p_[2], cm )
11
<<
" y2[cm]="
<<
CONVERT_TO
( p_[3], cm )
12
<<
" z[cm]="
<<
CONVERT_TO
( p_[4], cm )
13
<<
" radius[cm]="
<<
CONVERT_TO
( p_[5], cm );
14
15
if
(p_[6])
16
os <<
" minusZ=[yes]"
;
17
else
18
os <<
" minusZ=[no]"
;
19
}
CONVERT_TO
#define CONVERT_TO(_x, _y)
Definition:
DDUnits.h:6
DDI::PseudoTrap::stream
void stream(std::ostream &os) const override
Definition:
PseudoTrap.cc:6
DDUnits.h
dd::operators
Definition:
DDUnits.h:14
PseudoTrap.h
Generated for CMSSW Reference Manual by
1.8.11