1 #ifndef FastSimulation_CaloGeometryTools_CaloPoint_h
2 #define FastSimulation_CaloGeometryTools_CaloPoint_h
50 {
return this->
mag2()<p.mag2() ;};
81 bool operator() (
const CaloPoint& point1,
const CaloPoint& point2)
90 std::ostream&
operator <<(std::ostream&
o ,
const CaloPoint& cid);
static const char layer_[]
DistanceToVertex(const XYZPoint &vert)
DetId getDetId() const
returns the cellID
bool operator<(const CaloPoint &p) const
CaloPoint()
Empty constructor.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
int whichSubDetector() const
watch out, only valid in ECAL and preshower
DetId::Detector detector_
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
DetId::Detector whichDetector() const
void setSubDetector(int i)
CaloDirection getSide() const
returns the Side (see numbering)
math::XYZVector XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
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)