CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
FlatHexagon Class Reference

A base class to handle the hexagonal shape of HGCal silicon volumes. More...

#include <FlatHexagon.h>

Inheritance diagram for FlatHexagon:
CaloCellGeometry

Public Types

typedef CaloCellGeometry::CCGFloat CCGFloat
 
typedef CaloCellGeometry::Pt3D Pt3D
 
typedef CaloCellGeometry::Pt3DVec Pt3DVec
 
typedef CaloCellGeometry::Tr3D Tr3D
 
- Public Types inherited from CaloCellGeometry
typedef float CCGFloat
 
typedef EZMgrFL< GlobalPointCornersMgr
 
typedef EZArrayFL< GlobalPointCornersVec
 
typedef EZMgrFL< CCGFloatParMgr
 
typedef EZArrayFL< CCGFloatParVec
 
typedef std::vector< ParVecParVecVec
 
typedef HepGeom::Point3D< CCGFloatPt3D
 
typedef std::vector< Pt3DPt3DVec
 
using RepCorners = std::array< RhoEtaPhi, k_cornerSize >
 
typedef HepGeom::Transform3D Tr3D
 

Public Member Functions

const GlobalVectoraxis () const
 
float dz () const
 
float etaPos () const override
 
float etaSpan () const override
 
 FlatHexagon (const CornersVec &corn, const CCGFloat *par)
 
 FlatHexagon (const FlatHexagon &tr)
 
 FlatHexagon (const FlatHexagon &tr, const Pt3D &local)
 
 FlatHexagon (CornersMgr *cMgr, const GlobalPoint &fCtr, const GlobalPoint &bCtr, const GlobalPoint &cor1, const CCGFloat *parV)
 
 FlatHexagon (void)
 
Pt3D getLocal (const GlobalPoint &global) const
 
CCGFloat getPhiAxis () const
 
GlobalPoint const & getPosition () const override
 Returns the position of reference for this cell. More...
 
GlobalPoint getPosition (const Pt3D &local) const override
 
CCGFloat getThetaAxis () const
 
void getTransform (Tr3D &tr, Pt3DVec *lptr) const override
 --------— only needed by specific utility; overloaded when needed -— More...
 
FlatHexagonoperator= (const FlatHexagon &tr)
 
float phiPos () const override
 
float phiSpan () const override
 
void setPosition (const GlobalPoint &p)
 
void vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
 
float zPos () const
 
 ~FlatHexagon () override
 
- Public Member Functions inherited from CaloCellGeometry
bool emptyCorners () const
 
GlobalPoint const & getBackPoint () const
 
CornersVec const & getCorners () const
 Returns the corner points of this cell's volume. More...
 
RepCorners const & getCornersREP () const
 
virtual GlobalPoint getPosition (CCGFloat) const
 
bool inside (const GlobalPoint &point) const
 Returns true if the specified point is inside this cell. More...
 
const CCGFloatparam () const
 
RhoEtaPhi const & repPos () const
 
virtual float rhoPos () const
 
void setBackPoint (const GlobalPoint &pos)
 
virtual ~CaloCellGeometry ()
 

Static Public Member Functions

static void createCorners (const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co)
 
static void localCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
 
- Static Public Member Functions inherited from CaloCellGeometry
static const CCGFloatcheckParmPtr (const std::vector< CCGFloat > &vd, ParVecVec &pvv)
 
static const CCGFloatgetParmPtr (const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)
 

Static Public Attributes

static constexpr uint32_t k_dZ = 0
 
static constexpr uint32_t k_r = 1
 
static constexpr uint32_t k_R = 2
 
static constexpr unsigned int ncorner_ = 12
 
static constexpr unsigned int ncornerBy2_ = 6
 
static constexpr double oneBySix_ = 1.0 / 6.0
 
- Static Public Attributes inherited from CaloCellGeometry
static constexpr unsigned int k_cornerSize = 8
 
static const CCGFloat k_ScaleFromDDDtoGeant
 

