19 std::vector<int>
const& detidShifts) {
31 throw cms::Exception(
"Configuration") <<
" The first child of the DDFilteredView is not what is expected \n"
38 edm::LogVerbatim(
"DDDCmsTrackerContruction") <<
"DDDCmsTrackerContruction::construct: Call Tracker builder.";
40 theCmsTrackerBuilder.
build(fv, tracker.get(), attribute);
44 theCmsTrackerDetIdBuilder.
buildId(*tracker);
63 std::vector<int>
const& detidShifts) {
75 <<
" The first child of the DDFilteredView is not what is expected \n"
82 edm::LogVerbatim(
"DDDCmsTrackerContruction") <<
"DDDCmsTrackerContruction::construct: Call Tracker builder.";
84 theCmsTrackerBuilder.
build(fv, tracker.get(), attribute);
88 theCmsTrackerDetIdBuilder.
buildId(*tracker);
108 std::deque<const GeometricDet*> queue;
109 queue.emplace_back(tracker);
111 while (!queue.empty()) {
116 queue.emplace_back(
child);
119 outputFile <<
" " << std::endl;
120 outputFile <<
" " << std::endl;
121 outputFile <<
"............................." << std::endl;
122 outputFile <<
"myDet->geographicalID() = " << myDet->
geographicalId() << std::endl;
123 outputFile <<
"myDet->name() = " << myDet->
name() << std::endl;
124 outputFile <<
"myDet->module->type() = " << std::fixed << std::setprecision(7) << myDet->
type() << std::endl;
125 outputFile <<
"myDet->module->translation() = " << std::fixed << std::setprecision(7) << myDet->
translation()
127 outputFile <<
"myDet->module->rho() = " << std::fixed << std::setprecision(7) << myDet->
rho() << std::endl;
128 if (fabs(myDet->
rho()) > 0.00001) {
129 outputFile <<
"myDet->module->phi() = " << std::fixed << std::setprecision(7) << myDet->
phi() << std::endl;
131 outputFile <<
"myDet->module->rotation() = " << std::fixed << std::setprecision(7) << myDet->
rotation()
133 outputFile <<
"myDet->module->shape() = " << std::fixed << std::setprecision(7) << myDet->
shape() << std::endl;
136 outputFile <<
"myDet->params() = " << std::fixed << std::setprecision(7);
137 for (
const auto& para : myDet->
params()) {
138 outputFile << para <<
" ";
140 outputFile <<
" " << std::endl;
142 outputFile <<
"myDet->radLength() = " << myDet->
radLength() << std::endl;
143 outputFile <<
"myDet->xi() = " << myDet->
xi() << std::endl;
144 outputFile <<
"myDet->pixROCRows() = " << myDet->
pixROCRows() << std::endl;
145 outputFile <<
"myDet->pixROCCols() = " << myDet->
pixROCCols() << std::endl;
146 outputFile <<
"myDet->pixROCx() = " << myDet->
pixROCx() << std::endl;
147 outputFile <<
"myDet->pixROCy() = " << myDet->
pixROCy() << std::endl;
148 outputFile <<
"myDet->stereo() = " << myDet->
stereo() << std::endl;
149 outputFile <<
"myDet->isLowerSensor() = " << myDet->
isLowerSensor() << std::endl;
150 outputFile <<
"myDet->isUpperSensor() = " << myDet->
isUpperSensor() << std::endl;
151 outputFile <<
"myDet->siliconAPVNum() = " << myDet->
siliconAPVNum() << std::endl;
Log< level::Info, true > LogVerbatim
bool isUpperSensor() const
LegacySolidShape shape() const
Compact representation of the geometrical detector hierarchy.
void build(FilteredView &, GeometricDet *, const std::string &) override
const std::vector< double > & params() const
ConstGeometricDetContainer & components()
void buildId(GeometricDet &det)
const RotationMatrix & rotation() const
const GeometricEnumType & type() const
double pixROCCols() const
bool firstChild()
set the current node to the first child
const cms::DDSolidShape & shape_dd4hep() const
const DetId & geographicalId() const
void printAllTrackerGeometricDets(const GeometricDet *tracker)
bool firstChild()
set the current node to the first child ...
const Translation & translation() const
const std::string & name() const
double siliconAPVNum() const
std::unique_ptr< GeometricDet > construct(DDCompactView const &cpv, std::vector< int > const &detidShifts)
double pixROCRows() const
bool isLowerSensor() const
GeometricDet::GeometricEnumType type(std::string const &) const