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 EgHLTOffHistBins_cfi::et.
Referenced by FWPFCandidateDetailView::addHits(), FWPFClusterRPZProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWPFClusterRPZUtils::buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils::buildRhoZClusterLineSet(), FWECALDetailViewBuilder::fillEtaPhi(), 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 AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, and mathSSE::sqrt().
Referenced by FWPFTrackUtils::getCollisionMarkers(), and FWPFTrackUtils::setupLegoTrack().
TEveVector FWPFMaths::cross | ( | const TEveVector & | v1, |
const TEveVector & | v2 | ||
) |
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 flavorHistoryFilter_cfi::dr, PVValHelper::dx, PVValHelper::dy, alignCSCRings::r, 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, c, cross(), dot(), p1, p2, p3, p4, 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.
References heppy_batch::val.
Referenced by ThirdHitPredictionFromCircle::angle(), GlobalCoordsObtainer::calc_atan_lut(), HFRecoEcalCandidateAlgo::correctEPosition(), ThirdHitPredictionFromCircle::curvature(), GlobalCoordsObtainer::generate_luts(), AngleConverter::getGlobalEta(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), lineCircleIntersect(), OmtfName::OmtfName(), ThirdHitPredictionFromCircle::phi(), OmtfName::position(), TopologyWorker::setPartList(), and OmtfName::tftype().