29 double radLenIncm=999999;
30 double intLenIncm=999999;
34 std::cout <<
" Problem in the segments " <<
detector_ <<
" " << out.whichDetector() <<std::endl;
42 if (in.whichSubDetector()==
EcalBarrel) det = 1;
43 if (in.whichSubDetector()==
EcalEndcap) det = 2;
133 if(!seg.
entrance().getDetId().null())
134 ost << seg.
entrance().getDetId()() ;
137 ost << seg.
entrance().whichDetector() ;
142 if(!seg.
exit().getDetId().null())
143 ost << seg.
exit().getDetId()() ;
145 ost << seg.
exit().whichDetector() ;
167 ost <<
"ECAL-HCAL GAP ";
170 ost <<
"PS-ECAL GAP";
const ECALProperties * ecalProperties(int onEcal) const
ECAL properties.
double radLenIncm() const
Radiation length in cm.
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)
const PreshowerLayer1Properties * layer1Properties(int onLayer1) const
Preshower Layer1 properties.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
double interactionLength() const
Interaction length in cm.
double radLenIncm() const
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)
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.
double radLenIncm() const
Radiation length in cm.
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
Muon critical energy in GeV.
double pseeRadLenIncm() const
properties of the material between ES and EE
double interactionLength() const
Interaction length in cm: 18.5 for Standard ECAL.