#include <MSLayer.h>
Classes | |
struct | DataX0 |
Public Types | |
typedef PixelRecoRange< float > | Range |
Public Member Functions | |
std::pair< PixelRecoPointRZ, bool > | crossing (const PixelRecoLineRZ &line) const |
std::pair< PixelRecoPointRZ, bool > | crossing (const SimpleLineRZ &line) const |
float | distance2 (const PixelRecoPointRZ &point) const |
const GeomDetEnumerators::Location & | face () const |
float | halfThickness () const |
MSLayer (const DetLayer *layer, const DataX0 &dataX0=DataX0(0)) | |
MSLayer () | |
MSLayer (GeomDetEnumerators::Location part, float position, Range range, float halfThickness=0., const DataX0 &dataX0=DataX0(0)) | |
bool | operator< (const MSLayer &o) const |
bool | operator== (const MSLayer &o) const |
float | position () const |
const Range & | range () const |
int | seqNum () const |
float | sumX0D (float cotTheta) const |
float | x0 (float cotTheta) const |
Private Attributes | |
GeomDetEnumerators::Location | theFace |
float | theHalfThickness |
float | thePosition |
Range | theRange |
int | theSeqNum |
DataX0 | theX0Data |
Friends | |
class | MSLayersKeeper |
std::ostream & | operator<< (std::ostream &s, const MSLayer &l) |
typedef PixelRecoRange<float> MSLayer::Range |
Definition at line 33 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, Surface::bounds(), gather_cfg::cout, Reference_intrackfit_cff::endcap, Bounds::length(), GeometricSearchDet::position(), ForwardDetLayer::specificSurface(), BarrelDetLayer::specificSurface(), GeometricSearchDet::surface(), BarrelDetLayer::surface(), theFace, theHalfThickness, thePosition, theRange, Bounds::thickness(), and PV3DBase< T, PVType, FrameType >::z().
MSLayer::MSLayer | ( | GeomDetEnumerators::Location | part, |
float | position, | ||
Range | range, | ||
float | halfThickness = 0. , |
||
const DataX0 & | dataX0 = DataX0(0) |
||
) |
Definition at line 59 of file MSLayer.cc.
pair< PixelRecoPointRZ, bool > MSLayer::crossing | ( | const PixelRecoLineRZ & | line | ) | const |
Definition at line 90 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), PixelRecoLineRZ::rAtZ(), std::swap(), theFace, thePosition, theRange, relativeConstraints::value, detailsBasic3DVector::z, and PixelRecoLineRZ::zAtR().
Referenced by MultipleScatteringParametrisation::operator()().
pair< PixelRecoPointRZ, bool > MSLayer::crossing | ( | const SimpleLineRZ & | line | ) | const |
Definition at line 105 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), SimpleLineRZ::rAtZ(), std::swap(), theFace, thePosition, theRange, relativeConstraints::value, detailsBasic3DVector::z, and SimpleLineRZ::zAtR().
float MSLayer::distance2 | ( | const PixelRecoPointRZ & | point | ) | const |
Definition at line 122 of file MSLayer.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, PixelRecoRange< T >::inside(), PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), PixelRecoPointRZ::r(), funct::sqr(), theFace, theHalfThickness, thePosition, theRange, findQualityFiles::v, and PixelRecoPointRZ::z().
|
inline |
|
inline |
bool MSLayer::operator< | ( | const MSLayer & | o | ) | const |
Definition at line 76 of file MSLayer.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, Reference_intrackfit_cff::endcap, PixelRecoRange< T >::max(), range(), theFace, and thePosition.
bool MSLayer::operator== | ( | const MSLayer & | o | ) | const |
|
inline |
|
inline |
Definition at line 45 of file MSLayer.h.
References theRange.
Referenced by operator<(), and operator<<().
|
inline |
Definition at line 41 of file MSLayer.h.
References theSeqNum.
Referenced by MultipleScatteringParametrisation::operator()().
float MSLayer::sumX0D | ( | float | cotTheta | ) | const |
Definition at line 152 of file MSLayer.cc.
References MSLayer::DataX0::allLayers, Reference_intrackfit_cff::barrel, MSLayer::DataX0::cotTheta, Reference_intrackfit_cff::endcap, f, MSLayersAtAngle::findLayer(), MSLayer::DataX0::hasFSlope, MSLayer::DataX0::hasX0, GeomDetEnumerators::invalidLoc, MSLayersKeeper::layers(), likely, MSLayer::DataX0::slopeSumX0D, mathSSE::sqrt(), MSLayer::DataX0::sumX0D, sumX0D(), theFace, and theX0Data.
Referenced by MSLayersKeeperX0Averaged::init(), MultipleScatteringParametrisation::operator()(), and sumX0D().
float MSLayer::x0 | ( | float | cotTheta | ) | const |
Definition at line 137 of file MSLayer.cc.
References funct::abs(), MSLayer::DataX0::allLayers, Reference_intrackfit_cff::barrel, f, MSLayersAtAngle::findLayer(), MSLayer::DataX0::hasX0, MSLayersKeeper::layers(), likely, mathSSE::sqrt(), theFace, theX0Data, MSLayer::DataX0::x0, and x0().
Referenced by MultipleScatteringParametrisation::operator()(), and x0().
|
friend |
|
friend |
|
private |
Definition at line 66 of file MSLayer.h.
Referenced by crossing(), distance2(), face(), MSLayer(), operator<(), operator==(), sumX0D(), and x0().
|
private |
Definition at line 69 of file MSLayer.h.
Referenced by distance2(), halfThickness(), and MSLayer().
|
private |
Definition at line 67 of file MSLayer.h.
Referenced by crossing(), distance2(), MSLayer(), operator<(), operator==(), and position().
|
private |
Definition at line 68 of file MSLayer.h.
Referenced by crossing(), distance2(), MSLayer(), and range().
|
private |
Definition at line 72 of file MSLayer.h.
Referenced by MSLayersKeeper::getDataX0(), operator<<(), MSLayersKeeper::setDataX0(), sumX0D(), and x0().