#include <TangentCircle.h>
Public Member Functions | |
int | charge (float magz) |
double | curvatureError () |
GlobalVector | directionAtVertex () |
Return the direction at the vertex. More... | |
GlobalPoint | innerPoint () const |
GlobalPoint | outerPoint () const |
double | rho () const |
TangentCircle () | |
TangentCircle (const GlobalPoint &outerPoint, const GlobalPoint &innerPoint, const GlobalPoint &vertexPoint) | |
Copy of FastCircle. More... | |
TangentCircle (const GlobalVector &direction, const GlobalPoint &innerPoint, const GlobalPoint &outerPoint) | |
TangentCircle (const TangentCircle &primCircle, const GlobalPoint &outerPoint, const GlobalPoint &innerPoint) | |
Calculate the parameters of a circle which pass by 2 points (innerPoint and outerPoint) and which is tangent to primCircle. More... | |
double | vertexError () const |
GlobalPoint | vertexPoint () const |
double | x0 () const |
double | y0 () const |
Private Member Functions | |
int | chargeLocally (float magz, GlobalVector v) const |
GlobalVector | direction (const GlobalPoint &point) const |
GlobalPoint | getPosition (const TangentCircle &circle, const GlobalPoint &initalPosition, double theta, int direction) const |
double | isTangent (const TangentCircle &primCircle, const TangentCircle &secCircle) const |
Private Attributes | |
int | theCharge |
GlobalVector | theDirectionAtVertex |
GlobalPoint | theInnerPoint |
GlobalPoint | theOuterPoint |
double | theRho |
double | theVertexError |
GlobalPoint | theVertexPoint |
double | theX0 |
double | theY0 |
bool | valid |
Definition at line 7 of file TangentCircle.h.
|
inline |
Definition at line 13 of file TangentCircle.h.
TangentCircle::TangentCircle | ( | const GlobalVector & | direction, |
const GlobalPoint & | innerPoint, | ||
const GlobalPoint & | outerPoint | ||
) |
Calculate the circle from 2 points on the circle (the vertex=innerPoint and the outerPoint) and the tangent direction at the inner point
Definition at line 7 of file TangentCircle.cc.
References funct::cos(), HLTTauDQMOffline_cfi::denominator, direction(), SurfaceOrientation::inner, PV3DBase< T, PVType, FrameType >::mag(), mag(), SurfaceOrientation::outer, PV3DBase< T, PVType, FrameType >::perp2(), funct::sin(), theCharge, theDirectionAtVertex, theInnerPoint, theOuterPoint, theRho, theVertexError, theX0, theY0, valid, PV3DBase< T, PVType, FrameType >::x(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
TangentCircle::TangentCircle | ( | const GlobalPoint & | outerPoint, |
const GlobalPoint & | innerPoint, | ||
const GlobalPoint & | vertexPoint | ||
) |
Copy of FastCircle.
Definition at line 37 of file TangentCircle.cc.
References innerPoint(), FastCircle::isValid(), outerPoint(), PV3DBase< T, PVType, FrameType >::perp2(), FastCircle::rho(), theCharge, theDirectionAtVertex, theInnerPoint, theOuterPoint, theRho, theVertexError, theX0, theY0, valid, vertexPoint(), FastCircle::x0(), and FastCircle::y0().
TangentCircle::TangentCircle | ( | const TangentCircle & | primCircle, |
const GlobalPoint & | outerPoint, | ||
const GlobalPoint & | innerPoint | ||
) |
Calculate the parameters of a circle which pass by 2 points (innerPoint and outerPoint) and which is tangent to primCircle.
Definition at line 54 of file TangentCircle.cc.
References DeadROC_duringRun::dir, getPosition(), mps_fire::i, innerPoint(), isTangent(), LogDebug, mag(), outerPoint(), PV3DBase< T, PVType, FrameType >::perp2(), rho(), alignCSCRings::s, theCharge, theDirectionAtVertex, theInnerPoint, theOuterPoint, theRho, theta(), theVertexError, theVertexPoint, theX0, theY0, valid, bphysicsOniaDQM_cfi::vertex, vertexPoint(), PV3DBase< T, PVType, FrameType >::x(), x0(), PV3DBase< T, PVType, FrameType >::y(), and y0().
int TangentCircle::charge | ( | float | magz | ) |
Definition at line 205 of file TangentCircle.cc.
References chargeLocally(), directionAtVertex(), F(), LogDebug, theCharge, theVertexPoint, theX0, theY0, findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by TangentHelix::charge().
|
private |
Definition at line 231 of file TangentCircle.cc.
References theOuterPoint, theVertexPoint, findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by charge().
double TangentCircle::curvatureError | ( | ) |
Definition at line 193 of file TangentCircle.cc.
References directionAtVertex(), mag(), rho(), theInnerPoint, theOuterPoint, theVertexError, and theVertexPoint.
Referenced by TangentHelix::curvatureError().
|
private |
Definition at line 125 of file TangentCircle.cc.
References change_name::diff, DeadROC_duringRun::dir, LogDebug, mag(), point, theInnerPoint, theOuterPoint, theX0, and theY0.
Referenced by directionAtVertex(), and TangentCircle().
GlobalVector TangentCircle::directionAtVertex | ( | ) |
Return the direction at the vertex.
Definition at line 147 of file TangentCircle.cc.
References direction(), theDirectionAtVertex, theVertexPoint, and PV3DBase< T, PVType, FrameType >::x().
Referenced by charge(), curvatureError(), and TangentHelix::directionAtVertex().
|
private |
Definition at line 153 of file TangentCircle.cc.
References alpha, HLT_FULL_cff::beta, funct::cos(), DeadROC_duringRun::dir, CustomPhysics_cfi::gamma, cmsLHEtoEOSManager::l, rho(), Validation_hcalonly_cfi::sign, funct::sin(), theta(), PV3DBase< T, PVType, FrameType >::x(), x0(), testProducerWithPsetDescEmpty_cfi::x2, PV3DBase< T, PVType, FrameType >::y(), y0(), and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by TangentCircle().
|
inline |
Definition at line 46 of file TangentCircle.h.
References theInnerPoint.
Referenced by TangentCircle().
|
private |
Definition at line 114 of file TangentCircle.cc.
References min(), rho(), x0(), and y0().
Referenced by TangentCircle().
|
inline |
Definition at line 44 of file TangentCircle.h.
References theOuterPoint.
Referenced by TangentCircle().
|
inline |
Definition at line 42 of file TangentCircle.h.
References theRho.
Referenced by Lepton.Lepton::absIsoFromEA(), Muon.Muon::absIsoWithFSR(), curvatureError(), getPosition(), isTangent(), TangentHelix::rho(), and TangentCircle().
|
inline |
Definition at line 50 of file TangentCircle.h.
References theVertexError.
Referenced by TangentHelix::vertexError().
|
inline |
Definition at line 48 of file TangentCircle.h.
References theVertexPoint.
Referenced by TangentCircle(), and TangentHelix::TangentHelix().
|
inline |
Definition at line 38 of file TangentCircle.h.
References theX0.
Referenced by getPosition(), isTangent(), and TangentCircle().
|
inline |
Definition at line 40 of file TangentCircle.h.
References theY0.
Referenced by getPosition(), isTangent(), and TangentCircle().
|
private |
Definition at line 70 of file TangentCircle.h.
Referenced by charge(), and TangentCircle().
|
private |
Definition at line 61 of file TangentCircle.h.
Referenced by directionAtVertex(), and TangentCircle().
|
private |
Definition at line 57 of file TangentCircle.h.
Referenced by curvatureError(), direction(), innerPoint(), and TangentCircle().
|
private |
Definition at line 58 of file TangentCircle.h.
Referenced by chargeLocally(), curvatureError(), direction(), outerPoint(), and TangentCircle().
|
private |
Signed radius of the circle (=q*R)
Definition at line 65 of file TangentCircle.h.
Referenced by rho(), and TangentCircle().
|
private |
the error on the vertex position along the direction of the circle at this point
Definition at line 67 of file TangentCircle.h.
Referenced by curvatureError(), TangentCircle(), and vertexError().
|
private |
Definition at line 59 of file TangentCircle.h.
Referenced by charge(), chargeLocally(), curvatureError(), directionAtVertex(), TangentCircle(), and vertexPoint().
|
private |
x center of the circle
Definition at line 63 of file TangentCircle.h.
Referenced by charge(), direction(), TangentCircle(), and x0().
|
private |
y center of the circle
Definition at line 64 of file TangentCircle.h.
Referenced by charge(), direction(), TangentCircle(), and y0().
|
private |
Definition at line 69 of file TangentCircle.h.
Referenced by TangentCircle().