Go to the documentation of this file.
29 double intLenIncm = 999999;
84 if (depth < sentrance_ || depth >
sexit_)
90 if (depth < sX0entrance_ || depth >
sX0exit_)
96 if (depth < sL0entrance_ || depth >
sL0exit_)
105 if (!seg.
entrance().getDetId().null())
108 ost << seg.
entrance().whichDetector();
113 if (!seg.
exit().getDetId().null())
114 ost << seg.
exit().getDetId()();
116 ost << seg.
exit().whichDetector();
135 ost <<
"ECAL-HCAL GAP ";
138 ost <<
"PS-ECAL GAP";
const HCALProperties * hcalProperties(int onHcal) const
HCAL properties.
const ECALProperties * ecalProperties(int onEcal) const
ECAL properties.
double interactionLength() const override
Muon critical energy in GeV.
const PreshowerLayer2Properties * layer2Properties(int onLayer2) const
Preshower Layer2 properties.
double radLenIncm() const override
Radiation length in cm.
const PreshowerLayer1Properties * layer1Properties(int onLayer1) const
Preshower Layer1 properties.
std::ostream & operator<<(std::ostream &ost, const CaloSegment &seg)
Material material() const
material
double pseeIntLenIncm() const
properties of the material between ES and EE; there is about 12 cm between the two.
double radLenIncm() const override
Radiation length in cm.
double interactionLength() const override
Interaction length in cm.
XYZPoint positionAtDepthinX0(double depth) const
space point corresponding to this depth (in X0)
double L0length() const
length of the segment (in L9)
const CaloPoint & entrance() const
first point of the segment
DetId::Detector detector_
XYZVectorD XYZVector
spatial vector with cartesian internal representation
const CaloPoint & exit() const
last point of the segment (there are only two)
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
XYZPoint positionAtDepthincm(double depth) const
space point corresponding to this depth (in cm)
double pseeRadLenIncm() const
properties of the material between ES and EE
double radLenIncm() const override
Radiation length in cm.
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)
XYZPoint positionAtDepthinL0(double depth) const
space point corresponding to this depth (in L0)
double interactionLength() const override
Interaction length in cm: 18.5 for Standard ECAL.
double x0FromCm(double cm) const
cm to X0 conversion
double X0length() const
length of the segment (in X0)