#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(), alignCSCRings::e, f, and create_public_lumi_plots::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 progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 34 of file MSLayersAtAngle.h.
Referenced by findLayer(), MSLayersAtAngle(), print(), size(), sumX0D(), and update().