Private Member Functions

GlobalPoint backCtr (void) const
 
void initCorners (CornersVec &) override
 
GlobalVector makeAxis (void)
 

Private Attributes

GlobalVector m_axis
 
Pt3D m_corOne
 
GlobalPoint m_global
 
Pt3D m_local
 
Tr3D m_tr
 

Additional Inherited Members

- Protected Member Functions inherited from CaloCellGeometry
 CaloCellGeometry (const CornersVec &cv, const CCGFloat *par)
 
 CaloCellGeometry (CornersVec::const_reference gp, CornersMgr *mgr, const CCGFloat *par)
 
 CaloCellGeometry (void)
 
void initSpan ()
 
void setCornerVec (const std::vector< GlobalPoint > &cor)
 
void setRefPoint (const GlobalPoint &pos)
 

Detailed Description

A base class to handle the hexagonal shape of HGCal silicon volumes.

Definition at line 20 of file FlatHexagon.h.

Member Typedef Documentation

◆ CCGFloat

Definition at line 22 of file FlatHexagon.h.

◆ Pt3D

Definition at line 23 of file FlatHexagon.h.

◆ Pt3DVec

Definition at line 24 of file FlatHexagon.h.

◆ Tr3D

Definition at line 25 of file FlatHexagon.h.

Constructor & Destructor Documentation

◆ FlatHexagon() [1/5]

FlatHexagon::FlatHexagon ( void  )

Definition at line 25 of file FlatHexagon.cc.

26  : CaloCellGeometry(), m_axis(0., 0., 0.), m_corOne(0., 0., 0.), m_local(0., 0., 0.), m_global(0., 0., 0.) {}

◆ FlatHexagon() [2/5]

FlatHexagon::FlatHexagon ( const FlatHexagon tr)

Definition at line 28 of file FlatHexagon.cc.

28 : CaloCellGeometry(tr) { *this = tr; }

◆ FlatHexagon() [3/5]

FlatHexagon::FlatHexagon ( CornersMgr cMgr,
const GlobalPoint fCtr,
const GlobalPoint bCtr,
const GlobalPoint cor1,
const CCGFloat parV 
)

Definition at line 47 of file FlatHexagon.cc.

49  : CaloCellGeometry(fCtr, cMgr, parV),
50  m_axis((bCtr - fCtr).unit()),
51  m_corOne(cor1.x(), cor1.y(), cor1.z()),
52  m_local(0., 0., 0.) {
53  getTransform(m_tr, nullptr);
54  Pt3D glb = m_tr * m_local;
55  m_global = GlobalPoint(glb.x(), glb.y(), glb.z());
56 #ifdef EDM_ML_DEBUG
57  edm::LogVerbatim("CaloGeometry") << "FlatHexagon: Local " << m_local << " Global " << glb << " eta " << etaPos()
58  << " phi " << phiPos() << " Translation " << m_tr.getTranslation()
59  << " and rotation " << m_tr.getRotation();
60 #endif
61 }

References etaPos(), getTransform(), glb, m_global, m_local, m_tr, and phiPos().

◆ FlatHexagon() [4/5]

FlatHexagon::FlatHexagon ( const CornersVec corn,
const CCGFloat par 
)

Definition at line 63 of file FlatHexagon.cc.

64  : CaloCellGeometry(corn, par), m_corOne(corn[0].x(), corn[0].y(), corn[0].z()), m_local(0., 0., 0.) {
65  getTransform(m_tr, nullptr);
66  m_axis = makeAxis();
67  Pt3D glb = m_tr * m_local;
68  m_global = GlobalPoint(glb.x(), glb.y(), glb.z());
69 #ifdef EDM_ML_DEBUG
70  edm::LogVerbatim("CaloGeometry") << "FlatHexagon: Local " << m_local << " Global " << glb << " eta " << etaPos()
71  << " phi " << phiPos() << " Translation " << m_tr.getTranslation()
72  << " and rotation " << m_tr.getRotation();
73 #endif
74 }

