#include <LinkByRecHit.h>
Public Member Functions | |
LinkByRecHit () | |
~LinkByRecHit () | |
Static Public Member Functions | |
static double | computeDist (double eta1, double phi1, double eta2, double phi2, bool etaPhi=true) |
computes a chisquare More... | |
static double | testECALAndPSByRecHit (const reco::PFCluster &clusterECAL, const reco::PFCluster &clusterPS, bool debug=false) |
static double | testHFEMAndHFHADByRecHit (const reco::PFCluster &clusterHFEM, const reco::PFCluster &clusterHFHAD, bool debug=false) |
test association between HFEM and HFHAD, by rechit More... | |
static double | testTrackAndClusterByRecHit (const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false) |
Definition at line 7 of file LinkByRecHit.h.
|
inline |
Definition at line 9 of file LinkByRecHit.h.
|
inline |
Definition at line 10 of file LinkByRecHit.h.
|
static |
computes a chisquare
Definition at line 519 of file LinkByRecHit.cc.
References HLT_2024v14_cff::eta1, HLT_2024v14_cff::eta2, normalizedPhi(), and mathSSE::sqrt().
Referenced by testECALAndPSByRecHit(), ECALAndHCALCaloJetLinker::testLink(), HCALAndHOLinker::testLink(), HGCalAndBREMLinker::testLink(), ECALAndHCALLinker::testLink(), GSFAndHGCalLinker::testLink(), ECALAndECALLinker::testLink(), PreshowerAndECALLinker::testLink(), SCAndECALLinker::testLink(), TrackAndECALLinker::testLink(), SCAndHGCalLinker::testLink(), TrackAndHCALLinker::testLink(), testTrackAndClusterByRecHit(), and KDTreeLinkerTrackHcal::updatePFBlockEltWithLinks().
|
static |
Definition at line 363 of file LinkByRecHit.cc.
References funct::abs(), computeDist(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, debug, PFLayer::ECAL_ENDCAP, HLT_2024v14_cff::fraction, reco::PFRecHit::getCornersXYZ(), reco::PFCluster::layer(), reco::PFRecHit::position(), reco::CaloCluster::position(), PFLayer::PS1, PFLayer::PS2, reco::PFCluster::recHitFractions(), l1tEGammaCrystalsEmulatorProducer_cfi::scale, mathSSE::sqrt(), Basic2DVector< T >::v, findQualityFiles::v, x, geometryCSVtoXML::xy, Basic3DVector< T >::xy(), and y.
Referenced by PreshowerAndECALLinker::testLink().
|
static |
test association between HFEM and HFHAD, by rechit
Definition at line 495 of file LinkByRecHit.cc.
References dX(), dY(), reco::CaloCluster::position(), and mathSSE::sqrt().
Referenced by HFEMAndHFHADLinker::testLink().
|
static |
Definition at line 18 of file LinkByRecHit.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, reco::PFTrajectoryPoint::ClosestApproach, computeDist(), gather_cfg::cout, debug, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFTrajectoryPoint::ECALShowerMax, PVValHelper::eta, HLT_2024v14_cff::fraction, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, reco::PFTrajectoryPoint::HCALEntrance, reco::PFTrajectoryPoint::HCALExit, reco::PFTrajectoryPoint::HOLayer, edm::Ref< C, T, F >::isNull(), reco::PFTrajectoryPoint::isValid(), reco::PFCluster::layer(), M_PI, SiStripPI::min, reco::PFTrajectoryPoint::momentum(), VarParsing::mult, phi, reco::PFTrajectoryPoint::position(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), reco::PFTrajectoryPoint::positionREP(), PFLayer::PS1, PFLayer::PS2, reco::PFCluster::recHitFractions(), mathSSE::sqrt(), HLT_2024v14_cff::track, listHistos::trackPt, x, and y.
Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), ConvBremPFTrackFinder::runConvBremFinder(), HCALAndBREMLinker::testLink(), TrackAndHOLinker::testLink(), GSFAndECALLinker::testLink(), ECALAndBREMLinker::testLink(), GSFAndHCALLinker::testLink(), TrackAndECALLinker::testLink(), and TrackAndHCALLinker::testLink().