Definition at line 22 of file DDTIDRingAlgo.cc.
◆ DDTIDRingAlgo()
DDTIDRingAlgo::DDTIDRingAlgo |
( |
| ) |
|
◆ ~DDTIDRingAlgo()
DDTIDRingAlgo::~DDTIDRingAlgo |
( |
| ) |
|
|
override |
◆ execute()
Definition at line 80 of file DDTIDRingAlgo.cc.
81 double theta = 90. * CLHEP::deg;
82 double phiy = 0. * CLHEP::deg;
83 double dphi = CLHEP::twopi /
number;
95 double zpos, thetay, phix;
97 phix = phiz + 90. * CLHEP::deg;
98 thetay = 0 * CLHEP::deg;
102 phix = phiz - 90. * CLHEP::deg;
103 thetay = 180 * CLHEP::deg;
109 phix = phix - 180. * CLHEP::deg;
110 thetay = thetay + 180. * CLHEP::deg;
114 double phideg = phiz / CLHEP::deg;
116 string rotstr = mother.
name() + to_string(phideg * 10.);
119 LogDebug(
"TIDGeom") <<
"DDTIDRingAlgo test: Creating a new rotation " << rotstr <<
"\t" <<
theta / CLHEP::deg
120 <<
", " << phix / CLHEP::deg <<
", " << thetay / CLHEP::deg <<
", " << phiy / CLHEP::deg
121 <<
", " <<
theta / CLHEP::deg <<
", " << phiz / CLHEP::deg;
126 LogDebug(
"TIDGeom") <<
"DDTIDRingAlgo test: " <<
module <<
" number " <<
i + 1 <<
" positioned in " << mother
127 <<
" at " << trmod <<
" with " <<
rotation;
141 LogDebug(
"TIDGeom") <<
"DDTIDRingAlgo test: " << icc <<
" number " <<
i + 1 <<
" positioned in " << mother <<
" at "
References funct::cos(), DDrot(), DDSplit(), first, mps_fire::i, LogDebug, callgraph::module, EcalCalibMonitorClient_cfi::moduleName, DDName::name(), contentValuesFiles::number, class-composition::parent, DDCompactView::position(), idealTransformation::rotation, edm::second(), funct::sin(), and theta().
◆ initialize()
◆ iccName
string DDTIDRingAlgo::iccName |
|
private |
◆ idNameSpace
string DDTIDRingAlgo::idNameSpace |
|
private |
◆ moduleName
vector<string> DDTIDRingAlgo::moduleName |
|
private |
◆ number
int DDTIDRingAlgo::number |
|
private |
◆ rICC
double DDTIDRingAlgo::rICC |
|
private |
◆ rModule
double DDTIDRingAlgo::rModule |
|
private |
◆ sICC
double DDTIDRingAlgo::sICC |
|
private |
◆ startAngle
double DDTIDRingAlgo::startAngle |
|
private |
◆ zICC
vector<double> DDTIDRingAlgo::zICC |
|
private |
◆ zModule
vector<double> DDTIDRingAlgo::zModule |
|
private |
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)