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";
double radLenIncm() const override
Radiation length in cm.
const PreshowerLayer1Properties * layer1Properties(int onLayer1) const
Preshower Layer1 properties.
double radLenIncm() const override
Radiation length in cm.
const ECALProperties * ecalProperties(int onEcal) const
ECAL properties.
const PreshowerLayer2Properties * layer2Properties(int onLayer2) const
Preshower Layer2 properties.
double pseeRadLenIncm() const
properties of the material between ES and EE
double interactionLength() const override
Interaction length in cm.
double pseeIntLenIncm() const
properties of the material between ES and EE; there is about 12 cm between the two.
XYZPoint positionAtDepthinX0(double depth) const
space point corresponding to this depth (in X0)
std::ostream & operator<<(std::ostream &ost, const CaloSegment &seg)
double radLenIncm() const override
Radiation length in cm.
const CaloPoint & exit() const
last point of the segment (there are only two)
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)
double interactionLength() const override
Muon critical energy in GeV.
XYZVectorD XYZVector
spatial vector with cartesian internal representation
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
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_
double X0length() const
length of the segment (in X0)
XYZPoint positionAtDepthinL0(double depth) const
space point corresponding to this depth (in L0)
const HCALProperties * hcalProperties(int onHcal) const
HCAL properties.
double x0FromCm(double cm) const
cm to X0 conversion
double interactionLength() const override
Interaction length in cm: 18.5 for Standard ECAL.