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 "
DataFormats/Math/interface/GeantUnits.h
"
3
4
using namespace
geant_units::operators
;
5
6
void
DDI::PseudoTrap::stream
(std::ostream & os)
const
7
{
8
os <<
" x1[cm]="
<<
convertMmToCm
( p_[0] )
9
<<
" x2[cm]="
<<
convertMmToCm
( p_[1] )
10
<<
" y1[cm]="
<<
convertMmToCm
( p_[2] )
11
<<
" y2[cm]="
<<
convertMmToCm
( p_[3] )
12
<<
" z[cm]="
<<
convertMmToCm
( p_[4] )
13
<<
" radius[cm]="
<<
convertMmToCm
( p_[5] );
14
15
if
(p_[6])
16
os <<
" minusZ=[yes]"
;
17
else
18
os <<
" minusZ=[no]"
;
19
}
DDI::PseudoTrap::stream
void stream(std::ostream &os) const override
Definition:
PseudoTrap.cc:6
PseudoTrap.h
geant_units::operators
Definition:
GeantUnits.h:21
GeantUnits.h
geant_units::operators::convertMmToCm
constexpr NumType convertMmToCm(NumType millimeters)
Definition:
GeantUnits.h:110
Generated for CMSSW Reference Manual by
1.8.11