99 std::cout <<
"______________________________ DDD ______________________________" << std::endl;
108 fv.addFilter(filter);
112 throw cms::Exception(
"Configuration") <<
"The first child of the DDFilteredView is not what is expected \n"
116 std::cout << std::fixed << std::setprecision(3);
124 if (printAnyMaterial ||
127 fv.logicalPart().material().name().fullname()) !=
materials_.end())) {
132 for (
unsigned int h = 2;
h < history.size(); ++
h) {
133 std::cout <<
'/' << history[
h].logicalPart().name().ns()
134 <<
":" << history[
h].logicalPart().name().name() <<
'[' << history[
h].copyno() <<
']';
137 std::cout <<
" Material: |" << fv.logicalPart().material().name() <<
"|";
140 std::cout <<
"\t" << position << std::endl;
145 std::cout <<
"______________________________ std::vector<GeomDet*> from TrackerGeometry::dets() ______________________________" << std::endl;
149 std::cout << std::fixed << std::setprecision(3);
150 auto const & dets = hGeo->dets();
151 for (
unsigned int i = 0;
i < dets.size(); ++
i) {
165 std::cout <<
"\t[" << parts[0]->geographicalId().rawId();
166 for (
unsigned int j = 1;
j < parts.size(); ++
j)
167 std::cout <<
'\t' << parts[
j]->geographicalId().rawId();
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
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
std::vector< std::string > materials_
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.