#include <CaloSegment.h>
Classes | |
class | inL0Segment |
class | inSegment |
class | inX0Segment |
This class is used to determine if a point lies in the segment. More... | |
Public Types | |
enum | Material { PbWO4 =0, CRACK =1, GAP =2, PS =3, HCAL =4, ECALHCALGAP =5, PSEEGAP =6 } |
typedef math::XYZVector | XYZPoint |
typedef math::XYZVector | XYZVector |
Public Member Functions | |
CaloSegment (const CaloPoint &in, const CaloPoint &out, double si, double siX0, double liX0, Material mat, const CaloGeometryHelper *) | |
const CaloPoint & | entrance () const |
first point of the segment More... | |
const CaloPoint & | exit () const |
last point of the segment (there are only two) More... | |
double | L0length () const |
length of the segment (in L9) More... | |
double | length () const |
length of the segment (in cm) More... | |
Material | material () const |
material More... | |
bool | operator< (const CaloSegment &s) const |
ordering operator wrt to the particle direction More... | |
XYZPoint | positionAtDepthincm (double depth) const |
space point corresponding to this depth (in cm) More... | |
XYZPoint | positionAtDepthinL0 (double depth) const |
space point corresponding to this depth (in L0) More... | |
XYZPoint | positionAtDepthinX0 (double depth) const |
space point corresponding to this depth (in X0) More... | |
double | sEntrance () const |
absciss of the entrance (in cm) More... | |
double | sExit () const |
absciss of the exit (in cm) More... | |
double | sL0Entrance () const |
absciss of the entrance (in L0) More... | |
double | sL0Exit () const |
absciss of the exit (in L0) More... | |
double | sX0Entrance () const |
absciss of the entrance (in X0) More... | |
double | sX0Exit () const |
absciss of the exit (in X0) More... | |
DetId::Detector | whichDetector () const |
In which detector. More... | |
double | x0FromCm (double cm) const |
cm to X0 conversion More... | |
double | X0length () const |
length of the segment (in X0) More... | |
~CaloSegment () | |
Private Attributes | |
DetId::Detector | detector_ |
CaloPoint | entrance_ |
CaloPoint | exit_ |
double | L0length_ |
double | length_ |
Material | material_ |
double | sentrance_ |
double | sexit_ |
double | sL0entrance_ |
double | sL0exit_ |
double | sX0entrance_ |
double | sX0exit_ |
double | X0length_ |
Definition at line 15 of file CaloSegment.h.
typedef math::XYZVector CaloSegment::XYZPoint |
Definition at line 21 of file CaloSegment.h.
Definition at line 20 of file CaloSegment.h.
Enumerator | |
---|---|
PbWO4 | |
CRACK | |
GAP | |
PS | |
HCAL | |
ECALHCALGAP | |
PSEEGAP |
Definition at line 23 of file CaloSegment.h.
CaloSegment::CaloSegment | ( | const CaloPoint & | in, |
const CaloPoint & | out, | ||
double | si, | ||
double | siX0, | ||
double | liX0, | ||
Material | mat, | ||
const CaloGeometryHelper * | myCalorimeter | ||
) |
Definition at line 11 of file CaloSegment.cc.
References gather_cfg::cout, CRACK, detector_, EcalBarrel, EcalEndcap, ECALHCALGAP, Calorimeter::ecalProperties(), entrance_, exit_, GAP, HCAL, Calorimeter::hcalProperties(), PreshowerProperties::interactionLength(), ECALProperties::interactionLength(), HCALProperties::interactionLength(), L0length_, Calorimeter::layer1Properties(), Calorimeter::layer2Properties(), length_, mag2(), PbWO4, PS, PSEEGAP, PreshowerLayer2Properties::pseeIntLenIncm(), PreshowerLayer2Properties::pseeRadLenIncm(), PreshowerProperties::radLenIncm(), ECALProperties::radLenIncm(), HCALProperties::radLenIncm(), sentrance_, sexit_, sL0entrance_, sL0exit_, mathSSE::sqrt(), sX0entrance_, sX0exit_, and X0length_.
|
inline |
Definition at line 27 of file CaloSegment.h.
|
inline |
first point of the segment
Definition at line 47 of file CaloSegment.h.
References entrance_.
Referenced by operator<<().
|
inline |
last point of the segment (there are only two)
Definition at line 49 of file CaloSegment.h.
References exit_.
Referenced by argparse.ArgumentParser::error(), python.rootplot.argparse.ArgumentParser::error(), and operator<<().
|
inline |
length of the segment (in L9)
Definition at line 45 of file CaloSegment.h.
References L0length_.
Referenced by EcalHitMaker::buildSegments(), and operator<<().
|
inline |
length of the segment (in cm)
Definition at line 41 of file CaloSegment.h.
References length_.
Referenced by Vispa.Views.LineDecayView.DecayLine::arrowBoundingRect(), EcalHitMaker::buildSegments(), Vispa.Views.LineDecayView.DecayLine::labelBoundingRect(), operator<<(), and Vispa.Views.LineDecayView.DecayLine::paint().
|
inline |
material
Definition at line 55 of file CaloSegment.h.
References material_.
Referenced by operator<<().
|
inline |
ordering operator wrt to the particle direction
Definition at line 52 of file CaloSegment.h.
References sEntrance(), sentrance_, sExit(), and sexit_.
CaloSegment::XYZPoint CaloSegment::positionAtDepthincm | ( | double | depth | ) | const |
space point corresponding to this depth (in cm)
Definition at line 105 of file CaloSegment.cc.
References entrance_, exit_, sentrance_, and sexit_.
CaloSegment::XYZPoint CaloSegment::positionAtDepthinL0 | ( | double | depth | ) | const |
space point corresponding to this depth (in L0)
Definition at line 119 of file CaloSegment.cc.
References entrance_, exit_, sL0entrance_, and sL0exit_.
CaloSegment::XYZPoint CaloSegment::positionAtDepthinX0 | ( | double | depth | ) | const |
space point corresponding to this depth (in X0)
Definition at line 112 of file CaloSegment.cc.
References entrance_, exit_, sX0entrance_, and sX0exit_.
|
inline |
absciss of the entrance (in cm)
Definition at line 29 of file CaloSegment.h.
References sentrance_.
Referenced by CaloSegment::inSegment::operator()(), and operator<().
|
inline |
absciss of the exit (in cm)
Definition at line 31 of file CaloSegment.h.
References sexit_.
Referenced by CaloSegment::inSegment::operator()(), and operator<().
|
inline |
absciss of the entrance (in L0)
Definition at line 37 of file CaloSegment.h.
References sL0entrance_.
Referenced by CaloSegment::inL0Segment::operator()().
|
inline |
absciss of the exit (in L0)
Definition at line 39 of file CaloSegment.h.
References sL0exit_.
Referenced by CaloSegment::inL0Segment::operator()().
|
inline |
absciss of the entrance (in X0)
Definition at line 33 of file CaloSegment.h.
References sX0entrance_.
Referenced by CaloSegment::inX0Segment::operator()().
|
inline |
absciss of the exit (in X0)
Definition at line 35 of file CaloSegment.h.
References sX0exit_.
Referenced by CaloSegment::inX0Segment::operator()().
|
inline |
double CaloSegment::x0FromCm | ( | double | cm | ) | const |
cm to X0 conversion
Definition at line 126 of file CaloSegment.cc.
References length_, sX0entrance_, and X0length_.
|
inline |
length of the segment (in X0)
Definition at line 43 of file CaloSegment.h.
References X0length_.
Referenced by EcalHitMaker::buildSegments(), and operator<<().
|
private |
Definition at line 82 of file CaloSegment.h.
Referenced by CaloSegment(), and whichDetector().
|
private |
Definition at line 70 of file CaloSegment.h.
Referenced by CaloSegment(), entrance(), positionAtDepthincm(), positionAtDepthinL0(), and positionAtDepthinX0().
|
private |
Definition at line 71 of file CaloSegment.h.
Referenced by CaloSegment(), exit(), positionAtDepthincm(), positionAtDepthinL0(), and positionAtDepthinX0().
|
private |
Definition at line 80 of file CaloSegment.h.
Referenced by CaloSegment(), and L0length().
|
private |
Definition at line 76 of file CaloSegment.h.
Referenced by CaloSegment(), length(), and x0FromCm().
|
private |
Definition at line 81 of file CaloSegment.h.
Referenced by material().
|
private |
Definition at line 72 of file CaloSegment.h.
Referenced by CaloSegment(), operator<(), positionAtDepthincm(), and sEntrance().
|
private |
Definition at line 73 of file CaloSegment.h.
Referenced by CaloSegment(), operator<(), positionAtDepthincm(), and sExit().
|
private |
Definition at line 78 of file CaloSegment.h.
Referenced by CaloSegment(), positionAtDepthinL0(), and sL0Entrance().
|
private |
Definition at line 79 of file CaloSegment.h.
Referenced by CaloSegment(), positionAtDepthinL0(), and sL0Exit().
|
private |
Definition at line 74 of file CaloSegment.h.
Referenced by CaloSegment(), positionAtDepthinX0(), sX0Entrance(), and x0FromCm().
|
private |
Definition at line 75 of file CaloSegment.h.
Referenced by CaloSegment(), positionAtDepthinX0(), and sX0Exit().
|
private |
Definition at line 77 of file CaloSegment.h.
Referenced by CaloSegment(), x0FromCm(), and X0length().