#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.
|
static |
computes a chisquare
Definition at line 532 of file LinkByRecHit.cc.
References normalizedPhi(), and mathSSE::sqrt().
Referenced by testECALAndPSByRecHit(), ECALAndHCALCaloJetLinker::testLink(), ECALAndHCALLinker::testLink(), HCALAndHOLinker::testLink(), TrackAndHCALLinker::testLink(), PreshowerAndECALLinker::testLink(), SCAndECALLinker::testLink(), ECALAndECALLinker::testLink(), TrackAndECALLinker::testLink(), and testTrackAndClusterByRecHit().
|
static |
Definition at line 382 of file LinkByRecHit.cc.
References assert(), computeDist(), gather_cfg::cout, PFLayer::ECAL_ENDCAP, HLT_25ns14e33_v1_cff::fraction, reco::PFRecHit::getCornersXYZ(), edm::Ref< C, T, F >::isNull(), reco::PFCluster::layer(), reco::CaloCluster::position(), reco::PFRecHit::position(), PFLayer::PS1, PFLayer::PS2, reco::PFCluster::recHitFractions(), mathSSE::sqrt(), x, and detailsBasic3DVector::y.
Referenced by PreshowerAndECALLinker::testLink().
|
static |
test association between HFEM and HFHAD, by rechit
Definition at line 506 of file LinkByRecHit.cc.
References reco::CaloCluster::position(), and mathSSE::sqrt().
Referenced by HFEMAndHFHADLinker::testLink().
|
static |
Definition at line 10 of file LinkByRecHit.cc.
References assert(), Reference_intrackfit_cff::barrel, reco::PFTrajectoryPoint::ClosestApproach, computeDist(), gather_cfg::cout, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, reco::PFTrajectoryPoint::ECALShowerMax, reco::PFRecHit::energy(), reco::tau::disc::Eta(), reco::PFTrack::extrapolatedPoint(), HLT_25ns14e33_v1_cff::fraction, reco::PFRecHit::getCornersREP(), reco::PFRecHit::getCornersXYZ(), patCandidatesForDimuonsSequences_cff::hcal, 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, colinearityKinematic::Phi, reco::PFTrajectoryPoint::position(), reco::CaloCluster::position(), reco::PFRecHit::position(), reco::PFCluster::positionREP(), reco::PFTrajectoryPoint::positionREP(), reco::PFRecHit::positionREP(), PFLayer::PS1, PFLayer::PS2, reco::PFCluster::recHitFractions(), mathSSE::sqrt(), listHistos::trackPt, x, and detailsBasic3DVector::y.
Referenced by PFElecTkProducer::isSharingEcalEnergyWithEgSC(), ConvBremPFTrackFinder::runConvBremFinder(), HCALAndBREMLinker::testLink(), TrackAndHOLinker::testLink(), GSFAndECALLinker::testLink(), ECALAndBREMLinker::testLink(), GSFAndHCALLinker::testLink(), TrackAndHCALLinker::testLink(), and TrackAndECALLinker::testLink().