95 std::cout <<
"______________________________ DDD ______________________________" << std::endl;
105 throw cms::Exception(
"Configuration") <<
"The first child of the DDFilteredView is not what is expected \n" 117 if (printAnyMaterial ||
123 for (
unsigned int h = 2;
h < history.size(); ++
h) {
124 std::cout <<
'/' << history[
h].logicalPart().name().ns() <<
":" << history[
h].logicalPart().name().name() <<
'[' 125 << history[
h].copyno() <<
']';
128 std::cout <<
" Material: |" << fv.logicalPart().material().name() <<
"|";
136 std::cout <<
"______________________________ std::vector<GeomDet*> from TrackerGeometry::dets() " 137 "______________________________" 142 auto const &dets = geo.dets();
143 for (
unsigned int i = 0;
i < dets.size(); ++
i) {
153 if (!
parts.empty()) {
155 for (
unsigned int j = 1;
j <
parts.size(); ++
j)
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
constexpr Detector det() const
get the detector field from this detid
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static std::string dddGetString(const std::string &s, const DDFilteredView &view)
DetId geographicalId() const
The label of this GeomDet.
GeometricDet::GeometricEnumType type(std::string const &) const
std::vector< DDExpandedNode > DDGeoHistory
Geometrical 'path' of the current node up to the root-node.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
constexpr uint32_t rawId() const
get the raw id
virtual SubDetector subDetector() const
Which subdetector.
const Surface::PositionType & position() const
The position (origin of the R.F.)
std::vector< std::string > materials_
static int position[264][3]
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geoToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > dddToken_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.