|
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 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) |
|
template<bool noZS>
class EcalClusterToolsT< noZS >
Definition at line 76 of file EcalClusterTools.h.
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(), CaloNavigator< T, TOPO >::home(), i, j, fff_deleter::log, bookConverter::max, CaloNavigator< T, TOPO >::offsetBy(), Geom::Phi< T >::phi(), PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), position, Geom::twoPi(), findQualityFiles::v, and w.
Referenced by GsfElectronFull5x5Filler::calculateShowerShape_full5x5(), and GsfElectronAlgo::calculateShowerShape_full5x5().
787 float e_5x5 =
e5x5( cluster, recHits, topology );
788 float covEtaEta, covEtaPhi, covPhiPhi;
791 const std::vector< std::pair<DetId, float>>& v_id =cluster.hitsAndFractions();
795 double numeratorEtaEta = 0;
796 double numeratorEtaPhi = 0;
797 double numeratorPhiPhi = 0;
802 for (
int i = -2;
i <= 2; ++
i ) {
803 for (
int j = -2;
j <= 2; ++
j ) {
809 if ( energy <= 0 )
continue;
813 double dPhi = position.
phi() - meanPosition.
phi();
817 double dEta = position.
eta() - meanPosition.eta();
822 numeratorEtaEta += w * dEta * dEta;
823 numeratorEtaPhi += w * dEta *
dPhi;
824 numeratorPhiPhi += w * dPhi *
dPhi;
828 if (denominator != 0.0) {
845 std::vector<float>
v;
846 v.push_back( covEtaEta );
847 v.push_back( covEtaPhi );
848 v.push_back( covPhiPhi );
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Geom::Phi< T > phi() const
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
T offsetBy(int deltaX, int deltaY) const
Free movement of arbitray steps.
double dPhi(double phi1, double phi2)
void home() const
move the navigator back to the starting point
XYZVectorD XYZVector
spatial vector with cartesian internal representation
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
static int position[264][3]
const GlobalPoint & getPosition() const
Returns the position of reference for this cell.