#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(nullptr)) | |
MSLayer () | |
MSLayer (GeomDetEnumerators::Location part, float position, Range range, float halfThickness=0., const DataX0 &dataX0=DataX0(nullptr)) | |
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 35 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, Surface::bounds(), gather_cfg::cout, Reference_intrackfit_cff::endcap, phase1PixelTopology::layer, Bounds::length(), GeometricSearchDet::position(), BarrelDetLayer::specificSurface(), ForwardDetLayer::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(nullptr) |
||
) |
Definition at line 59 of file MSLayer.cc.
pair< PixelRecoPointRZ, bool > MSLayer::crossing | ( | const PixelRecoLineRZ & | line | ) | const |
Definition at line 84 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, gpuVertexFinder::eps, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), PixelRecoLineRZ::rAtZ(), std::swap(), theFace, thePosition, theRange, relativeConstraints::value, z, and PixelRecoLineRZ::zAtR().
Referenced by MultipleScatteringParametrisation::operator()().
pair< PixelRecoPointRZ, bool > MSLayer::crossing | ( | const SimpleLineRZ & | line | ) | const |
Definition at line 100 of file MSLayer.cc.
References Reference_intrackfit_cff::barrel, gpuVertexFinder::eps, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), SimpleLineRZ::rAtZ(), std::swap(), theFace, thePosition, theRange, relativeConstraints::value, z, and SimpleLineRZ::zAtR().
float MSLayer::distance2 | ( | const PixelRecoPointRZ & | point | ) | const |
Definition at line 118 of file MSLayer.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, PixelRecoRange< T >::inside(), PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), PixelRecoPointRZ::r(), sqr(), theFace, theHalfThickness, thePosition, theRange, findQualityFiles::v, and PixelRecoPointRZ::z().
|
inline |
|
inline |
bool MSLayer::operator< | ( | const MSLayer & | o | ) | const |
Definition at line 72 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 |
Definition at line 68 of file MSLayer.cc.
References funct::abs(), validate-o2o-wbm::f, theFace, and thePosition.
|
inline |
|
inline |
Definition at line 50 of file MSLayer.h.
References theRange.
Referenced by operator<(), and operator<<().
|
inline |
Definition at line 47 of file MSLayer.h.
References theSeqNum.
Referenced by MultipleScatteringParametrisation::operator()().
float MSLayer::sumX0D | ( | float | cotTheta | ) | const |
Definition at line 144 of file MSLayer.cc.
References MSLayer::DataX0::allLayers, Reference_intrackfit_cff::barrel, MSLayer::DataX0::cotTheta, Reference_intrackfit_cff::endcap, validate-o2o-wbm::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::MSLayersKeeperX0Averaged(), MultipleScatteringParametrisation::operator()(), and sumX0D().
float MSLayer::x0 | ( | float | cotTheta | ) | const |
Definition at line 131 of file MSLayer.cc.
References funct::abs(), MSLayer::DataX0::allLayers, Reference_intrackfit_cff::barrel, validate-o2o-wbm::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 68 of file MSLayer.h.
Referenced by crossing(), distance2(), face(), MSLayer(), operator<(), operator==(), sumX0D(), and x0().
|
private |
Definition at line 71 of file MSLayer.h.
Referenced by distance2(), halfThickness(), and MSLayer().
|
private |
Definition at line 69 of file MSLayer.h.
Referenced by crossing(), distance2(), MSLayer(), operator<(), operator==(), and position().
|
private |
Definition at line 70 of file MSLayer.h.
Referenced by crossing(), distance2(), MSLayer(), and range().
|
private |
Definition at line 74 of file MSLayer.h.
Referenced by MSLayersKeeper::getDataX0(), operator<<(), MSLayersKeeper::setDataX0(), sumX0D(), and x0().