Functions | |
TEveVector | calculateCentre (const float *vertices) |
float | calculateEt (const TEveVector ¢re, float e) |
bool | checkIntersect (const TEveVector &vec, float r) |
TEveVector | cross (const TEveVector &v1, const TEveVector &v2) |
float | dot (const TEveVector &v1, const TEveVector &v2) |
float | linearInterpolation (const TEveVector &p1, const TEveVector &p2, float r) |
TEveVector | lineCircleIntersect (const TEveVector &v1, const TEveVector &v2, float r) |
TEveVector | lineLineIntersect (const TEveVector &v1, const TEveVector &v2, const TEveVector &v3, const TEveVector &v4) |
float | sgn (float val) |
TEveVector FWPFMaths::calculateCentre | ( | const float * | vertices | ) |
float FWPFMaths::calculateEt | ( | const TEveVector & | centre, |
float | e | ||
) |
Definition at line 115 of file FWPFMaths.cc.
References alignCSCRings::e.
Referenced by FWPFCandidateDetailView::addHits(), FWPFClusterRPZProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), FWPFClusterLegoProxyBuilder::sharedBuild(), and FWPFCandidateDetailView::voteMaxEtEVal().
bool FWPFMaths::checkIntersect | ( | const TEveVector & | vec, |
float | r | ||
) |
Definition at line 103 of file FWPFMaths.cc.
References h, and mathSSE::sqrt().
Referenced by FWPFTrackUtils::getCollisionMarkers(), and FWPFTrackUtils::setupLegoTrack().
TEveVector FWPFMaths::cross | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
Definition at line 16 of file FWPFMaths.cc.
Referenced by lineLineIntersect().
float FWPFMaths::dot | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
Definition at line 29 of file FWPFMaths.cc.
References query::result.
Referenced by lineLineIntersect().
float FWPFMaths::linearInterpolation | ( | const TEveVector & | p1, |
const TEveVector & | p2, | ||
float | r | ||
) |
Definition at line 91 of file FWPFMaths.cc.
References detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by FWPFTrackUtils::getCollisionMarkers(), and FWPFTrackUtils::setupLegoTrack().
TEveVector FWPFMaths::lineCircleIntersect | ( | const TEveVector & | v1, |
const TEveVector & | v2, | ||
float | r | ||
) |
Definition at line 38 of file FWPFMaths.cc.
References query::result, sgn(), mathSSE::sqrt(), x, and detailsBasic3DVector::y.
Referenced by FWPFTrackUtils::getCollisionMarkers(), and FWPFTrackUtils::setupLegoTrack().
TEveVector FWPFMaths::lineLineIntersect | ( | const TEveVector & | v1, |
const TEveVector & | v2, | ||
const TEveVector & | v3, | ||
const TEveVector & | v4 | ||
) |
Definition at line 73 of file FWPFMaths.cc.
References a, b, EnergyCorrector::c, cross(), dot(), p1, p3, query::result, and alignCSCRings::s.
Referenced by FWPFTrackUtils::getCollisionMarkers(), and FWPFTrackUtils::setupLegoTrack().
float FWPFMaths::sgn | ( | float | val | ) |
Definition at line 9 of file FWPFMaths.cc.
Referenced by ThirdHitPredictionFromCircle::angle(), HFRecoEcalCandidateAlgo::correctEPosition(), ThirdHitPredictionFromCircle::curvature(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), lineCircleIntersect(), reco::TrackResiduals::pack_pull(), reco::TrackResiduals::pack_residual(), ThirdHitPredictionFromCircle::phi(), TopologyWorker::setPartList(), reco::TrackResiduals::unpack_pull(), and reco::TrackResiduals::unpack_residual().