#include <ggPFClusters.h>
Public Member Functions | |
void | BasicClusterPFCandLink (reco::SuperCluster sc, std::vector< reco::PFCandidatePtr > &insideBox, std::vector< DetId > &MatchedRH) |
virtual std::pair< float, float > | ClusterWidth (vector< reco::CaloCluster > &PFClust) |
virtual void | Fill5x5Map (std::vector< std::pair< DetId, float > > &bcCells, bool isEB) |
virtual DetId | FindSeed (std::vector< std::pair< DetId, float > > &bcCells, bool isEB) |
virtual float | get5x5Element (int i, int j, std::vector< std::pair< DetId, float > > &bcCells, bool isEB) |
virtual vector< reco::CaloCluster > | getPFClusters (reco::SuperCluster) |
float | getPFSuperclusterOverlap (reco::CaloCluster PFClust, reco::SuperCluster sc) |
virtual float | getPFSuperclusterOverlap (reco::CaloCluster PFClust, reco::Photon phot) |
ggPFClusters (edm::Handle< EcalRecHitCollection > &EBReducedRecHits, edm::Handle< EcalRecHitCollection > &EEReducedRecHits, const CaloSubdetectorGeometry *geomBar, const CaloSubdetectorGeometry *geomEnd) | |
virtual void | localCoordsEB (reco::CaloCluster clus, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt) |
virtual void | localCoordsEE (reco::CaloCluster clus, float &xcry, float &ycry, int &ix, int &iy, float &thetatilt, float &phitilt) |
double | LocalEnergyCorrection (const GBRForest *ReaderLCEB, const GBRForest *ReaderLCEE, reco::CaloCluster PFClust, float beamspotZ) |
virtual float | PFRecHitsSCOverlap (std::vector< std::pair< DetId, float > > &bcCells1, std::vector< std::pair< DetId, float > > &bcCells2, bool isEB) |
virtual float | SumPFRecHits (std::vector< std::pair< DetId, float > > &bcCells, bool isEB) |
virtual | ~ggPFClusters () |
Private Attributes | |
float | e5x5_ [5][5] |
Handle< EcalRecHitCollection > | EBReducedRecHits_ |
Handle< EcalRecHitCollection > | EEReducedRecHits_ |
const CaloSubdetectorGeometry * | geomBar_ |
const CaloSubdetectorGeometry * | geomEnd_ |
Definition at line 22 of file ggPFClusters.h.
|
explicit |
Definition at line 13 of file ggPFClusters.cc.
|
virtual |
Definition at line 30 of file ggPFClusters.cc.
void ggPFClusters::BasicClusterPFCandLink | ( | reco::SuperCluster | sc, |
std::vector< reco::PFCandidatePtr > & | insideBox, | ||
std::vector< DetId > & | MatchedRH | ||
) |
Definition at line 657 of file ggPFClusters.cc.
References abs, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), funct::cos(), deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::tau::disc::Eta(), first, geomBar_, geomEnd_, CaloSubdetectorGeometry::getGeometry(), create_public_lumi_plots::log, AlCaHLTBitMon_ParallelJobs::p, benchmark_cfg::pdgId, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), Pi, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::theta(), X, PV3DBase< T, PVType, FrameType >::x(), X0, and PV3DBase< T, PVType, FrameType >::y().
Referenced by ggPFPhotons::PhotonPFCandMatch().
|
virtual |
Definition at line 425 of file ggPFClusters.cc.
References RecoTauValidation_cfi::denominator, dPhi(), EBReducedRecHits_, EEReducedRecHits_, relval_parameters_module::energy, PV3DBase< T, PVType, FrameType >::eta(), eta(), geomBar_, geomEnd_, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), i, phi, PV3DBase< T, PVType, FrameType >::phi(), Pi, mathSSE::sqrt(), DetId::subdetId(), and TwoPi.
|
virtual |
Definition at line 330 of file ggPFClusters.cc.
References abs, EBDetId::distanceEta(), EBDetId::distancePhi(), EEDetId::distanceX(), EEDetId::distanceY(), e5x5_, EBReducedRecHits_, EEReducedRecHits_, FindSeed(), i, EBDetId::ieta(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), j, and DetId::rawId().
Referenced by get5x5Element(), and LocalEnergyCorrection().
|
virtual |
Definition at line 388 of file ggPFClusters.cc.
References EBReducedRecHits_, EEReducedRecHits_, and i.
Referenced by Fill5x5Map().
|
virtual |
Definition at line 317 of file ggPFClusters.cc.
References abs, e5x5_, and Fill5x5Map().
Referenced by LocalEnergyCorrection().
|
virtual |
Definition at line 35 of file ggPFClusters.cc.
References reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), first, i, edm::second(), DetId::subdetId(), and SumPFRecHits().
Referenced by ggPFPhotons::fillPFClusters(), and ggPFPhotons::getPFPhoECorr().
float ggPFClusters::getPFSuperclusterOverlap | ( | reco::CaloCluster | PFClust, |
reco::SuperCluster | sc | ||
) |
Definition at line 84 of file ggPFClusters.cc.
References reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), h, reco::CaloCluster::hitsAndFractions(), muon::overlap(), PFRecHitsSCOverlap(), and DetId::subdetId().
Referenced by ggPFPhotons::fillPFClusters().
|
virtual |
Definition at line 111 of file ggPFClusters.cc.
References h, reco::CaloCluster::hitsAndFractions(), muon::overlap(), PFRecHitsSCOverlap(), DetId::subdetId(), and reco::Photon::superCluster().
|
virtual |
Definition at line 195 of file ggPFClusters.cc.
References reco::deltaR(), reco::CaloCluster::energy(), reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), first, geomBar_, CaloSubdetectorGeometry::getGeometry(), TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getPosition(), TruncatedPyramid::getThetaAxis(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), create_public_lumi_plots::log, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), Pi, reco::CaloCluster::position(), PV3DBase< T, PVType, FrameType >::theta(), and X0.
Referenced by LocalEnergyCorrection().
|
virtual |
Definition at line 256 of file ggPFClusters.cc.
References reco::deltaR(), reco::CaloCluster::energy(), reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), reco::CaloCluster::eta(), first, geomEnd_, CaloSubdetectorGeometry::getGeometry(), TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getPosition(), TruncatedPyramid::getThetaAxis(), reco::CaloCluster::hitsAndFractions(), EEDetId::ix(), EEDetId::iy(), create_public_lumi_plots::log, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), reco::CaloCluster::position(), X, PV3DBase< T, PVType, FrameType >::x(), X0, and PV3DBase< T, PVType, FrameType >::y().
Referenced by LocalEnergyCorrection().
double ggPFClusters::LocalEnergyCorrection | ( | const GBRForest * | ReaderLCEB, |
const GBRForest * | ReaderLCEE, | ||
reco::CaloCluster | PFClust, | ||
float | beamspotZ | ||
) |
Definition at line 497 of file ggPFClusters.cc.
References abs, alignCSCRings::e, e5x5_, reco::CaloCluster::energy(), reco::CaloCluster::eta(), Fill5x5Map(), get5x5Element(), GBRForest::GetResponse(), reco::CaloCluster::hitsAndFractions(), i, SiPixelRawToDigiRegional_cfi::inputs, j, localCoordsEB(), localCoordsEE(), create_public_lumi_plots::log, reco::CaloCluster::phi(), findQualityFiles::size, and DetId::subdetId().
Referenced by ggPFPhotons::getPFPhoECorr().
|
virtual |
Definition at line 137 of file ggPFClusters.cc.
References EBReducedRecHits_, EEReducedRecHits_, first, i, m, DetId::rawId(), and edm::second().
Referenced by getPFSuperclusterOverlap().
|
virtual |
Definition at line 57 of file ggPFClusters.cc.
References EBReducedRecHits_, EEReducedRecHits_, and i.
Referenced by getPFClusters().
|
private |
Definition at line 71 of file ggPFClusters.h.
Referenced by Fill5x5Map(), get5x5Element(), and LocalEnergyCorrection().
|
private |
Definition at line 67 of file ggPFClusters.h.
Referenced by ClusterWidth(), Fill5x5Map(), FindSeed(), PFRecHitsSCOverlap(), and SumPFRecHits().
|
private |
Definition at line 68 of file ggPFClusters.h.
Referenced by ClusterWidth(), Fill5x5Map(), FindSeed(), PFRecHitsSCOverlap(), and SumPFRecHits().
|
private |
Definition at line 69 of file ggPFClusters.h.
Referenced by BasicClusterPFCandLink(), ClusterWidth(), and localCoordsEB().
|
private |
Definition at line 70 of file ggPFClusters.h.
Referenced by BasicClusterPFCandLink(), ClusterWidth(), and localCoordsEE().