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