Definition at line 20 of file DDTrackerPhiAltAlgo.cc.
◆ DDTrackerPhiAltAlgo()
DDTrackerPhiAltAlgo::DDTrackerPhiAltAlgo |
( |
| ) |
|
◆ ~DDTrackerPhiAltAlgo()
DDTrackerPhiAltAlgo::~DDTrackerPhiAltAlgo |
( |
| ) |
|
|
override |
◆ execute()
Definition at line 84 of file DDTrackerPhiAltAlgo.cc.
86 double theta = 90. * CLHEP::deg;
88 if (
number == 1 || fabs(
rangeAngle - 360.0 * CLHEP::deg) < 0.001 * CLHEP::deg)
98 double phix =
phi -
tilt + 90. * CLHEP::deg;
99 double phiy = phix + 90. * CLHEP::deg;
100 double phideg = phix / CLHEP::deg;
107 LogDebug(
"TrackerGeom") <<
"DDTrackerPhiAltAlgo test: Creating a new"
108 <<
" rotation " << rotstr <<
"\t"
109 <<
"90., " << phix / CLHEP::deg <<
", 90.," << phiy / CLHEP::deg <<
", 0, 0";
125 LogDebug(
"TrackerGeom") <<
"DDTrackerPhiAltAlgo test: " <<
child <<
" number " << copyNo <<
" positioned in "
126 << mother <<
" at " << tran <<
" with " <<
rotation;
References submitPVValidationJobs::child, funct::cos(), DDrot(), DDSplit(), dqmdumpme::first, mps_fire::i, LogDebug, contentValuesFiles::number, class-composition::parent, DDCompactView::position(), idealTransformation::rotation, edm::second(), funct::sin(), and theta().
◆ initialize()
◆ childName
string DDTrackerPhiAltAlgo::childName |
|
private |
◆ idNameSpace
string DDTrackerPhiAltAlgo::idNameSpace |
|
private |
◆ incrCopyNo
int DDTrackerPhiAltAlgo::incrCopyNo |
|
private |
◆ number
int DDTrackerPhiAltAlgo::number |
|
private |
◆ radiusIn
double DDTrackerPhiAltAlgo::radiusIn |
|
private |
◆ radiusOut
double DDTrackerPhiAltAlgo::radiusOut |
|
private |
◆ rangeAngle
double DDTrackerPhiAltAlgo::rangeAngle |
|
private |
◆ startAngle
double DDTrackerPhiAltAlgo::startAngle |
|
private |
◆ startCopyNo
int DDTrackerPhiAltAlgo::startCopyNo |
|
private |
◆ tilt
double DDTrackerPhiAltAlgo::tilt |
|
private |
◆ zpos
double DDTrackerPhiAltAlgo::zpos |
|
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)