|
|
Go to the documentation of this file.
30 std::vector<const DDsvalues_type *>
result;
32 for (std::vector<const DDsvalues_type *>::iterator it =
result.begin(); it !=
result.end(); ++it) {
65 return out <<
"(" <<
v.rho() <<
", " <<
v.z() <<
", " <<
v.phi() <<
")";
86 : printMaterial_(
pset.getUntrackedParameter<
bool>(
"printMaterial")),
92 std::cout <<
"______________________________ DDD ______________________________" << std::endl;
103 throw cms::Exception(
"Configuration") <<
"The first child of the DDFilteredView is not what is expected \n"
115 if (printAnyMaterial ||
121 for (
unsigned int h = 2;
h < history.size(); ++
h) {
122 std::cout <<
'/' << history[
h].logicalPart().name().ns() <<
":" << history[
h].logicalPart().name().name() <<
'['
123 << history[
h].copyno() <<
']';
134 std::cout <<
"______________________________ std::vector<GeomDet*> from TrackerGeometry::dets() "
135 "______________________________"
141 auto const &dets = hGeo->
dets();
142 for (
unsigned int i = 0;
i < dets.size(); ++
i) {
152 if (!
parts.empty()) {
154 for (
unsigned int j = 1;
j <
parts.size(); ++
j)
const Surface::PositionType & position() const
The position (origin of the R.F.)
static std::string dddGetString(const std::string &s, const DDFilteredView &view)
std::vector< DDExpandedNode > DDGeoHistory
Geometrical 'path' of the current node up to the root-node.
GeometricDet::GeometricEnumType type(std::string const &) const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
constexpr Detector det() const
get the detector field from this detid
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
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)
bool firstChild()
set the current node to the first child ...
#define DEFINE_FWK_MODULE(type)
bool next()
set current node to the next node in the filtered tree
bool DDfetch(const DDsvalues_type *, DDValue &)
helper for retrieving DDValues from DDsvalues_type *.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
void specificsV(std::vector< const DDsvalues_type * > &result) const
User specific data attached to the current node.
DetId geographicalId() const
The label of this GeomDet.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
static int position[264][3]
const DDGeoHistory & geoHistory() const
The list of ancestors up to the root-node of the current node.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
constexpr uint32_t rawId() const
get the raw id
const DDTranslation & translation() const
The absolute translation of the current node.
const std::string fullname() const
std::vector< std::string > materials_
void analyze(const edm::Event &, const edm::EventSetup &) override
ListIds(const edm::ParameterSet &)
virtual SubDetector subDetector() const
Which subdetector.
static std::ostream & operator<<(std::ostream &out, const math::XYZVector &v)
static bool dddGetStringRaw(const DDFilteredView &view, const std::string &name, std::string &value)