References etaPos(), getTransform(), glb, m_axis, m_global, m_local, m_tr, makeAxis(), and phiPos().

◆ FlatHexagon() [5/5]

FlatHexagon::FlatHexagon ( const FlatHexagon tr,
const Pt3D local 
)

Definition at line 76 of file FlatHexagon.cc.

77  *this = tr;
78  Pt3D glb = m_tr * m_local;
79  m_global = GlobalPoint(glb.x(), glb.y(), glb.z());
80 #ifdef EDM_ML_DEBUG
81  edm::LogVerbatim("CaloGeometry") << "FlatHexagon: Local " << m_local << " Global " << glb << " eta " << etaPos()
82  << " phi " << phiPos() << " Translation " << m_tr.getTranslation()
83  << " and rotation " << m_tr.getRotation();
84 #endif
85 }

References etaPos(), glb, m_global, m_local, m_tr, and phiPos().

◆ ~FlatHexagon()

FlatHexagon::~FlatHexagon ( )
override

Definition at line 87 of file FlatHexagon.cc.

87 {}

Member Function Documentation

◆ axis()

const GlobalVector & FlatHexagon::axis ( ) const

Definition at line 130 of file FlatHexagon.cc.

130 { return m_axis; }

References m_axis.

Referenced by getTransform().

◆ backCtr()

GlobalPoint FlatHexagon::backCtr ( void  ) const
private

Definition at line 243 of file FlatHexagon.cc.

243  {
244  float dz =
246  Pt3D local_b(m_local.x(), m_local.y(), m_local.z() + dz);
247  Pt3D global_b = m_tr * local_b;
248  GlobalPoint global(global_b.x(), global_b.y(), global_b.z());
249  return global;
250 }

References dz(), CaloCellGeometry::getCorners(), k_dZ, m_local, m_tr, ncornerBy2_, and CaloCellGeometry::param().

Referenced by makeAxis().

◆ createCorners()

void FlatHexagon::createCorners ( const std::vector< CCGFloat > &  pv,
const Tr3D tr,
std::vector< GlobalPoint > &  co 
)
static

Definition at line 134 of file FlatHexagon.cc.

134  {
135  assert(3 == pv.size());
136  assert(ncorner_ == co.size());
137 
138  Pt3DVec ko(ncorner_, Pt3D(0, 0, 0));
139 
140  Pt3D tmp;
141  Pt3DVec to(ncorner_, Pt3D(0, 0, 0));
142  localCorners(to, &pv.front(), tmp);
143 
144  for (unsigned int i(0); i != ncorner_; ++i) {
145  ko[i] = tr * to[i]; // apply transformation
146  const Pt3D& p(ko[i]);
147  co[i] = GlobalPoint(p.x(), p.y(), p.z());
148 #ifdef EDM_ML_DEBUG
149  edm::LogVerbatim("CaloGeometry") << "Corner[" << i << "] = " << co[i];
150 #endif
151  }
152 }

References cms::cuda::assert(), cms::cuda::co, mps_fire::i, localCorners(), ncorner_, AlCaHLTBitMon_ParallelJobs::p, MetAnalyzer::pv(), and createJobs::tmp.

Referenced by HGCalGeometryLoader::buildGeom(), and CaloGeometryDBEP< T, U >::produceAligned().

◆ dz()

float FlatHexagon::dz ( ) const
inline

Definition at line 56 of file FlatHexagon.h.

56 { return param()[k_dZ]; }

References k_dZ, and CaloCellGeometry::param().

Referenced by backCtr(), Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dzPull(), and localCorners().

◆ etaPos()

float FlatHexagon::etaPos ( ) const
inlineoverridevirtual

Reimplemented from CaloCellGeometry.

Definition at line 51 of file FlatHexagon.h.

51 { return m_global.eta(); }

References PV3DBase< T, PVType, FrameType >::eta(), and m_global.

