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 MillePedeFileConverter_cfg::e, and stringResolutionProvider_cfi::et.
Referenced by FWPFCandidateDetailView::addHits(), FWPFClusterRPZProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWECALDetailViewBuilder::fillEtaPhi(), FWPFBlockProxyBuilder::setupClusterElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), FWPFClusterLegoProxyBuilder::sharedBuild(), FWECALDetailViewBuilder::showSuperClusters(), and FWPFCandidateDetailView::voteMaxEtEVal().
bool FWPFMaths::checkIntersect | ( | const TEveVector & | vec, |
float | r | ||
) |
Definition at line 103 of file FWPFMaths.cc.
References 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 mps_fire::result.
Referenced by lineLineIntersect().
float FWPFMaths::linearInterpolation | ( | const TEveVector & | p1, |
const TEveVector & | p2, | ||
float | r | ||
) |
Definition at line 91 of file FWPFMaths.cc.
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 runTauDisplay::dr, PVValHelper::dx, PVValHelper::dy, mps_fire::result, sgn(), and mathSSE::sqrt().
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, mps_fire::result, alignCSCRings::s, and heppy_batch::val.
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(), AngleConverter::getGlobalEta(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), lineCircleIntersect(), OmtfName::OmtfName(), ThirdHitPredictionFromCircle::phi(), OmtfName::position(), TopologyWorker::setPartList(), and OmtfName::tftype().