#include <DDMuonAngular.h>
Definition at line 10 of file DDMuonAngular.h.
DDMuonAngular::DDMuonAngular |
( |
| ) |
|
DDMuonAngular::~DDMuonAngular |
( |
| ) |
|
|
override |
Definition at line 55 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.
62 double phideg = phi/CLHEP::deg;
64 if (phideg > 0) iphi =
int(phideg+0.1);
65 else iphi =
int(phideg-0.1);
66 if (iphi >= 360) iphi -= 360;
73 if (phideg >=0 && phideg < 10) rotstr =
"R00";
74 else if (phideg < 100) rotstr =
"R0";
75 rotstr = rotstr + std::to_string(phideg);
79 edm::LogInfo(
"MuonGeom") <<
"DDMuonAngular test: Creating a new rotation " 81 << phideg <<
", 90, " << (phideg+90) <<
", 0, 0";
84 phideg*CLHEP::deg, 90*CLHEP::deg,
85 (90+phideg)*CLHEP::deg, 0*CLHEP::deg, 0*CLHEP::deg);
96 << copyNo <<
" positioned in " << parentName
97 <<
" at " << tran <<
" with " << rotstr <<
" "
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 25 of file DDMuonAngular.cc.
References childName, idNameSpace, incrCopyNo, createfilelist::int, n, DDCurrentNamespace::ns(), class-composition::parent, rotns, startAngle, startCopyNo, stepAngle, and zoffset.
38 edm::LogInfo(
"MuonGeom") <<
"DDMuonAngular debug: Parameters for positioning-- " 39 <<
n <<
" copies in steps of " <<
stepAngle/CLHEP::deg
40 <<
" from " <<
startAngle/CLHEP::deg <<
" \tZoffest " 41 <<
zoffset <<
"\tStart and inremental copy nos " 44 rotns = sArgs[
"RotNameSpace"];
49 edm::LogInfo(
"MuonGeom") <<
"DDMuonAngular debug: Parent " << parentName
50 <<
"\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 |