Referenced by FlatHexagon(), operator<<(), and operator=().

◆ etaSpan()

float FlatHexagon::etaSpan ( ) const
overridevirtual

Reimplemented from CaloCellGeometry.

Definition at line 101 of file FlatHexagon.cc.

101  {
102  assert(param() != nullptr);
103  float eta1 =
104  -std::log(std::tan(0.5 * std::atan((m_global.perp() + param()[k_R]) / std::max(tolmin, std::abs(m_global.z())))));
105  float eta2 =
106  -std::log(std::tan(0.5 * std::atan((m_global.perp() - param()[k_R]) / std::max(tolmin, std::abs(m_global.z())))));
107  float dEta = std::abs(eta1 - eta2);
108  return dEta;
109 }

References funct::abs(), cms::cuda::assert(), HLT_FULL_cff::dEta, HLT_FULL_cff::eta1, HLT_FULL_cff::eta2, k_R, dqm-mbProfile::log, m_global, SiStripPI::max, CaloCellGeometry::param(), PV3DBase< T, PVType, FrameType >::perp(), funct::tan(), tolmin, and PV3DBase< T, PVType, FrameType >::z().

◆ getLocal()

Pt3D FlatHexagon::getLocal ( const GlobalPoint global) const

Definition at line 117 of file FlatHexagon.cc.

117  {
118  Pt3D local = m_tr.inverse() * Pt3D(global.x(), global.y(), global.z());
119 #ifdef EDM_ML_DEBUG
120  edm::LogVerbatim("CaloGeometry") << "FlatHexagon::Global " << global.x() << ":" << global.y() << ":" << global.z()
121  << " Local " << local.x() << ":" << local.y() << ":" << local.z();
122 #endif
123  return local;
124 }

References DTRecHitClients_cfi::local, m_tr, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

◆ getPhiAxis()

CCGFloat FlatHexagon::getPhiAxis ( ) const

Definition at line 128 of file FlatHexagon.cc.

128 { return m_axis.phi(); }

References m_axis, and PV3DBase< T, PVType, FrameType >::phi().

Referenced by operator<<().

◆ getPosition() [1/2]

GlobalPoint const& FlatHexagon::getPosition ( ) const
inlineoverridevirtual

Returns the position of reference for this cell.

Reimplemented from CaloCellGeometry.

Definition at line 49 of file FlatHexagon.h.

49 { return m_global; }

References m_global.

Referenced by makeAxis(), and operator<<().

◆ getPosition() [2/2]

GlobalPoint FlatHexagon::getPosition ( const Pt3D local) const
overridevirtual

Reimplemented from CaloCellGeometry.

Definition at line 89 of file FlatHexagon.cc.

89  {
90  Pt3D glb = m_tr * local;
91 #ifdef EDM_ML_DEBUG
92  edm::LogVerbatim("CaloGeometry") << "FlatHexagon::Local " << local.x() << ":" << local.y() << ":" << local.z()
93  << " Global " << glb.x() << ":" << glb.y() << ":" << glb.z() << " TR " << m_tr.xx()
94  << ":" << m_tr.xy() << ":" << m_tr.xz() << ":" << m_tr.yx() << ":" << m_tr.yy()
95  << ":" << m_tr.yz() << ":" << m_tr.zx() << ":" << m_tr.zy() << ":" << m_tr.zz()
96  << ":" << m_tr.dx() << ":" << m_tr.dy() << ":" << m_tr.dz();
97 #endif
98  return GlobalPoint(glb.x(), glb.y(), glb.z());
99 }

References glb, DTRecHitClients_cfi::local, and m_tr.

◆ getThetaAxis()

CCGFloat FlatHexagon::getThetaAxis ( ) const

Definition at line 126 of file FlatHexagon.cc.

126 { return m_axis.theta(); }

References m_axis, and PV3DBase< T, PVType, FrameType >::theta().

Referenced by operator<<().

◆ getTransform()

