49 inline const CaloPoint&
exit()
const {
return exit_;};
bool operator<(const CaloSegment &s) const
ordering operator wrt to the particle direction
bool operator()(const CaloSegment &segment) const
inX0Segment(double depth)
double length() const
length of the segment (in cm)
const CaloPoint & entrance() const
first point of the segment
double X0length() const
length of the segment (in X0)
double sL0Exit() const
absciss of the exit (in L0)
std::ostream & operator<<(std::ostream &o, const CaloSegment &cid)
inL0Segment(double depth)
double sL0Entrance() const
absciss of the entrance (in L0)
XYZPoint positionAtDepthinX0(double depth) const
space point corresponding to this depth (in X0)
double L0length() const
length of the segment (in L9)
Material material() const
material
const CaloPoint & exit() const
last point of the segment (there are only two)
double sX0Exit() const
absciss of the exit (in X0)
double sEntrance() const
absciss of the entrance (in cm)
double sExit() const
absciss of the exit (in cm)
bool operator()(const CaloSegment &segment) const
This class is used to determine if a point lies in the segment.
double sX0Entrance() const
absciss of the entrance (in X0)
math::XYZVector XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
CaloSegment(const CaloPoint &in, const CaloPoint &out, double si, double siX0, double liX0, Material mat, const CaloGeometryHelper *)
XYZPoint positionAtDepthinL0(double depth) const
space point corresponding to this depth (in L0)
DetId::Detector detector_
double x0FromCm(double cm) const
cm to X0 conversion
DetId::Detector whichDetector() const
In which detector.
XYZPoint positionAtDepthincm(double depth) const
space point corresponding to this depth (in cm)
bool operator()(const CaloSegment &segment) const