1 #ifndef FastSimulation_CaloGeometryTools_CaloPoint_h 2 #define FastSimulation_CaloGeometryTools_CaloPoint_h 45 inline bool operator<(
const CaloPoint&
p)
const {
return this->
mag2() < p.mag2(); };
74 bool operator()(
const CaloPoint& point1,
const CaloPoint& point2) {
83 std::ostream&
operator<<(std::ostream&
o,
const CaloPoint& cid);
DetId::Detector whichDetector() const
std::ostream & operator<<(std::ostream &o, const CaloPoint &cid)
static const char layer_[]
DistanceToVertex(const XYZPoint &vert)
ALPAKA_FN_ACC int side(int ieta, int iphi)
int whichSubDetector() const
watch out, only valid in ECAL and preshower
CaloPoint()
Empty constructor.
CaloDirection getSide() const
returns the Side (see numbering)
bool operator<(const CaloPoint &p) const
DetId::Detector detector_
void setSubDetector(int i)
DetId getDetId() const
returns the cellID
math::XYZVector XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
static int position[264][3]
CaloDirection
Codes the local directions in the cell lattice.
void setDetId(DetId::Detector det)
bool operator()(const CaloPoint &point1, const CaloPoint &point2)