#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 517 of file LinkByRecHit.cc.
References HLT_2018_cff::eta1, HLT_2018_cff::eta2, normalizedPhi(), and mathSSE::sqrt().
Referenced by testECALAndPSByRecHit(), ECALAndHCALCaloJetLinker::testLink(), ECALAndHCALLinker::testLink(), HCALAndHOLinker::testLink(), HGCalAndBREMLinker::testLink(), GSFAndHGCalLinker::testLink(), PreshowerAndECALLinker::testLink(), ECALAndECALLinker::testLink(), TrackAndECALLinker::testLink(), SCAndECALLinker::testLink(), SCAndHGCalLinker::testLink(), TrackAndHCALLinker::testLink(), and testTrackAndClusterByRecHit().
|
static |
Definition at line 361 of file LinkByRecHit.cc.
References funct::abs(), computeDist(), gather_cfg::cout, debug, PFLayer::ECAL_ENDCAP, HLT_2018_cff::fraction, reco::PFRecHit::getCornersXYZ(), reco::PFCluster::layer(), reco::PFRecHit::position(), reco::CaloCluster::position(), PFLayer::PS1, PFLayer::PS2, reco::PFCluster::recHitFractions(), Scenarios_cff::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 493 of file LinkByRecHit.cc.
References reco::CaloCluster::position(), and mathSSE::sqrt().
Referenced by HFEMAndHFHADLinker::testLink().
|
static |
Definition at line 16 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_2018_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, 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_2018_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().