void FlatHexagon::getTransform ( Tr3D tr,
Pt3DVec lptr 
) const
overridevirtual

--------— only needed by specific utility; overloaded when needed -—

Reimplemented from CaloCellGeometry.

Definition at line 183 of file FlatHexagon.cc.

183  {
185  const Pt3D gFront(p.x(), p.y(), p.z());
186  const DPt3D dgFront(p.x(), p.y(), p.z());
187 
188  Pt3D lFront;
189  assert(nullptr != param());
190  std::vector<Pt3D> lc(ncorner_, Pt3D(0, 0, 0));
191  localCorners(lc, param(), lFront);
192 
193  // figure out if reflction volume or not
194 
195  Pt3D lBack((lc[6] + lc[7] + lc[8] + lc[9] + lc[10] + lc[11]) / 6.0);
196 
197  const DPt3D dlFront(lFront.x(), lFront.y(), lFront.z());
198  const DPt3D dlBack(lBack.x(), lBack.y(), lBack.z());
199  const DPt3D dlOne(lc[0].x(), lc[0].y(), lc[0].z());
200 
201  const FVec3D dgAxis(axis().x(), axis().y(), axis().z());
202 
203  const DPt3D dmOne(m_corOne.x(), m_corOne.y(), m_corOne.z());
204 
205  const DPt3D dgBack(dgFront + (dlBack - dlFront).mag() * dgAxis);
206  DPt3D dgOne(dgFront + (dlOne - dlFront).mag() * (dmOne - dgFront).unit());
207 
208  const double dlangle((dlBack - dlFront).angle(dlOne - dlFront));
209  const double dgangle((dgBack - dgFront).angle(dgOne - dgFront));
210  const double dangle(dlangle - dgangle);
211 
212  if (1.e-6 < fabs(dangle)) { //guard against precision problems
213  const DPlane3D dgPl(dgFront, dgOne, dgBack);
214  const DPt3D dp2(dgFront + dgPl.normal().unit());
215 
216  DPt3D dgOld(dgOne);
217 
218  dgOne = (dgFront + HepGeom::Rotate3D(-dangle, dgFront, dp2) * DVec3D(dgOld - dgFront));
219  }
220 
221  tr = Tr3D(dlFront, dlBack, dlOne, dgFront, dgBack, dgOne);
222 
223  if (nullptr != lptr)
224  (*lptr) = lc;
225 }

References angle(), cms::cuda::assert(), axis(), MillePedeFileConverter_cfg::e, CaloCellGeometry::getPosition(), localCorners(), m_corOne, mag(), ncorner_, AlCaHLTBitMon_ParallelJobs::p, CaloCellGeometry::param(), unit(), x, y, and z.

Referenced by FlatHexagon(), and initCorners().

◆ initCorners()

void FlatHexagon::initCorners ( CaloCellGeometry::CornersVec co)
overrideprivatevirtual

Implements CaloCellGeometry.

Definition at line 227 of file FlatHexagon.cc.

227  {
228  if (co.uninitialized()) {
229  CornersVec& corners(co);
230  Pt3DVec lc;
231  Tr3D tr;
232  getTransform(tr, &lc);
233 
234  for (unsigned int i(0); i != ncorner_; ++i) {
235  const Pt3D corn(tr * lc[i]);
236  corners[i] = GlobalPoint(corn.x(), corn.y(), corn.z());
237  }
238  }
239 }

References cms::cuda::co, getTransform(), mps_fire::i, and ncorner_.

◆ localCorners()

void FlatHexagon::localCorners ( Pt3DVec vec,
const CCGFloat pv,
Pt3D ref 
)
static

Definition at line 154 of file FlatHexagon.cc.

