Implements edm::EDAnalyzer.
Definition at line 87 of file ListIds.cc.
References DDFilteredView::addFilter(), GeomDet::components(), gather_cfg::cout, dddGetString(), DetId::det(), alcazmumu_cfi::filter, DDFilteredView::firstChild(), GeomDet::geographicalId(), DDFilteredView::geoHistory(), edm::EventSetup::get(), h, i, j, DDFilteredView::logicalPart(), DDLogicalPart::material(), DDBase< N, C >::name(), DDFilteredView::next(), not_equals, AlCaHLTBitMon_ParallelJobs::p, contentValuesFiles::parts, GeomDet::position(), position, DetId::rawId(), DDSpecificsFilter::setCriteria(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::subDetector(), DetId::subdetId(), GeometricDet::Tracker, DDFilteredView::translation(), CmsTrackerStringToEnum::type(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
88 std::cout <<
"______________________________ DDD ______________________________" << std::endl;
101 throw cms::Exception(
"Configuration") <<
"The first child of the DDFilteredView is not what is expected \n"
105 std::cout << std::fixed << std::setprecision(3);
108 if (fv.logicalPart().material().name() ==
"materials:Silicon") {
113 for (
unsigned int h = 2;
h < history.size(); ++
h) {
114 std::cout <<
'/' << history[
h].logicalPart().name().name() <<
'[' << history[
h].copyno() <<
']';
119 std::cout <<
"\t" << position << std::endl;
124 std::cout <<
"______________________________ std::vector<GeomDet*> from TrackerGeometry::dets() ______________________________" << std::endl;
128 std::cout << std::fixed << std::setprecision(3);
129 auto const & dets = hGeo->dets();
130 for (
unsigned int i = 0;
i < dets.size(); ++
i) {
144 std::cout <<
"\t[" << parts[0]->geographicalId().rawId();
145 for (
unsigned int j = 1;
j < parts.size(); ++
j)
146 std::cout <<
'\t' << parts[
j]->geographicalId().rawId();
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
uint32_t rawId() const
get the raw id
const Surface::PositionType & position() const
The position (origin of the R.F.)
DetId geographicalId() const
The label of this GeomDet.
static std::string dddGetString(const std::string &s, const DDFilteredView &view)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< DDExpandedNode > DDGeoHistory
Geometrical 'path' of the current node up to the root-node.
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
static int position[264][3]
Detector det() const
get the detector field from this detid
virtual SubDetector subDetector() const
Which subdetector.
void setCriteria(const DDValue &nameVal, DDCompOp, DDLogOp l=DDLogOp::AND, bool asString=true, bool merged=true)
GeometricDet::GeometricEnumType type(std::string const &) const
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.