#include <MSLayer.h>
Classes | |
struct | DataX0 |
Public Types | |
typedef PixelRecoRange< float > | Range |
Public Member Functions | |
std::pair< PixelRecoPointRZ, bool > | crossing (const PixelRecoLineRZ &line) const |
float | distance (const PixelRecoPointRZ &point) const |
const GeomDetEnumerators::Location & | face () const |
float | halfThickness () const |
MSLayer (const DetLayer *layer, DataX0 dataX0=DataX0(0)) | |
MSLayer () | |
MSLayer (GeomDetEnumerators::Location part, float position, Range range, float halfThickness=0., DataX0 dataX0=DataX0(0)) | |
bool | operator< (const MSLayer &o) const |
bool | operator== (const MSLayer &o) const |
float | position () const |
const Range & | range () const |
float | sumX0D (float cotTheta) const |
float | x0 (float cotTheta) const |
Private Attributes | |
GeomDetEnumerators::Location | theFace |
float | theHalfThickness |
float | thePosition |
Range | theRange |
DataX0 | theX0Data |
Friends | |
struct | 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, BoundSurface::bounds(), gather_cfg::cout, Reference_intrackfit_cff::endcap, BoundDisk::innerRadius(), Bounds::length(), BoundDisk::outerRadius(), GeometricSearchDet::position(), Cylinder::radius(), 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. , |
||
DataX0 | dataX0 = DataX0(0) |
||
) |
Definition at line 59 of file MSLayer.cc.
pair< PixelRecoPointRZ, bool > MSLayer::crossing | ( | const PixelRecoLineRZ & | line | ) | const |
Definition at line 76 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), PixelRecoLineRZ::rAtZ(), theFace, thePosition, theRange, relativeConstraints::value, and PixelRecoLineRZ::zAtR().
float MSLayer::distance | ( | const PixelRecoPointRZ & | point | ) | const |
Definition at line 107 of file MSLayer.cc.
References abs, Reference_intrackfit_cff::barrel, Reference_intrackfit_cff::endcap, PixelRecoRange< T >::inside(), GeomDetEnumerators::invalidLoc, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), PixelRecoPointRZ::r(), funct::sqr(), mathSSE::sqrt(), theFace, theHalfThickness, thePosition, theRange, and PixelRecoPointRZ::z().
|
inline |
|
inline |
bool MSLayer::operator< | ( | const MSLayer & | o | ) | const |
Definition at line 138 of file MSLayer.cc.
References 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 37 of file MSLayer.h.
References theRange.
Referenced by operator<(), and operator<<().
float MSLayer::sumX0D | ( | float | cotTheta | ) | const |
Definition at line 169 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(), MSLayer::DataX0::slopeSumX0D, mathSSE::sqrt(), MSLayer::DataX0::sumX0D, sumX0D(), theFace, and theX0Data.
Referenced by MSLayersKeeperX0Averaged::init(), and sumX0D().
float MSLayer::x0 | ( | float | cotTheta | ) | const |
Definition at line 151 of file MSLayer.cc.
References abs, MSLayer::DataX0::allLayers, Reference_intrackfit_cff::barrel, Reference_intrackfit_cff::endcap, f, MSLayersAtAngle::findLayer(), MSLayer::DataX0::hasX0, GeomDetEnumerators::invalidLoc, MSLayersKeeper::layers(), mathSSE::sqrt(), theFace, theX0Data, MSLayer::DataX0::x0, and x0().
Referenced by MSLayersKeeperX0Averaged::init(), and x0().
|
friend |
|
friend |
|
private |
Definition at line 54 of file MSLayer.h.
Referenced by crossing(), distance(), face(), MSLayer(), operator<(), operator==(), sumX0D(), and x0().
|
private |
Definition at line 57 of file MSLayer.h.
Referenced by distance(), halfThickness(), and MSLayer().
|
private |
Definition at line 55 of file MSLayer.h.
Referenced by crossing(), distance(), MSLayer(), operator<(), operator==(), and position().
|
private |
Definition at line 56 of file MSLayer.h.
Referenced by crossing(), distance(), MSLayer(), and range().
|
private |
Definition at line 58 of file MSLayer.h.
Referenced by MSLayersKeeper::getDataX0(), operator<<(), MSLayersKeeper::setDataX0(), sumX0D(), and x0().