Definition at line 33 of file EcalTBHodoscopeGeometryLoaderFromDDD.cc.
36 if (ebg->
parMgr() ==
nullptr)
44 for (doSubDets = fv.firstChild(); doSubDets; doSubDets = fv.nextSibling()) {
47 if (
answer !=
"EcalTBH4BeamHits")
51 const DDSolid& solid = fv.logicalPart().solid();
56 <<
"\n CaloGeometryEcalTBHodoscope::upDate(...): currently only box fiber shapes supported ";
57 edm::LogWarning(
"EcalTBHodoscopeGeometry") <<
"Wrong shape for sensitive volume!" << solid;
66 fv.rotation().GetComponents(
x,
y,
z);
67 CLHEP::Hep3Vector hx(
x.X(),
x.Y(),
x.Z());
68 CLHEP::Hep3Vector hy(
y.X(),
y.Y(),
y.Z());
69 CLHEP::Hep3Vector hz(
z.X(),
z.Y(),
z.Z());
70 CLHEP::HepRotation hrot(hx, hy, hz);
71 CLHEP::Hep3Vector htran(fv.translation().X(), fv.translation().Y(), fv.translation().Z());
73 const HepGeom::Transform3D ht3d(hrot,
76 const HepGeom::Point3D<float>
ctr(ht3d * HepGeom::Point3D<float>(0, 0, 0));
80 std::vector<CCGFloat> vv;
81 vv.reserve(
pv.size() + 1);
82 for (
unsigned int i(0);
i !=
pv.size(); ++
i) {
92 ebg->
newCell(refPoint, refPoint, refPoint, pP, detId);
References CaloSubdetectorGeometry::allocateCorners(), CaloSubdetectorGeometry::allocatePar(), submit::answer, CaloSubdetectorGeometry::cornersMgr(), dqmiodatasetharvest::ctr, ddbox, Exception, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), getDDDString(), getDDFilter(), getDetIdForDDDNode(), CaloCellGeometry::getParmPtr(), mps_fire::i, CaloCellGeometry::k_ScaleFromDDDtoGeant, EBDetId::kSizeForDenseIndexing, DDFilteredView::logicalPart(), CaloSubdetectorGeometry::newCell(), DDFilteredView::nextSibling(), DDSolid::parameters(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), MetAnalyzer::pv(), DDFilteredView::rotation(), DDSolid::shape(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, DDFilteredView::translation(), x, y, and z.
Referenced by load().