#include <DDMuonAngular.h>
Definition at line 10 of file DDMuonAngular.h.
DDMuonAngular::DDMuonAngular |
( |
| ) |
|
DDMuonAngular::~DDMuonAngular |
( |
| ) |
|
|
override |
Definition at line 48 of file DDMuonAngular.cc.
References childName, DDrot(), idNameSpace, cuy::ii, incrCopyNo, createfilelist::int, n, class-composition::parent, phi, DDCompactView::position(), idealTransformation::rotation, rotns, startAngle, startCopyNo, stepAngle, AlCaHLTBitMon_QueryRunRegistry::string, and zoffset.
55 double phideg = phi/CLHEP::deg;
57 if (phideg > 0) iphi =
int(phideg+0.1);
58 else iphi =
int(phideg-0.1);
59 if (iphi >= 360) iphi -= 360;
66 if (phideg >=0 && phideg < 10) rotstr =
"R00";
67 else if (phideg < 100) rotstr =
"R0";
68 rotstr = rotstr + std::to_string(phideg);
71 edm::LogInfo(
"MuonGeom") <<
"DDMuonAngular test: Creating a new rotation " 73 << phideg <<
", 90, " << (phideg+90) <<
", 0, 0";
75 phideg*CLHEP::deg, 90*CLHEP::deg,
76 (90+phideg)*CLHEP::deg, 0*CLHEP::deg, 0*CLHEP::deg);
86 << copyNo <<
" positioned in " << parentName <<
" at " 87 << tran <<
" with " << rotstr <<
" " <<
rotation;
DDName is used to identify DDD entities uniquely.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
Definition at line 21 of file DDMuonAngular.cc.
References childName, idNameSpace, incrCopyNo, createfilelist::int, n, DDCurrentNamespace::ns(), class-composition::parent, rotns, startAngle, startCopyNo, stepAngle, and zoffset.
33 edm::LogInfo(
"MuonGeom") <<
"DDMuonAngular debug: Parameters for positioning-- " 34 <<
n <<
" copies in steps of " <<
stepAngle/CLHEP::deg
35 <<
" from " <<
startAngle/CLHEP::deg <<
" \tZoffest " 36 <<
zoffset <<
"\tStart and inremental copy nos " 39 rotns = sArgs[
"RotNameSpace"];
43 edm::LogInfo(
"MuonGeom") <<
"DDMuonAngular debug: Parent " << parentName
44 <<
"\tChild " <<
childName <<
"\tNameSpace "
DDName is used to identify DDD entities uniquely.
static std::string & ns()
std::string DDMuonAngular::childName |
|
private |
std::string DDMuonAngular::idNameSpace |
|
private |
int DDMuonAngular::incrCopyNo |
|
private |
std::string DDMuonAngular::rotns |
|
private |
double DDMuonAngular::startAngle |
|
private |
int DDMuonAngular::startCopyNo |
|
private |
double DDMuonAngular::stepAngle |
|
private |
double DDMuonAngular::zoffset |
|
private |