#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, makeMuonMisalignmentScenario::endcap, nano_mu_digi_cff::layer, Bounds::length(), GeometricSearchDet::position(), ForwardDetLayer::specificSurface(), BarrelDetLayer::specificSurface(), BarrelDetLayer::surface(), theFace, theHalfThickness, thePosition, theRange, 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, HLT_2023v12_cff::eps, mps_splice::line, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), std::swap(), theFace, thePosition, theRange, and z.
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, HLT_2023v12_cff::eps, mps_splice::line, PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), std::swap(), theFace, thePosition, theRange, and z.
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(), point, sqr(), theFace, theHalfThickness, thePosition, theRange, and findQualityFiles::v.
|
inline |
|
inline |
bool MSLayer::operator< | ( | const MSLayer & | o | ) | const |
Definition at line 72 of file MSLayer.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, makeMuonMisalignmentScenario::endcap, PixelRecoRange< T >::max(), EcalTangentSkim_cfg::o, range(), theFace, and thePosition.
bool MSLayer::operator== | ( | const MSLayer & | o | ) | const |
Definition at line 68 of file MSLayer.cc.
References funct::abs(), f, EcalTangentSkim_cfg::o, theFace, and thePosition.
|
inline |
|
inline |
|
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, 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::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, 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().