154  {
155  assert(nullptr != pv);
156  assert(ncorner_ == lc.size());
157 
159  const CCGFloat r(pv[FlatHexagon::k_r]);
160  const CCGFloat R(pv[FlatHexagon::k_R]);
161 
162  lc[0] = Pt3D(0, -2 * R, -dz); // (0,-,-)
163  lc[1] = Pt3D(-r, -R, -dz); // (-,-,-)
164  lc[2] = Pt3D(-r, R, -dz); // (-,+,-)
165  lc[3] = Pt3D(0, 2 * R, -dz); // (0,+,-)
166  lc[4] = Pt3D(r, R, -dz); // (+,+,-)
167  lc[5] = Pt3D(r, -R, -dz); // (+,-,-)
168  lc[6] = Pt3D(0, -2 * R, dz); // (0,-,+)
169  lc[7] = Pt3D(-r, -R, dz); // (-,-,+)
170  lc[8] = Pt3D(-r, R, dz); // (-,+,+)
171  lc[9] = Pt3D(0, 2 * R, dz); // (0,+,+)
172  lc[10] = Pt3D(r, R, dz); // (+,+,+)
173  lc[11] = Pt3D(r, -R, dz); // (+,-,+)
174 
175  ref = oneBySix_ * (lc[0] + lc[1] + lc[2] + lc[3] + lc[4] + lc[5]);
176 #ifdef EDM_ML_DEBUG
177  edm::LogVerbatim("CaloGeometry") << "Ref " << ref << " Local Corners " << lc[0] << "|" << lc[1] << "|" << lc[2] << "|"
178  << lc[3] << "|" << lc[4] << "|" << lc[5] << "|" << lc[6] << "|" << lc[7] << "|"
179  << lc[8] << "|" << lc[9] << "|" << lc[10] << "|" << lc[11];
180 #endif
181 }

References cms::cuda::assert(), dz(), k_dZ, k_r, k_R, ncorner_, oneBySix_, MetAnalyzer::pv(), dttmaxenums::R, and alignCSCRings::r.

Referenced by createCorners(), getTransform(), HGCalGeometry::localCorners(), and vocalCorners().

◆ makeAxis()

GlobalVector FlatHexagon::makeAxis ( void  )
private

Definition at line 241 of file FlatHexagon.cc.

241 { return GlobalVector(backCtr() - getPosition()).unit(); }

References backCtr(), getPosition(), and Vector3DBase< T, FrameTag >::unit().

Referenced by FlatHexagon().

◆ operator=()

FlatHexagon & FlatHexagon::operator= ( const FlatHexagon tr)

Definition at line 30 of file FlatHexagon.cc.

30  {
31  CaloCellGeometry::operator=(tr);
32  if (this != &tr) {
33  m_axis = tr.m_axis;
34  m_corOne = tr.m_corOne;
35  m_local = tr.m_local;
36  m_global = tr.m_global;
37  m_tr = tr.m_tr;
38  }
39 #ifdef EDM_ML_DEBUG
40  edm::LogVerbatim("CaloGeometry") << "FlatHexagon(Copy): Local " << m_local << " Global " << m_global << " eta "
41  << etaPos() << " phi " << phiPos() << " Translation " << m_tr.getTranslation()
42  << " and rotation " << m_tr.getRotation();
43 #endif
44  return *this;
45 }

References etaPos(), m_axis, m_corOne, m_global, m_local, m_tr, and phiPos().

◆ phiPos()

float FlatHexagon::phiPos ( ) const
inlineoverridevirtual

Reimplemented from CaloCellGeometry.

Definition at line 52 of file FlatHexagon.h.

52 { return m_global.phi(); }

References m_global, and PV3DBase< T, PVType, FrameType >::phi().

Referenced by FlatHexagon(), operator<<(), and operator=().

◆ phiSpan()

float FlatHexagon::phiSpan ( ) const
overridevirtual

Reimplemented from CaloCellGeometry.

Definition at line 111 of file FlatHexagon.cc.

111  {
112  assert(param() != nullptr);
113  float dPhi = 2.0 * std::atan(param()[k_r] / std::max(tolmin, m_global.perp()));
114  return dPhi;
115 }

