#include <DDGEMAngular.h>
Definition at line 10 of file DDGEMAngular.h.
DDGEMAngular::DDGEMAngular |
( |
| ) |
|
DDGEMAngular::~DDGEMAngular |
( |
| ) |
|
|
override |
Definition at line 63 of file DDGEMAngular.cc.
References dd::_pi(), CONVERT_TO, funct::cos(), DDrot(), formatAsDegrees(), cuy::ii, TopAnalysis_sequences::invert, gen::n, class-composition::parent, DDCompactView::position(), idealTransformation::rotation, funct::sin(), and AlCaHLTBitMon_QueryRunRegistry::string.
71 if (phitmp >= 2.
_pi) phitmp -= 2._pi;
75 if (
invert > 0) rotstr +=
"I";
79 double thetax = 90.0_deg;
80 double phix =
invert==0 ? (90.0_deg + phitmp) : (-90.0_deg + phitmp);
81 double thetay =
invert==0 ? 0.0 : 180.0_deg;
84 edm::LogInfo(
"MuonGeom") <<
"DDGEMAngular test: Creating a new rotation " 89 rotation =
DDrot(
DDName(rotstr,
rotns), thetax, phix, thetay, 0., thetax, phiz);
99 << copyNo <<
" positioned in " << parentName
100 <<
" at " << tran <<
" with " << rotstr <<
" "
Sin< T >::type sin(const T &t)
#define CONVERT_TO(_x, _y)
DDName is used to identify DDD entities uniquely.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
Cos< T >::type cos(const T &t)
std::string formatAsDegrees(double radianVal)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
constexpr long double _pi(M_PI)
std::string DDGEMAngular::childName |
|
private |
std::string DDGEMAngular::idNameSpace |
|
private |
int DDGEMAngular::incrCopyNo |
|
private |
std::string DDGEMAngular::rotns |
|
private |
double DDGEMAngular::rPos |
|
private |
double DDGEMAngular::startAngle |
|
private |
int DDGEMAngular::startCopyNo |
|
private |
double DDGEMAngular::stepAngle |
|
private |
double DDGEMAngular::zoffset |
|
private |