Definition at line 20 of file DDTrackerPhiAltAlgo.cc.
◆ DDTrackerPhiAltAlgo()
DDTrackerPhiAltAlgo::DDTrackerPhiAltAlgo |
( |
| ) |
|
◆ ~DDTrackerPhiAltAlgo()
DDTrackerPhiAltAlgo::~DDTrackerPhiAltAlgo |
( |
| ) |
|
|
override |
◆ execute()
Definition at line 84 of file DDTrackerPhiAltAlgo.cc.
References submitPVValidationJobs::child, funct::cos(), DDrot(), DDSplit(), dqmdumpme::first, mps_fire::i, LogDebug, ConfigBuilder::number, class-composition::parent, DDCompactView::position(), idealTransformation::rotation, edm::second(), funct::sin(), tauSpinnerTable_cfi::theta, and to_string().
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;
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
Sin< T >::type sin(const T &t)
DDName is used to identify DDD entities uniquely.
static std::string to_string(const XMLCh *ch)
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
Cos< T >::type cos(const T &t)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
◆ 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 |