Definition at line 20 of file DDTrackerPhiAlgo.cc.
◆ DDTrackerPhiAlgo()
DDTrackerPhiAlgo::DDTrackerPhiAlgo |
( |
| ) |
|
◆ ~DDTrackerPhiAlgo()
DDTrackerPhiAlgo::~DDTrackerPhiAlgo |
( |
| ) |
|
|
override |
◆ execute()
Definition at line 101 of file DDTrackerPhiAlgo.cc.
104 double theta = 90. * CLHEP::deg;
109 double phiy = phix + 90. * CLHEP::deg;
110 double phideg =
phi[
i] / CLHEP::deg;
115 LogDebug(
"TrackerGeom") <<
"DDTrackerPhiAlgo test: Creating a new "
116 <<
"rotation: " << rotstr <<
"\t"
117 <<
"90., " << phix / CLHEP::deg <<
", 90.," << phiy / CLHEP::deg <<
", 0, 0";
126 LogDebug(
"TrackerGeom") <<
"DDTrackerPhiAlgo test: " <<
child <<
" number " << ci <<
" positioned in " << mother
127 <<
" at " << tran <<
" with " <<
rotation;
References submitPVValidationJobs::child, childName, funct::cos(), DDrot(), DDSplit(), dqmdumpme::first, mps_fire::i, idNameSpace, incrcn, LogDebug, numcopies, class-composition::parent, phi, DDCompactView::position(), radius, idealTransformation::rotation, edm::second(), funct::sin(), startcn, theta(), tilt, and zpos.
◆ initialize()
Definition at line 54 of file DDTrackerPhiAlgo.cc.
59 if (nArgs.find(
"StartCopyNo") != nArgs.end()) {
60 startcn = size_t(nArgs[
"StartCopyNo"]);
64 if (nArgs.find(
"IncrCopyNo") != nArgs.end()) {
75 if (nArgs.find(
"NumCopies") != nArgs.end()) {
78 edm::LogError(
"TrackerGeom") <<
"DDTrackerPhiAlgo error: Parameter "
79 <<
"NumCopies does not agree with the size "
80 <<
"of the Phi vector. It was adjusted to "
81 <<
"be the size of the Phi vector and may "
82 <<
"lead to crashes or errors.";
88 LogDebug(
"TrackerGeom") <<
"DDTrackerPhiAlgo debug: Parameters for position"
90 <<
" Radius " <<
radius <<
" Tilt " <<
tilt / CLHEP::deg <<
" Copies " <<
phi.size() <<
" at";
91 for (
int i = 0;
i < (
int)(
phi.size());
i++)
92 LogDebug(
"TrackerGeom") <<
"\t[" <<
i <<
"] phi = " <<
phi[
i] / CLHEP::deg <<
" z = " <<
zpos[
i];
97 LogDebug(
"TrackerGeom") <<
"DDTrackerPhiAlgo debug: Parent " << parentName <<
"\tChild " <<
childName <<
" NameSpace "
References childName, mps_fire::i, idNameSpace, incrcn, createfilelist::int, LogDebug, DDCurrentNamespace::ns(), numcopies, class-composition::parent, phi, radius, startcn, tilt, and zpos.
◆ childName
string DDTrackerPhiAlgo::childName |
|
private |
◆ idNameSpace
string DDTrackerPhiAlgo::idNameSpace |
|
private |
◆ incrcn
int DDTrackerPhiAlgo::incrcn |
|
private |
◆ numcopies
size_t DDTrackerPhiAlgo::numcopies |
|
private |
◆ phi
vector<double> DDTrackerPhiAlgo::phi |
|
private |
◆ radius
double DDTrackerPhiAlgo::radius |
|
private |
◆ startcn
size_t DDTrackerPhiAlgo::startcn |
|
private |
◆ tilt
double DDTrackerPhiAlgo::tilt |
|
private |
◆ zpos
vector<double> DDTrackerPhiAlgo::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)