Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DetectorDescription
Core
src
PseudoTrap.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/Core/interface/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
os <<
" x1[cm]="
<<
convertMmToCm
(p_[0]) <<
" x2[cm]="
<<
convertMmToCm
(p_[1]) <<
" y1[cm]="
<<
convertMmToCm
(p_[2])
8
<<
" y2[cm]="
<<
convertMmToCm
(p_[3]) <<
" z[cm]="
<<
convertMmToCm
(p_[4])
9
<<
" radius[cm]="
<<
convertMmToCm
(p_[5]);
10
11
if
(p_[6])
12
os <<
" minusZ=[yes]"
;
13
else
14
os <<
" minusZ=[no]"
;
15
}
DDI::PseudoTrap::stream
void stream(std::ostream &os) const override
Definition:
PseudoTrap.cc:6
PseudoTrap.h
GeantUnits.h
geant_units::operators::convertMmToCm
constexpr NumType convertMmToCm(NumType millimeters)
Definition:
GeantUnits.h:63
Generated for CMSSW Reference Manual by
1.8.5