HYDRA_development_version
|
#include <hmdcgeomobj.h>
Public Member Functions | |
HMdcLineParam () | |
~HMdcLineParam () | |
void | setParam (Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2) |
void | setParam (const HGeomVector &point, const HGeomVector &dir) |
void | setCoorSys (Int_t s, Int_t m=-1) |
void | setFirstPlane (HMdcPlane *fp) |
void | setSecondPlane (HMdcPlane *sp) |
void | copyPlanes (HMdcLineParam &lp) |
void | copyParam (const HMdcLineParam &lp) |
Bool_t | compare (const HMdcLineParam &tp, Double_t *lim) |
Bool_t | compare (const HMdcLineParam &tp, Double_t *lim, Double_t fact) |
void | setParam (Int_t ip, Double_t val) |
void | addToParam (Int_t ip, Double_t add) |
void | addToParam (Int_t ip1, Double_t add1, Int_t ip2, Double_t add2) |
void | setScParam (const Double_t *v1, Double_t s, const Double_t *v2) |
void | setScParam (const HMdcLineParam &tp, const Double_t *v1, Double_t s, const Double_t *v2) |
void | getLinePar (Double_t *v) |
void | setSegmentLine (Double_t r, Double_t z, Double_t theta, Double_t phi) |
HMdcLineParam & | operator= (HMdcLineParam &lp) |
void | transTo (const HGeomTransform *tr, Int_t sec=-3, Int_t mod=-3) |
void | transFrom (const HGeomTransform *tr, Int_t sec=-3, Int_t mod=-3) |
Int_t | getSec (void) const |
Int_t | getMod (void) const |
HMdcPlane * | getFirstPlane (void) |
HMdcPlane * | getSecondPlane (void) |
const HMdcPointOnPlane & | getFisrtPoint (void) const |
const HMdcPointOnPlane & | getSecondPoint (void) const |
const HGeomVector & | getDir (void) const |
Double_t | x1 (void) const |
Double_t | y1 (void) const |
Double_t | z1 (void) const |
Double_t | x2 (void) const |
Double_t | y2 (void) const |
Double_t | z2 (void) const |
Double_t | dX (void) const |
Double_t | dY (void) const |
Double_t | dZ (void) const |
Double_t | getThetaRad (void) const |
Double_t | getPhiRad (void) const |
Double_t | getThetaDeg (void) const |
Double_t | getPhiDeg (void) const |
Double_t | dZ1dX1 (void) const |
Double_t | dZ2dX2 (void) const |
Double_t | dZ1dY1 (void) const |
Double_t | dZ2dY2 (void) const |
Double_t | dDirXdX1 (void) const |
Double_t | dDirXdX2 (void) const |
Double_t | dDirYdY1 (void) const |
Double_t | dDirYdY2 (void) const |
Double_t | dDirZdX1 (void) const |
Double_t | dDirZdX2 (void) const |
Double_t | dDirZdY1 (void) const |
Double_t | dDirZdY2 (void) const |
Protected Attributes | |
HMdcPointOnPlane | point1 |
HMdcPointOnPlane | point2 |
HGeomVector | dir |
Int_t | sec |
Int_t | mod |
Private Member Functions | |
void | calcDir (void) |
void | calcDirXZ (void) |
void | calcDirYZ (void) |
Double_t | dXY (void) const |
Definition at line 206 of file hmdcgeomobj.h.
|
inline |
Definition at line 218 of file hmdcgeomobj.h.
|
inline |
Definition at line 219 of file hmdcgeomobj.h.
|
inline |
Definition at line 372 of file hmdcgeomobj.h.
References HMdcPointOnPlane::addToX(), HMdcPointOnPlane::addToY(), calcDirXZ(), calcDirYZ(), point1, and point2.
Referenced by addToParam(), HMdcTrackParam::operator()(), HMdcTrackFitterB::solutionOfLinearEquationsSystem(), and HMdcTrackFitterA::solutionOfLinearEquationsSystem().
|
inline |
Definition at line 366 of file hmdcgeomobj.h.
References addToParam().
|
inlineprivate |
Definition at line 399 of file hmdcgeomobj.h.
References dir, point1, point2, HGeomVector::setXYZ(), HMdcPointOnPlane::X(), HMdcPointOnPlane::Y(), and HMdcPointOnPlane::Z().
Referenced by setParam(), setScParam(), transFrom(), and transTo().
|
inlineprivate |
Definition at line 403 of file hmdcgeomobj.h.
References dir, point1, point2, HGeomVector::setX(), HGeomVector::setZ(), HMdcPointOnPlane::X(), and HMdcPointOnPlane::Z().
Referenced by addToParam(), and setParam().
|
inlineprivate |
Definition at line 408 of file hmdcgeomobj.h.
References dir, point1, point2, HGeomVector::setY(), HGeomVector::setZ(), HMdcPointOnPlane::Y(), and HMdcPointOnPlane::Z().
Referenced by addToParam(), and setParam().
|
inline |
Definition at line 342 of file hmdcgeomobj.h.
References point1, point2, HMdcPointOnPlane::X(), and HMdcPointOnPlane::Y().
Referenced by HMdcTrackFitterB::secondMethod(), and HMdcTrackFitterA::secondMethod().
|
inline |
Definition at line 350 of file hmdcgeomobj.h.
References point1, point2, HMdcPointOnPlane::X(), and HMdcPointOnPlane::Y().
|
inline |
Definition at line 322 of file hmdcgeomobj.h.
References dir, point1, point2, and HMdcPointOnPlane::setXYZ().
Referenced by HMdcTrackParam::operator()(), HMdcTrackFitterB::secondMethod(), and HMdcTrackFitterA::secondMethod().
|
inline |
Definition at line 315 of file hmdcgeomobj.h.
References HMdcPointOnPlane::getPlane(), mod, point1, point2, sec, and HMdcPointOnPlane::setPlane().
|
inline |
Definition at line 269 of file hmdcgeomobj.h.
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 270 of file hmdcgeomobj.h.
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 271 of file hmdcgeomobj.h.
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 272 of file hmdcgeomobj.h.
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 274 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdX().
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 275 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdX().
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 276 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdY().
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 277 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdY().
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 256 of file hmdcgeomobj.h.
References HGeomVector::getX().
Referenced by dXY(), getLinePar(), and getPhiRad().
|
inlineprivate |
Definition at line 282 of file hmdcgeomobj.h.
Referenced by getThetaRad().
|
inline |
Definition at line 257 of file hmdcgeomobj.h.
References HGeomVector::getY().
Referenced by dXY(), getLinePar(), and getPhiRad().
|
inline |
Definition at line 258 of file hmdcgeomobj.h.
References HGeomVector::getZ().
Referenced by getLinePar(), getThetaRad(), and setSegmentLine().
|
inline |
Definition at line 265 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdX().
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 267 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdY().
Referenced by HMdcWireData::fillLookupTableForDer().
|
inline |
Definition at line 266 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdX().
|
inline |
Definition at line 268 of file hmdcgeomobj.h.
References HMdcPointOnPlane::dZdY().
|
inline |
Definition at line 249 of file hmdcgeomobj.h.
References dir.
Referenced by HMdcSizesCellsLayer::calcImpactParam(), HMdcSizesCellsLayer::calcInOtherSecSys(), HMdcWireData::calcLeftRight(), HMdc34ClFinderSec::findClustersSeg2(), HMdcSizesCellsLayer::getAlpha(), HMdcSizesCellsLayer::getDist(), HMdcSizesCellsLayer::getImpact(), and HMdcSizesCellsLayer::getXSign().
|
inline |
Definition at line 245 of file hmdcgeomobj.h.
References HMdcPointOnPlane::getPlane().
Referenced by HMdcWiresArr::fillClusFitSim(), HMdc34ClFinderSec::findClustersSeg2(), HMdcHitSegFiller::setFitParam(), and HMdcHitSegFiller::setFitParamForSecondSec().
|
inline |
Definition at line 247 of file hmdcgeomobj.h.
References point1.
Referenced by HMdc34ClFinderSec::findClustersSeg2(), and HMdcSizesCells::transLineToOtherSec().
|
inline |
Definition at line 306 of file hmdcgeomobj.h.
References dX(), dY(), dZ(), x1(), y1(), and z1().
Referenced by HMdcWiresArr::collectAllWires().
|
inline |
Definition at line 244 of file hmdcgeomobj.h.
References mod.
|
inline |
Definition at line 262 of file hmdcgeomobj.h.
References getPhiRad().
Referenced by HMdcMille::sendToMille().
Double_t HMdcLineParam::getPhiRad | ( | void | ) | const |
Definition at line 546 of file hmdcgeomobj.cc.
Referenced by HMdc34ClFinderSec::findClustersSeg2(), and getPhiDeg().
|
inline |
Definition at line 243 of file hmdcgeomobj.h.
References sec.
Referenced by HMdcMille::calcDriftTime(), HMdcSizesCellsLayer::calcInOtherSecSys(), HMdcSizesCellsLayer::distanceSign(), HMdcWireData::fillLookupTableForDer(), HMdcSizesCellsLayer::getAlpha(), HMdcSizesCellsLayer::getDist(), HMdcSizesCellsLayer::getImpact(), HMdcSizesCellsLayer::getXSign(), HMdcSizesCells::transLineToAnotherSec(), and HMdcSizesCells::transLineToOtherSec().
|
inline |
Definition at line 246 of file hmdcgeomobj.h.
References HMdcPointOnPlane::getPlane().
Referenced by HMdcWiresArr::fillClusFitSim(), HMdc34ClFinderSec::findClustersSeg2(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), and HMdc12Fit::testRestOfWires().
|
inline |
Definition at line 248 of file hmdcgeomobj.h.
References point2.
Referenced by HMdc34ClFinderSec::findClustersSeg2(), and HMdcSizesCells::transLineToOtherSec().
|
inline |
Definition at line 261 of file hmdcgeomobj.h.
References getThetaRad().
Referenced by HMdcMille::sendToMille().
|
inline |
Definition at line 259 of file hmdcgeomobj.h.
Referenced by HMdc34ClFinderSec::findClustersSeg2(), and getThetaDeg().
|
inline |
void HMdcLineParam::setCoorSys | ( | Int_t | s, |
Int_t | m = -1 |
||
) |
Definition at line 520 of file hmdcgeomobj.cc.
Referenced by HMdcWiresArr::testRestForTrack().
|
inline |
Definition at line 224 of file hmdcgeomobj.h.
References HMdcPointOnPlane::setPlane().
Referenced by HMdcClustFromSeg::getClusterSlot(), and HMdcWiresArr::testRestForTrack().
|
inline |
Definition at line 328 of file hmdcgeomobj.h.
References calcDir(), HMdcPointOnPlane::calcPoint(), point1, and point2.
Referenced by HMdcWiresArr::calcTrack(), HMdcWiresArr::getTrack(), HMdcTrackFitterB::targetScan(), and HMdcWiresArr::testRestForTrack().
|
inline |
Definition at line 335 of file hmdcgeomobj.h.
References calcDir(), HMdcPointOnPlane::calcPoint(), point1, and point2.
|
inline |
Definition at line 359 of file hmdcgeomobj.h.
References calcDirXZ(), calcDirYZ(), point1, point2, HMdcPointOnPlane::setX(), and HMdcPointOnPlane::setY().
|
inline |
Definition at line 379 of file hmdcgeomobj.h.
References calcDir(), point1, point2, and HMdcPointOnPlane::subFromXY().
Referenced by HMdcTrackFitterA::downhillOnGradient().
|
inline |
Definition at line 389 of file hmdcgeomobj.h.
References calcDir(), HMdcPointOnPlane::getX(), HMdcPointOnPlane::getY(), point1, point2, and HMdcPointOnPlane::setXY().
|
inline |
Definition at line 225 of file hmdcgeomobj.h.
References HMdcPointOnPlane::setPlane().
Referenced by HMdcClustFromSeg::getClusterSlot(), and HMdcWiresArr::testRestForTrack().
void HMdcLineParam::setSegmentLine | ( | Double_t | r, |
Double_t | z, | ||
Double_t | theta, | ||
Double_t | phi | ||
) |
Definition at line 531 of file hmdcgeomobj.cc.
References HMdcPointOnPlane::calcPoint(), dZ(), point1, point2, x1(), x2(), y1(), y2(), and z2().
Referenced by HMdcClustFromSeg::getClusterSlot().
void HMdcLineParam::transFrom | ( | const HGeomTransform * | tr, |
Int_t | sec = -3 , |
||
Int_t | mod = -3 |
||
) |
Definition at line 562 of file hmdcgeomobj.cc.
References calcDir(), mod, point1, point2, sec, and HMdcPointOnPlane::transFrom().
Referenced by HMdcSizesCells::transLineToAnotherSec().
void HMdcLineParam::transTo | ( | const HGeomTransform * | tr, |
Int_t | sec = -3 , |
||
Int_t | mod = -3 |
||
) |
Definition at line 552 of file hmdcgeomobj.cc.
References calcDir(), mod, point1, point2, sec, and HMdcPointOnPlane::transTo().
Referenced by HMdcSizesCells::transLineToAnotherSec().
|
inline |
Definition at line 250 of file hmdcgeomobj.h.
References HMdcPointOnPlane::X().
Referenced by beamLine(), HMdcSizesCellsLayer::calcImpactParam(), HMdcSizesCellsLayer::calcInOtherSecSys(), directionFunctional(), HMdcSizesCellsLayer::distanceSign(), HMdcHitSegFiller::fillMdcSegByClus(), HMdcAlignerD::finalize(), HMdcClustFromSeg::getClusterSlot(), HMdcSizesCellsLayer::getDist(), HMdcSizesCellsLayer::getImpact(), getLinePar(), HMdcSizesCellsLayer::getXSign(), HMdcAlignerD::monitor(), HMdcMille::sendToMille(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), setSegmentLine(), and HMdc12Fit::testRestOfWires().
|
inline |
Definition at line 253 of file hmdcgeomobj.h.
References HMdcPointOnPlane::X().
Referenced by beamLine(), directionFunctional(), HMdcSizesCellsLayer::distanceSign(), HMdcHitSegFiller::fillMdcSegByClus(), HMdcAlignerD::finalize(), HMdcClustFromSeg::getClusterSlot(), HMdcAlignerD::monitor(), HMdcMille::sendToMille(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), setSegmentLine(), and HMdc12Fit::testRestOfWires().
|
inline |
Definition at line 251 of file hmdcgeomobj.h.
References HMdcPointOnPlane::Y().
Referenced by beamLine(), HMdcSizesCellsLayer::calcImpactParam(), HMdcSizesCellsLayer::calcInOtherSecSys(), directionFunctional(), HMdcSizesCellsLayer::distanceSign(), HMdcHitSegFiller::fillMdcSegByClus(), HMdcAlignerD::finalize(), HMdcClustFromSeg::getClusterSlot(), HMdcSizesCellsLayer::getDist(), HMdcSizesCellsLayer::getImpact(), getLinePar(), HMdcSizesCellsLayer::getXSign(), HMdcAlignerD::monitor(), HMdcMille::sendToMille(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), setSegmentLine(), and HMdc12Fit::testRestOfWires().
|
inline |
Definition at line 254 of file hmdcgeomobj.h.
References HMdcPointOnPlane::Y().
Referenced by beamLine(), directionFunctional(), HMdcSizesCellsLayer::distanceSign(), HMdcHitSegFiller::fillMdcSegByClus(), HMdcAlignerD::finalize(), HMdcClustFromSeg::getClusterSlot(), HMdcAlignerD::monitor(), HMdcMille::sendToMille(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), setSegmentLine(), and HMdc12Fit::testRestOfWires().
|
inline |
Definition at line 252 of file hmdcgeomobj.h.
References HMdcPointOnPlane::Z().
Referenced by beamLine(), HMdcSizesCellsLayer::calcImpactParam(), HMdcSizesCellsLayer::calcInOtherSecSys(), directionFunctional(), HMdcSizesCellsLayer::distanceSign(), HMdcAlignerD::finalize(), HMdcClustFromSeg::getClusterSlot(), HMdcSizesCellsLayer::getDist(), HMdcSizesCellsLayer::getImpact(), getLinePar(), HMdcSizesCellsLayer::getXSign(), HMdcAlignerD::monitor(), HMdcMille::sendToMille(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), and HMdc12Fit::testRestOfWires().
|
inline |
Definition at line 255 of file hmdcgeomobj.h.
References HMdcPointOnPlane::Z().
Referenced by beamLine(), directionFunctional(), HMdcSizesCellsLayer::distanceSign(), HMdcAlignerD::finalize(), HMdcAlignerD::monitor(), HMdcMille::sendToMille(), HMdcHitSegFiller::setFitParam(), HMdcHitSegFiller::setFitParamForSecondSec(), and setSegmentLine().
|
protected |
Definition at line 210 of file hmdcgeomobj.h.
Referenced by calcDir(), calcDirXZ(), calcDirYZ(), copyParam(), getDir(), and operator=().
|
protected |
Definition at line 214 of file hmdcgeomobj.h.
Referenced by HMdcTrackParam::addToSumsDevWt(), copyPlanes(), getMod(), operator=(), setCoorSys(), transFrom(), and transTo().
|
protected |
Definition at line 208 of file hmdcgeomobj.h.
Referenced by addToParam(), calcDir(), calcDirXZ(), calcDirYZ(), compare(), copyParam(), copyPlanes(), getFisrtPoint(), operator=(), setParam(), setScParam(), setSegmentLine(), transFrom(), and transTo().
|
protected |
Definition at line 209 of file hmdcgeomobj.h.
Referenced by addToParam(), calcDir(), calcDirXZ(), calcDirYZ(), compare(), copyParam(), copyPlanes(), getSecondPoint(), operator=(), setParam(), setScParam(), setSegmentLine(), transFrom(), and transTo().
|
protected |
Definition at line 211 of file hmdcgeomobj.h.
Referenced by copyPlanes(), getSec(), operator=(), setCoorSys(), transFrom(), and transTo().