#include <MSLayersAtAngle.h>
Public Member Functions | |
const MSLayer * | findLayer (const MSLayer &layer) const |
MSLayersAtAngle () | |
MSLayersAtAngle (const std::vector< MSLayer > &layers) | |
void | print () const |
int | size () const |
float | sumX0D (const PixelRecoPointRZ &pointI, const PixelRecoPointRZ &pointO, float tip=0.) const |
float | sumX0D (const PixelRecoPointRZ &pointI, const PixelRecoPointRZ &pointM, const PixelRecoPointRZ &pointO, float tip=0.) const |
void | update (const MSLayer &layer) |
Private Types | |
typedef std::vector< MSLayer > ::const_iterator | LayerItr |
Private Member Functions | |
LayerItr | findLayer (const PixelRecoPointRZ &point, LayerItr i1, LayerItr i2) const |
float | sum2RmRn (LayerItr i1, LayerItr i2, float rTarget, const PixelRecoLineRZ &line) const |
Private Attributes | |
std::vector< MSLayer > | theLayers |
Definition at line 14 of file MSLayersAtAngle.h.
|
private |
Definition at line 37 of file MSLayersAtAngle.h.
|
inline |
Definition at line 17 of file MSLayersAtAngle.h.
MSLayersAtAngle::MSLayersAtAngle | ( | const std::vector< MSLayer > & | layers | ) |
Definition at line 10 of file MSLayersAtAngle.cc.
References python.multivaluedict::sort(), and theLayers.
Definition at line 14 of file MSLayersAtAngle.cc.
References spr::find(), and theLayers.
Referenced by MSLayersKeeperX0Averaged::init(), MSLayersKeeperX0AtEta::init(), MSLayersKeeperX0Averaged::layer(), MSLayersKeeperX0DetLayer::layer(), sumX0D(), MSLayer::sumX0D(), and MSLayer::x0().
|
private |
Definition at line 91 of file MSLayersAtAngle.cc.
References kinem::EPSILON, and f.
void MSLayersAtAngle::print | ( | void | ) | const |
Definition at line 111 of file MSLayersAtAngle.cc.
References gather_cfg::cout, and theLayers.
|
inline |
|
private |
Definition at line 70 of file MSLayersAtAngle.cc.
References PixelRecoLineRZ::cotLine(), cross(), f, and funct::log().
Referenced by sumX0D().
float MSLayersAtAngle::sumX0D | ( | const PixelRecoPointRZ & | pointI, |
const PixelRecoPointRZ & | pointO, | ||
float | tip = 0. |
||
) | const |
Definition at line 34 of file MSLayersAtAngle.cc.
References findLayer(), PixelRecoPointRZ::r(), mathSSE::sqrt(), sum2RmRn(), and theLayers.
Referenced by MultipleScatteringParametrisation::operator()().
float MSLayersAtAngle::sumX0D | ( | const PixelRecoPointRZ & | pointI, |
const PixelRecoPointRZ & | pointM, | ||
const PixelRecoPointRZ & | pointO, | ||
float | tip = 0. |
||
) | const |
Definition at line 48 of file MSLayersAtAngle.cc.
References findLayer(), geometryCSVtoXML::line, PixelRecoPointRZ::r(), funct::sqr(), mathSSE::sqrt(), sum2RmRn(), and theLayers.
void MSLayersAtAngle::update | ( | const MSLayer & | layer | ) |
Definition at line 22 of file MSLayersAtAngle.cc.
References spr::find(), python.multivaluedict::sort(), and theLayers.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 34 of file MSLayersAtAngle.h.
Referenced by findLayer(), MSLayersAtAngle(), print(), size(), sumX0D(), and update().