References cms::cuda::assert(), HLT_FULL_cff::dPhi, k_r, m_global, SiStripPI::max, CaloCellGeometry::param(), PV3DBase< T, PVType, FrameType >::perp(), and tolmin.

◆ setPosition()

void FlatHexagon::setPosition ( const GlobalPoint p)
inline

Definition at line 75 of file FlatHexagon.h.

75  {
76  m_global = p;
77  setRefPoint(p);
78  }

References m_global, AlCaHLTBitMon_ParallelJobs::p, and CaloCellGeometry::setRefPoint().

◆ vocalCorners()

void FlatHexagon::vocalCorners ( Pt3DVec vec,
const CCGFloat pv,
Pt3D ref 
) const
overridevirtual

Implements CaloCellGeometry.

Definition at line 132 of file FlatHexagon.cc.

132 { localCorners(vec, pv, ref); }

References localCorners(), and MetAnalyzer::pv().

◆ zPos()

float FlatHexagon::zPos ( ) const
inline

Definition at line 55 of file FlatHexagon.h.

55 { return m_global.z(); }

References m_global, and PV3DBase< T, PVType, FrameType >::z().

Member Data Documentation

◆ k_dZ

constexpr uint32_t FlatHexagon::k_dZ = 0
staticconstexpr

◆ k_r

constexpr uint32_t FlatHexagon::k_r = 1
staticconstexpr

◆ k_R

constexpr uint32_t FlatHexagon::k_R = 2
staticconstexpr

◆ m_axis

GlobalVector FlatHexagon::m_axis
private

Definition at line 90 of file FlatHexagon.h.

Referenced by axis(), FlatHexagon(), getPhiAxis(), getThetaAxis(), and operator=().

◆ m_corOne

Pt3D FlatHexagon::m_corOne
private

Definition at line 91 of file FlatHexagon.h.

Referenced by getTransform(), and operator=().

◆ m_global

GlobalPoint FlatHexagon::m_global
private

◆ m_local

Pt3D FlatHexagon::m_local
private

Definition at line 91 of file FlatHexagon.h.

Referenced by backCtr(), FlatHexagon(), and operator=().

◆ m_tr

Tr3D FlatHexagon::m_tr
private

Definition at line 93 of file FlatHexagon.h.

Referenced by backCtr(), FlatHexagon(), getLocal(), getPosition(), and operator=().

◆ ncorner_

constexpr unsigned int FlatHexagon::ncorner_ = 12
staticconstexpr

◆ ncornerBy2_

constexpr unsigned int FlatHexagon::ncornerBy2_ = 6
staticconstexpr

◆ oneBySix_

