|
void | getSummary (CaloSubdetectorGeometry::TrVec &tVec, CaloSubdetectorGeometry::IVec &iVec, CaloSubdetectorGeometry::DimVec &dVec, CaloSubdetectorGeometry::IVec &dins) const override |
|
void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override |
|
unsigned int | numberOfParametersPerShape () const override |
|
unsigned int | numberOfShapes () const override |
|
| ZdcGeometry () |
|
| ZdcGeometry (const ZdcTopology *topology) |
|
| ~ZdcGeometry () override |
|
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
|
void | allocatePar (ParVec::size_type n, unsigned int m) |
|
| CaloSubdetectorGeometry () |
|
| CaloSubdetectorGeometry (const CaloSubdetectorGeometry &)=delete |
| avoid copies More...
|
|
CaloCellGeometry::CornersMgr * | cornersMgr () |
|
CCGFloat | deltaEta (const DetId &detId) const |
|
CCGFloat | deltaPhi (const DetId &detId) const |
|
virtual void | fillDefaultNamedParameters () const |
|
virtual DetIdSet | getCells (const GlobalPoint &r, double dR) const |
| Get a list of all cells within a dR of the given cell. More...
|
|
virtual CellSet | getCellSet (const GlobalPoint &r, double dR) const |
|
virtual DetId | getClosestCell (const GlobalPoint &r) const |
|
virtual std::shared_ptr< const CaloCellGeometry > | getGeometry (const DetId &id) const |
| Get the cell geometry of a given detector id. Should return false if not found. More...
|
|
virtual const std::vector< DetId > & | getValidDetIds (DetId::Detector det=DetId::Detector(0), int subdet=0) const |
| Get a list of valid detector ids (for the given subdetector) More...
|
|
virtual void | initializeParms () |
|
virtual unsigned int | numberOfTransformParms () const |
|
CaloSubdetectorGeometry & | operator= (const CaloSubdetectorGeometry &)=delete |
|
ParMgr * | parMgr () |
|
const ParMgr * | parMgrConst () const |
|
ParVecVec & | parVecVec () |
|
const ParVecVec & | parVecVec () const |
|
virtual bool | present (const DetId &id) const |
| is this detid present in the geometry? More...
|
|
virtual bool | valid (const DetId &id) const |
|
virtual | ~CaloSubdetectorGeometry () |
| The base class DOES assume that it owns the CaloCellGeometry objects. More...
|
|
Definition at line 12 of file ZdcGeometry.h.
Reimplemented from CaloSubdetectorGeometry.
Definition at line 98 of file ZdcGeometry.cc.
References cms::cuda::assert(), CaloSubdetectorGeometry::cellGeomPtr(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::dVec, runTauDisplay::gp, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, dqmdumpme::k, HcalZDCDetId::kSizeForDenseIndexingRun1, CaloSubdetectorGeometry::m_validIds, groupFilesInBlocks::nn, numberOfParametersPerShape(), numberOfShapes(), CaloSubdetectorGeometry::numberOfTransformParms(), convertSQLiteXML::ok, CaloSubdetectorGeometry::parVecVec(), MetAnalyzer::pv(), findQualityFiles::rr, and groupFilesInBlocks::tt.
107 for (
float iv :
pv) {
114 std::shared_ptr<const CaloCellGeometry> ptr(
cellGeomPtr(
i));
117 <<
" Pointer " << ptr <<
":" << (
nullptr != ptr);
121 if (ptr !=
nullptr) {
122 ptr->getTransform(tr, (
Pt3DVec*)
nullptr);
126 tr = HepGeom::Translate3D(
gp.x(),
gp.y(),
gp.z());
129 const CLHEP::Hep3Vector
tt(tr.getTranslation());
130 tVec.emplace_back(
tt.x());
131 tVec.emplace_back(
tt.y());
132 tVec.emplace_back(
tt.z());
134 const CLHEP::HepRotation
rr(tr.getRotation());
135 const ROOT::Math::Transform3D rtr(
136 rr.xx(),
rr.xy(),
rr.xz(),
tt.x(),
rr.yx(),
rr.yy(),
rr.yz(),
tt.y(),
rr.zx(),
rr.zy(),
rr.zz(),
tt.z());
139 tVec.emplace_back(ea.Phi());
140 tVec.emplace_back(ea.Theta());
141 tVec.emplace_back(ea.Psi());
146 unsigned int ishape(9999);
147 for (
unsigned int ivv(0); ivv !=
parVecVec().size(); ++ivv) {
151 ok =
ok && (fabs(par[
k] -
pv[
k]) < 1.e-6);
161 if (iVec.size() <
nn)
162 iVec.emplace_back(ishape);
Log< level::Info, true > LogVerbatim
virtual unsigned int numberOfTransformParms() const
CaloCellGeometry::Tr3D Tr3D
static constexpr int32_t kSizeForDenseIndexingRun1
std::vector< DetId > m_validIds
CaloCellGeometry::CCGFloat CCGFloat
AlgebraicVector EulerAngles
CaloCellGeometry::Pt3DVec Pt3DVec
CaloCellGeometry::Tr3D Tr3D
virtual std::shared_ptr< const CaloCellGeometry > cellGeomPtr(uint32_t index) const
unsigned int numberOfParametersPerShape() const override
unsigned int numberOfShapes() const override