29 double intLenIncm = 999999;
32 std::cout <<
" Problem in the segments " <<
detector_ <<
" " << out.whichDetector() << std::endl;
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 ECALProperties * ecalProperties(int onEcal) const
ECAL properties.
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 radLenIncm() const override
Radiation length in cm.
const PreshowerLayer1Properties * layer1Properties(int onLayer1) const
Preshower Layer1 properties.
double interactionLength() const override
Interaction length in cm.
double radLenIncm() const override
Radiation 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)
double interactionLength() const override
Interaction length in cm: 18.5 for Standard ECAL.
std::ostream & operator<<(std::ostream &ost, const CaloSegment &seg)
double radLenIncm() const override
Radiation length in cm.
const PreshowerLayer2Properties * layer2Properties(int onLayer2) const
Preshower Layer2 properties.
Material material() const
material
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
const HCALProperties * hcalProperties(int onHcal) const
HCAL properties.
const CaloPoint & exit() const
last point of the segment (there are only two)
double pseeIntLenIncm() const
properties of the material between ES and EE; there is about 12 cm between the two.
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
XYZPoint positionAtDepthincm(double depth) const
space point corresponding to this depth (in cm)
double interactionLength() const override
Muon critical energy in GeV.
double pseeRadLenIncm() const
properties of the material between ES and EE