#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, makeMuonMisalignmentScenario::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().
|
inline |
Definition at line 33 of file MSLayer.h.
References MSLayer::DataX0::DataX0(), dso_hidden, halfThickness(), position(), and range().
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, z, and PixelRecoLineRZ::zAtR().
Referenced by halfThickness().
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, 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(), sqr(), theFace, theHalfThickness, thePosition, theRange, findQualityFiles::v, and PixelRecoPointRZ::z().
Referenced by halfThickness().
|
inline |
|
inline |
Definition at line 49 of file MSLayer.h.
References MSLayer::DataX0::cotTheta, crossing(), distance2(), dso_hidden, mps_splice::line, connectstrParser::o, operator<(), operator==(), point, MSLayer::DataX0::sumX0D, theHalfThickness, and MSLayer::DataX0::x0.
Referenced by MSLayer().
bool MSLayer::operator< | ( | const MSLayer & | o | ) | const |
Definition at line 76 of file MSLayer.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, makeMuonMisalignmentScenario::endcap, PixelRecoRange< T >::max(), range(), theFace, and thePosition.
Referenced by halfThickness().
bool MSLayer::operator== | ( | const MSLayer & | o | ) | const |
Definition at line 71 of file MSLayer.cc.
References funct::abs(), f, theFace, and thePosition.
Referenced by halfThickness().
|
inline |
Definition at line 48 of file MSLayer.h.
References thePosition.
Referenced by MSLayer(), and operator<<().
|
inline |
Definition at line 45 of file MSLayer.h.
References theRange.
Referenced by MSLayer(), operator<(), and 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, makeMuonMisalignmentScenario::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(), 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 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().