#include <EcalClusterTools.h>
Classes | |
struct | EcalClusterEnergyDeposition |
Public Member Functions | |
EcalClusterToolsT () | |
~EcalClusterToolsT () | |
Static Public Member Functions | |
static Cluster2ndMoments | cluster2ndMoments (const reco::BasicCluster &basicCluster, const EcalRecHitCollection &recHits, double phiCorrectionFactor=0.8, double w0=4.7, bool useLogWeights=true) |
static Cluster2ndMoments | cluster2ndMoments (const reco::SuperCluster &superCluster, const EcalRecHitCollection &recHits, double phiCorrectionFactor=0.8, double w0=4.7, bool useLogWeights=true) |
static Cluster2ndMoments | cluster2ndMoments (const std::vector< std::pair< const EcalRecHit *, float > > &RH_ptrs_fracs, double phiCorrectionFactor=0.8, double w0=4.7, bool useLogWeights=true) |
static std::vector< float > | covariances (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology, const CaloGeometry *geometry, float w0=4.7) |
static float | e1x3 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e1x5 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e2nd (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits) |
static float | e2x2 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e2x5Bottom (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e2x5Left (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e2x5Max (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e2x5Right (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e2x5Top (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e3x1 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e3x2 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e3x3 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e4x4 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e5x1 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | e5x5 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | eBottom (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | eLeft (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | eMax (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits) |
static std::vector< float > | energyBasketFractionEta (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits) |
static std::vector< float > | energyBasketFractionPhi (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits) |
static float | eRight (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | eTop (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static float | getFraction (const std::vector< std::pair< DetId, float > > &v_id, DetId id) |
static std::pair< DetId, float > | getMaximum (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits) |
static std::pair< DetId, float > | getMaximum (const std::vector< std::pair< DetId, float > > &v_id, const EcalRecHitCollection *recHits) |
static std::vector< float > | lat (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, bool logW=true, float w0=4.7) |
static std::vector< float > | localCovariances (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology, float w0=4.7) |
static std::vector< DetId > | matrixDetId (const CaloTopology *topology, DetId id, int ixMin, int ixMax, int iyMin, int iyMax) |
static float | matrixEnergy (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology, DetId id, int ixMin, int ixMax, int iyMin, int iyMax) |
static float | recHitEnergy (DetId id, const EcalRecHitCollection *recHits) |
static std::vector< float > | roundnessBarrelSuperClusters (const reco::SuperCluster &superCluster, const EcalRecHitCollection &recHits, int weightedPositionMethod=0, float energyThreshold=0.0) |
static std::vector< float > | roundnessBarrelSuperClustersUserExtended (const reco::SuperCluster &superCluster, const EcalRecHitCollection &recHits, int ieta_delta=0, int iphi_delta=0, float energyRHThresh=0.00000, int weightedPositionMethod=0) |
static std::vector< float > | roundnessSelectedBarrelRecHits (const std::vector< std::pair< const EcalRecHit *, float > > &rhVector, int weightedPositionMethod=0) |
static std::vector< float > | scLocalCovariances (const reco::SuperCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology, float w0=4.7) |
static double | zernike20 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, double R0=6.6, bool logW=true, float w0=4.7) |
static double | zernike42 (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, double R0=6.6, bool logW=true, float w0=4.7) |
Static Private Member Functions | |
static double | absZernikeMoment (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, int n, int m, double R0, bool logW, float w0) |
static double | calc_AbsZernikeMoment (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, int n, int m, double R0, bool logW, float w0) |
static float | computeWeight (float eRH, float energyTotal, int weightedPositionMethod) |
static int | deltaIEta (int seed_ieta, int rh_ieta) |
static int | deltaIPhi (int seed_iphi, int rh_iphi) |
static double | f00 (double r) |
static double | f11 (double r) |
static double | f20 (double r) |
static double | f22 (double r) |
static double | f31 (double r) |
static double | f33 (double r) |
static double | f40 (double r) |
static double | f42 (double r) |
static double | f44 (double r) |
static double | f51 (double r) |
static double | f53 (double r) |
static double | f55 (double r) |
static double | factorial (int n) |
static double | fast_AbsZernikeMoment (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, int n, int m, double R0, bool logW, float w0) |
static float | getDPhiEndcap (const DetId &crysId, float meanX, float meanY) |
static std::vector < EcalClusterEnergyDeposition > | getEnergyDepTopology (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloGeometry *geometry, bool logW, float w0) |
static float | getIEta (const DetId &id) |
static float | getIPhi (const DetId &id) |
static float | getNormedIX (const DetId &id) |
static float | getNormedIY (const DetId &id) |
static float | getNrCrysDiffInEta (const DetId &crysId, const DetId &orginId) |
static float | getNrCrysDiffInPhi (const DetId &crysId, const DetId &orginId) |
static std::vector< int > | getSeedPosition (const std::vector< std::pair< const EcalRecHit *, float > > &RH_ptrs) |
static float | getSumEnergy (const std::vector< std::pair< const EcalRecHit *, float > > &RH_ptrs_fracs) |
static std::pair< float, float > | mean5x5PositionInLocalCrysCoord (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static std::pair< float, float > | mean5x5PositionInXY (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology) |
static math::XYZVector | meanClusterPosition (const reco::BasicCluster &cluster, const EcalRecHitCollection *recHits, const CaloTopology *topology, const CaloGeometry *geometry) |
Definition at line 76 of file EcalClusterTools.h.
|
inline |
Definition at line 78 of file EcalClusterTools.h.
|
inline |
Definition at line 79 of file EcalClusterTools.h.
|
staticprivate |
Definition at line 951 of file EcalClusterTools.h.
|
staticprivate |
Definition at line 1000 of file EcalClusterTools.h.
References funct::cos(), alignCSCRings::e, factorial(), i, m, funct::pow(), alignCSCRings::r, alignCSCRings::s, funct::sin(), and mathSSE::sqrt().
|
static |
Definition at line 1236 of file EcalClusterTools.h.
References edm::SortedCollection< T, SORT >::find(), first, i, and edm::second().
Referenced by EcalClusterToolsT< noZS >::cluster2ndMoments().
|
static |
Definition at line 1255 of file EcalClusterTools.h.
References Cluster2ndMoments::alpha, EcalClusterToolsT< noZS >::cluster2ndMoments(), reco::SuperCluster::seed(), Cluster2ndMoments::sMaj, and Cluster2ndMoments::sMin.
|
static |
Definition at line 1273 of file EcalClusterTools.h.
References funct::abs(), Cluster2ndMoments::alpha, cuy::denominator, EcalRecHit::detid(), EcalBarrel, EcalRecHit::energy(), EcalClusterToolsT< noZS >::getSumEnergy(), i, fff_deleter::log, max(), phi, Cluster2ndMoments::sMaj, Cluster2ndMoments::sMin, mathSSE::sqrt(), and DetId::subdetId().
|
staticprivate |
|
static |
Definition at line 785 of file EcalClusterTools.h.
References cuy::denominator, dPhi(), relval_parameters_module::energy, PV3DBase< T, PVType, FrameType >::eta(), f, cropTnPTrees::frac, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), CaloTopology::getSubdetectorTopology(), i, j, fff_deleter::log, max(), Geom::Phi< T >::phi(), PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), position, Geom::twoPi(), findQualityFiles::v, and w().
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), and GEDPhotonProducer::fillPhotonCollection().
|
staticprivate |
Definition at line 1618 of file EcalClusterTools.h.
|
staticprivate |
Definition at line 1606 of file EcalClusterTools.h.
|
static |
Definition at line 501 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 487 of file EcalClusterTools.h.
References first.
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), and GEDPhotonProducer::fillPhotonCollection().
|
static |
Definition at line 425 of file EcalClusterTools.h.
References first, i, and edm::second().
|
static |
Definition at line 371 of file EcalClusterTools.h.
|
static |
Definition at line 462 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 448 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 471 of file EcalClusterTools.h.
References first.
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), and GEDPhotonProducer::fillPhotonCollection().
|
static |
Definition at line 441 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 455 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 508 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 383 of file EcalClusterTools.h.
|
static |
Definition at line 394 of file EcalClusterTools.h.
References first.
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), and GEDPhotonProducer::fillPhotonCollection().
|
static |
Definition at line 401 of file EcalClusterTools.h.
|
static |
Definition at line 494 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 412 of file EcalClusterTools.h.
References first.
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), and GEDPhotonProducer::fillPhotonCollection().
|
static |
Definition at line 536 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 515 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 419 of file EcalClusterTools.h.
References edm::second().
Referenced by GEDPhotonProducer::fillPhotonCollection().
|
static |
Definition at line 543 of file EcalClusterTools.h.
References EcalBarrel, first, i, EBDetId::im(), EBDetId::kModulesPerSM, EBDetId::positiveZ(), and python.multivaluedict::sort().
|
static |
Definition at line 560 of file EcalClusterTools.h.
References EcalBarrel, first, i, EBDetId::iphi(), EBDetId::kCrystalsInPhi, EBDetId::kTowersInPhi, EBDetId::MAX_IPHI, EBDetId::positiveZ(), and python.multivaluedict::sort().
|
static |
Definition at line 522 of file EcalClusterTools.h.
References first.
|
static |
Definition at line 529 of file EcalClusterTools.h.
References first.
|
inlinestaticprivate |
Definition at line 210 of file EcalClusterTools.h.
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 212 of file EcalClusterTools.h.
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 216 of file EcalClusterTools.h.
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
Definition at line 227 of file EcalClusterTools.h.
|
staticprivate |
Definition at line 964 of file EcalClusterTools.h.
References funct::cos(), alignCSCRings::e, i, cmsHarvester::index, phi, alignCSCRings::r, funct::sin(), and mathSSE::sqrt().
|
staticprivate |
Definition at line 1133 of file EcalClusterTools.h.
References dPhi(), phi, mathSSE::sqrt(), and tmp.
|
staticprivate |
Definition at line 577 of file EcalClusterTools.h.
References funct::abs(), EcalClusterToolsT< noZS >::EcalClusterEnergyDeposition::deposited_energy, diffTreeTool::diff, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), fff_deleter::log, LogDebug, M_PI, max(), EcalClusterToolsT< noZS >::EcalClusterEnergyDeposition::phi, EcalClusterToolsT< noZS >::EcalClusterEnergyDeposition::r, histoStyle::weight, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
static |
|
staticprivate |
Definition at line 1034 of file EcalClusterTools.h.
References DetId::Ecal, EcalBarrel, EcalEndcap, EBDetId::ieta(), and mathSSE::sqrt().
|
staticprivate |
Definition at line 1056 of file EcalClusterTools.h.
References DetId::Ecal, EcalBarrel, and EBDetId::iphi().
|
static |
Definition at line 282 of file EcalClusterTools.h.
|
static |
Definition at line 267 of file EcalClusterTools.h.
References relval_parameters_module::energy, first, i, and max().
|
staticprivate |
Definition at line 1069 of file EcalClusterTools.h.
References DetId::Ecal, EcalEndcap, and EEDetId::ix().
|
staticprivate |
Definition at line 1082 of file EcalClusterTools.h.
References DetId::Ecal, EcalEndcap, and EEDetId::iy().
|
staticprivate |
Definition at line 1095 of file EcalClusterTools.h.
References EcalBarrel, and DetId::subdetId().
|
staticprivate |
Definition at line 1116 of file EcalClusterTools.h.
References EcalBarrel, and DetId::subdetId().
|
staticprivate |
Definition at line 1628 of file EcalClusterTools.h.
References EcalRecHit::detid(), and EcalRecHit::energy().
Referenced by EcalClusterToolsT< noZS >::roundnessBarrelSuperClustersUserExtended(), and EcalClusterToolsT< noZS >::roundnessSelectedBarrelRecHits().
|
staticprivate |
Definition at line 1655 of file EcalClusterTools.h.
Referenced by EcalClusterToolsT< noZS >::cluster2ndMoments(), and EcalClusterToolsT< noZS >::roundnessSelectedBarrelRecHits().
|
static |
Definition at line 637 of file EcalClusterTools.h.
References funct::cos(), reco::e1, reco::e2, i, n, phi, alignCSCRings::r, funct::sin(), and tmp.
|
static |
Definition at line 857 of file EcalClusterTools.h.
References cuy::denominator, dPhi(), EcalBarrel, relval_parameters_module::energy, f, cropTnPTrees::frac, CaloTopology::getSubdetectorTopology(), fff_deleter::log, max(), DetId::subdetId(), findQualityFiles::v, and w().
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), GsfElectronAlgo::calculateShowerShape_full5x5(), and GEDPhotonProducer::fillPhotonCollection().
|
static |
Definition at line 355 of file EcalClusterTools.h.
References CaloTopology::getSubdetectorTopology(), i, j, and findQualityFiles::v.
|
static |
Definition at line 329 of file EcalClusterTools.h.
References relval_parameters_module::energy, cropTnPTrees::frac, CaloTopology::getSubdetectorTopology(), i, and j.
|
staticprivate |
Definition at line 725 of file EcalClusterTools.h.
References relval_parameters_module::energy, and CastorDataFrameFilter_impl::energySum().
|
staticprivate |
Definition at line 757 of file EcalClusterTools.h.
References EcalBarrel, relval_parameters_module::energy, CastorDataFrameFilter_impl::energySum(), and DetId::subdetId().
|
staticprivate |
Definition at line 699 of file EcalClusterTools.h.
References first, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), position, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
static |
Definition at line 289 of file EcalClusterTools.h.
References EcalBarrel, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), EcalRecHit::kDiWeird, EcalRecHit::kTowerRecovered, and EcalRecHit::kWeird.
|
static |
Definition at line 1406 of file EcalClusterTools.h.
References edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), first, reco::CaloCluster::hitsAndFractions(), i, EcalClusterToolsT< noZS >::roundnessSelectedBarrelRecHits(), edm::second(), and groupFilesInBlocks::temp.
|
static |
Definition at line 1426 of file EcalClusterTools.h.
References funct::abs(), edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), first, EcalClusterToolsT< noZS >::getSeedPosition(), reco::CaloCluster::hitsAndFractions(), i, EcalClusterToolsT< noZS >::roundnessSelectedBarrelRecHits(), and edm::second().
|
static |
Definition at line 1472 of file EcalClusterTools.h.
References cuy::denominator, EcalRecHit::detid(), EcalRecHit::energy(), EcalClusterToolsT< noZS >::getSeedPosition(), EcalClusterToolsT< noZS >::getSumEnergy(), i, fff_deleter::log, max(), groupFilesInBlocks::temp, and histoStyle::weight.
Referenced by EcalClusterToolsT< noZS >::roundnessBarrelSuperClusters(), and EcalClusterToolsT< noZS >::roundnessBarrelSuperClustersUserExtended().
|
static |
Definition at line 1154 of file EcalClusterTools.h.
References cuy::denominator, dPhi(), EcalBarrel, relval_parameters_module::energy, f, first, cropTnPTrees::frac, CaloTopology::getSubdetectorTopology(), reco::CaloCluster::hitsAndFractions(), i, fff_deleter::log, max(), reco::SuperCluster::seed(), DetId::subdetId(), findQualityFiles::v, and w().
|
static |
Definition at line 939 of file EcalClusterTools.h.
|
static |
Definition at line 945 of file EcalClusterTools.h.