constexpr double FlatHexagon::oneBySix_ = 1.0 / 6.0
staticconstexpr
DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:428
FlatHexagon::Tr3D
CaloCellGeometry::Tr3D Tr3D
Definition: FlatHexagon.h:25
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
FlatHexagon::m_global
GlobalPoint m_global
Definition: FlatHexagon.h:92
tolmin
static const float tolmin
Definition: FlatHexagon.cc:21
FlatHexagon::phiPos
float phiPos() const override
Definition: FlatHexagon.h:52
PV3DBase::theta
Geom::Theta< T > theta() const
Definition: PV3DBase.h:72
FlatHexagon::localCorners
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
Definition: FlatHexagon.cc:154
CCGFloat
CaloCellGeometry::CCGFloat CCGFloat
Definition: CaloCellGeometry.cc:4
FlatHexagon::m_tr
Tr3D m_tr
Definition: FlatHexagon.h:93
FlatHexagon::m_corOne
Pt3D m_corOne
Definition: FlatHexagon.h:91
to
cms::cuda::assert
assert(be >=bs)
CaloCellGeometry::getCorners
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
Definition: CaloCellGeometry.h:73
DDAxes::x
GlobalVector
Global3DVector GlobalVector
Definition: GlobalVector.h:10
FlatHexagon::m_local
Pt3D m_local
Definition: FlatHexagon.h:91
HLT_FULL_cff.dPhi
dPhi
Definition: HLT_FULL_cff.py:13695
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
FlatHexagon::etaPos
float etaPos() const override
Definition: FlatHexagon.h:51
FlatHexagon::k_r
static constexpr uint32_t k_r
Definition: FlatHexagon.h:28
FlatHexagon::getTransform
void getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
Definition: FlatHexagon.cc:183
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: CaloCellGeometry.cc:5
Vector3DBase::unit
Vector3DBase unit() const
Definition: Vector3DBase.h:54
FlatHexagon::makeAxis
GlobalVector makeAxis(void)
Definition: FlatHexagon.cc:241
cms::cuda::co
__host__ __device__ VT * co
Definition: prefixScan.h:47
FlatHexagon::ncorner_
static constexpr unsigned int ncorner_
Definition: FlatHexagon.h:81
FlatHexagon::dz
float dz() const
Definition: FlatHexagon.h:56
HLT_FULL_cff.eta2
eta2
Definition: HLT_FULL_cff.py:9551
FlatHexagon::m_axis
GlobalVector m_axis
Definition: FlatHexagon.h:90
DDAxes::z
Tr3D
CaloCellGeometry::Tr3D Tr3D
Definition: CaloCellGeometry.cc:7
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
Point3DBase< float, GlobalTag >
FlatHexagon::k_R
static constexpr uint32_t k_R
Definition: FlatHexagon.h:29
FlatHexagon::ncornerBy2_
static constexpr unsigned int ncornerBy2_
Definition: FlatHexagon.h:82
FlatHexagon::Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: FlatHexagon.h:23
CaloCellGeometry::getPosition
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
Definition: CaloCellGeometry.h:80
HLT_FULL_cff.eta1
eta1
Definition: HLT_FULL_cff.py:9550
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
DPt3D
HepGeom::Point3D< double > DPt3D
Definition: CaloCellGeometry.cc:14
FlatHexagon::axis
const GlobalVector & axis() const
Definition: FlatHexagon.cc:130
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
DPlane3D
HepGeom::Plane3D< double > DPlane3D
Definition: CaloCellGeometry.cc:13
CaloCellGeometry::param
const CCGFloat * param() const
Definition: CaloCellGeometry.h:99
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
FVec3D
HepGeom::Vector3D< CCGFloat > FVec3D
Definition: CaloCellGeometry.cc:9
FlatHexagon::getPosition
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
Definition: FlatHexagon.h:49
unit
Basic3DVector unit() const
Definition: Basic3DVectorLD.h:162
alignCSCRings.r
r
Definition: alignCSCRings.py:93
mag
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition: Basic3DVectorLD.h:127
CaloCellGeometry::CornersVec
EZArrayFL< GlobalPoint > CornersVec
Definition: CaloCellGeometry.h:57
FlatHexagon::k_dZ
static constexpr uint32_t k_dZ
Definition: FlatHexagon.h:27
CaloCellGeometry::setRefPoint
void setRefPoint(const GlobalPoint &pos)
Definition: CaloCellGeometry.h:130
FlatHexagon::backCtr
GlobalPoint backCtr(void) const
Definition: FlatHexagon.cc:243
HLT_FULL_cff.dEta
dEta
Definition: HLT_FULL_cff.py:13694
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
FlatHexagon::oneBySix_
static constexpr double oneBySix_
Definition: FlatHexagon.h:80
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
Pt3DVec
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: CaloCellGeometry.cc:6
DTRecHitClients_cfi.local
local
Definition: DTRecHitClients_cfi.py:10
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
CaloCellGeometry::CaloCellGeometry
CaloCellGeometry(void)
Definition: CaloCellGeometry.cc:19
glb
double glb
Definition: hdecay.h:103
dttmaxenums::R
Definition: DTTMax.h:29
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
DVec3D
HepGeom::Vector3D< double > DVec3D
Definition: FlatHexagon.cc:17
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37