#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 9 of file LinkByRecHit.h.
|
inline |
Definition at line 11 of file LinkByRecHit.h.
|
inline |
Definition at line 12 of file LinkByRecHit.h.
References computeDist(), debug, testECALAndPSByRecHit(), testHFEMAndHFHADByRecHit(), testTrackAndClusterByRecHit(), and HiIsolationCommonParameters_cff::track.
|
static |
computes a chisquare
Definition at line 547 of file LinkByRecHit.cc.
References normalizedPhi(), and mathSSE::sqrt().
Referenced by testECALAndPSByRecHit(), ECALAndHCALCaloJetLinker::testLink(), HCALAndHOLinker::testLink(), ECALAndHCALLinker::testLink(), HGCalAndBREMLinker::testLink(), GSFAndHGCalLinker::testLink(), SCAndECALLinker::testLink(), TrackAndHCALLinker::testLink(), ECALAndECALLinker::testLink(), SCAndHGCalLinker::testLink(), PreshowerAndECALLinker::testLink(), TrackAndECALLinker::testLink(), testTrackAndClusterByRecHit(), and ~LinkByRecHit().
|
static |
Definition at line 383 of file LinkByRecHit.cc.
References funct::abs(), computeDist(), constexpr, gather_cfg::cout, PFLayer::ECAL_ENDCAP, dedxEstimators_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(), and ~LinkByRecHit().
|
static |
test association between HFEM and HFHAD, by rechit
Definition at line 521 of file LinkByRecHit.cc.
References reco::CaloCluster::position(), and mathSSE::sqrt().
Referenced by HFEMAndHFHADLinker::testLink(), and ~LinkByRecHit().
|
static |
Definition at line 18 of file LinkByRecHit.cc.
References funct::abs(), Reference_intrackfit_cff::barrel, reco::PFTrajectoryPoint::ClosestApproach, computeDist(), gather_cfg::cout, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFTrajectoryPoint::ECALShowerMax, stringResolutionProvider_cfi::eta, reco::PFTrack::extrapolatedPoint(), dedxEstimators_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(), phi, reco::PFTrajectoryPoint::position(), reco::CaloCluster::position(), reco::PFCluster::positionREP(), reco::PFTrajectoryPoint::positionREP(), PFLayer::PS1, PFLayer::PS2, reco::PFCluster::recHitFractions(), mathSSE::sqrt(), listHistos::trackPt, x, and y.
Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), ConvBremPFTrackFinder::runConvBremFinder(), TrackAndHOLinker::testLink(), HCALAndBREMLinker::testLink(), GSFAndHCALLinker::testLink(), ECALAndBREMLinker::testLink(), GSFAndECALLinker::testLink(), TrackAndHCALLinker::testLink(), TrackAndECALLinker::testLink(), and ~LinkByRecHit().