#include <ggPFESClusters.h>
Public Member Functions | |
std::map< unsigned int, unsigned int > | getClosestEECls (vector< reco::PreshowerCluster > PFPS, vector< reco::CaloCluster > PF) |
double | getLinkDist (reco::PreshowerCluster clusterPS, reco::CaloCluster clusterECAL) |
virtual vector < reco::PreshowerCluster > | getPFESClusters (reco::SuperCluster sc) |
ggPFESClusters (edm::Handle< EcalRecHitCollection > &ESRecHits, const CaloSubdetectorGeometry *geomEnd) | |
virtual | ~ggPFESClusters () |
Private Attributes | |
Handle< EcalRecHitCollection > | ESRecHits_ |
const CaloSubdetectorGeometry * | geomEnd_ |
Definition at line 15 of file ggPFESClusters.h.
|
explicit |
Definition at line 11 of file ggPFESClusters.cc.
|
virtual |
Definition at line 21 of file ggPFESClusters.cc.
std::map< unsigned int, unsigned int > ggPFESClusters::getClosestEECls | ( | vector< reco::PreshowerCluster > | PFPS, |
vector< reco::CaloCluster > | PF | ||
) |
Definition at line 79 of file ggPFESClusters.cc.
References getLinkDist(), i, and j.
double ggPFESClusters::getLinkDist | ( | reco::PreshowerCluster | clusterPS, |
reco::CaloCluster | clusterECAL | ||
) |
Definition at line 100 of file ggPFESClusters.cc.
References first, geomEnd_, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), reco::CaloCluster::hitsAndFractions(), AlCaHLTBitMon_ParallelJobs::p, reco::PreshowerCluster::plane(), reco::CaloCluster::position(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), vdt::x, detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getClosestEECls().
|
virtual |
Definition at line 26 of file ggPFESClusters.cc.
References gather_cfg::cout, ESRecHits_, first, findQualityFiles::jj, GetRecoTauVFromDQM_MC_cff::kk, ESDetId::plane(), reco::SuperCluster::preshowerClustersBegin(), reco::SuperCluster::preshowerClustersEnd(), and alignCSCRings::s.
Referenced by ggPFPhotons::fillPFClusters().
|
private |
Definition at line 29 of file ggPFESClusters.h.
Referenced by getPFESClusters().
|
private |
Definition at line 30 of file ggPFESClusters.h.
Referenced by getLinkDist().