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 h, AlCaHLTBitMon_ParallelJobs::p, 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 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.
References LaserDQM_cfg::p1, and SiStripOfflineCRack_cfg::p2.
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 PVValHelper::dx, PVValHelper::dy, mps_fire::result, sgn(), mathSSE::sqrt(), and x.
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, HltBtagPostValidation_cff::c, cross(), dot(), LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::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.
References heppy_batch::val.
Referenced by ThirdHitPredictionFromCircle::angle(), GlobalCoordsObtainer::calc_atan_lut(), HFRecoEcalCandidateAlgo::correctEPosition(), ThirdHitPredictionFromCircle::curvature(), GlobalCoordsObtainer::generate_luts(), OmtfAngleConverter::getGlobalEta(), AngleConverter::getGlobalEta(), ThirdHitPredictionFromCircle::HelixRZ::HelixRZ(), lineCircleIntersect(), OmtfName::OmtfName(), ThirdHitPredictionFromCircle::phi(), OmtfName::position(), and OmtfName::tftype().