#include <ClusterShapeAlgo.h>
Public Member Functions | |
reco::ClusterShape | Calculate (const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology) |
ClusterShapeAlgo (const edm::ParameterSet &par) | |
ClusterShapeAlgo () | |
Private Types | |
enum | { Eta, Phi } |
Private Member Functions | |
double | absZernikeMoment (const reco::BasicCluster &passedCluster, int n, int m, double R0=6.6) |
double | calc_AbsZernikeMoment (const reco::BasicCluster &passedCluster, int n, int m, double R0) |
void | Calculate_2ndEnergy (const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits) |
void | Calculate_BarrelBasketEnergyFraction (const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits, const int EtaPhi, const CaloSubdetectorGeometry *geometry) |
void | Calculate_ComplexZernikeMoments (const reco::BasicCluster &passedCluster) |
void | Calculate_Covariances (const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry) |
void | Calculate_e2x2 () |
void | Calculate_e2x5Bottom () |
void | Calculate_e2x5Left () |
void | Calculate_e2x5Right () |
void | Calculate_e2x5Top () |
void | Calculate_e3x2 () |
void | Calculate_e3x3 () |
void | Calculate_e4x4 () |
void | Calculate_e5x5 () |
void | Calculate_EnergyDepTopology (const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, bool logW=true) |
void | Calculate_lat (const reco::BasicCluster &passedCluster) |
void | Calculate_Polynomials (double rho) |
void | Calculate_TopEnergy (const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits) |
void | Create_Map (const EcalRecHitCollection *hits, const CaloSubdetectorTopology *topology) |
double | f00 (double r) |
double | f11 (double r) |
double | f20 (double r) |
double | f22 (double r) |
double | f31 (double r) |
double | f33 (double r) |
double | f40 (double r) |
double | f42 (double r) |
double | f44 (double r) |
double | f51 (double r) |
double | f53 (double r) |
double | f55 (double r) |
double | factorial (int n) const |
double | fast_AbsZernikeMoment (const reco::BasicCluster &passedCluster, int n, int m, double R0) |
Private Attributes | |
double | A20_ |
double | A42_ |
double | covEtaEta_ |
double | covEtaPhi_ |
double | covPhiPhi_ |
double | e2nd_ |
DetId | e2ndId_ |
double | e2x2_ |
int | e2x2_Diagonal_X_ |
int | e2x2_Diagonal_Y_ |
double | e2x5Bottom_ |
double | e2x5Left_ |
double | e2x5Right_ |
double | e2x5Top_ |
double | e3x2_ |
double | e3x2Ratio_ |
double | e3x3_ |
double | e4x4_ |
double | e5x5_ |
double | eMax_ |
DetId | eMaxId_ |
std::vector< double > | energyBasketFractionEta_ |
std::vector< double > | energyBasketFractionPhi_ |
std::vector< EcalClusterEnergyDeposition > | energyDistribution_ |
std::pair< DetId, double > | energyMap_ [5][5] |
double | etaLat_ |
std::vector< double > | fcn_ |
double | lat_ |
edm::ParameterSet | parameterSet_ |
double | phiLat_ |
calculates and creates a ClusterShape object
Definition at line 35 of file ClusterShapeAlgo.h.
|
private |
Enumerator | |
---|---|
Eta | |
Phi |
Definition at line 111 of file ClusterShapeAlgo.h.
ClusterShapeAlgo::ClusterShapeAlgo | ( | const edm::ParameterSet & | par | ) |
Definition at line 19 of file ClusterShapeAlgo.cc.
|
inline |
Definition at line 38 of file ClusterShapeAlgo.h.
|
private |
Definition at line 525 of file ClusterShapeAlgo.cc.
References calc_AbsZernikeMoment(), fast_AbsZernikeMoment(), visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, and HLT_2022v12_cff::R0.
Referenced by Calculate_ComplexZernikeMoments().
|
private |
Definition at line 588 of file ClusterShapeAlgo.cc.
References funct::cos(), MillePedeFileConverter_cfg::e, reco::CaloCluster::energy(), energyDistribution_, factorial(), mps_fire::i, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, phi, funct::pow(), alignCSCRings::r, HLT_2022v12_cff::R0, mps_fire::result, alignCSCRings::s, funct::sin(), and mathSSE::sqrt().
Referenced by absZernikeMoment().
reco::ClusterShape ClusterShapeAlgo::Calculate | ( | const reco::BasicCluster & | passedCluster, |
const EcalRecHitCollection * | hits, | ||
const CaloSubdetectorGeometry * | geometry, | ||
const CaloSubdetectorTopology * | topology | ||
) |
Definition at line 21 of file ClusterShapeAlgo.cc.
References A20_, A42_, Calculate_2ndEnergy(), Calculate_BarrelBasketEnergyFraction(), Calculate_ComplexZernikeMoments(), Calculate_Covariances(), Calculate_e2x2(), Calculate_e2x5Bottom(), Calculate_e2x5Left(), Calculate_e2x5Right(), Calculate_e2x5Top(), Calculate_e3x2(), Calculate_e3x3(), Calculate_e4x4(), Calculate_e5x5(), Calculate_EnergyDepTopology(), Calculate_lat(), Calculate_TopEnergy(), covEtaEta_, covEtaPhi_, covPhiPhi_, Create_Map(), e2nd_, e2ndId_, e2x2_, e2x5Bottom_, e2x5Left_, e2x5Right_, e2x5Top_, e3x2_, e3x2Ratio_, e3x3_, e4x4_, e5x5_, eMax_, eMaxId_, energyBasketFractionEta_, energyBasketFractionPhi_, Eta, etaLat_, hfClusterShapes_cfi::hits, lat_, Phi, and phiLat_.
Referenced by CosmicClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), and Pi0FixedMassWindowCalibration::duringLoop().
|
private |
Definition at line 94 of file ClusterShapeAlgo.cc.
References e2nd_, e2ndId_, eMaxId_, EcalRecHit::energy(), hfClusterShapes_cfi::hits, reco::CaloCluster::hitsAndFractions(), and EcalRecHit::id().
Referenced by Calculate().
|
private |
Definition at line 406 of file ClusterShapeAlgo.cc.
References funct::abs(), EcalBarrel, HCALHighEnergyHPDFilter_cfi::energy, reco::CaloCluster::energy(), energyBasketFractionEta_, energyBasketFractionPhi_, Eta, first, relativeConstraints::geometry, EcalBarrelGeometry::getBasketSizeInPhi(), EcalBarrelGeometry::getEtaBaskets(), hfClusterShapes_cfi::hits, reco::CaloCluster::hitsAndFractions(), mps_fire::i, EBDetId::ieta(), EBDetId::iphi(), EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and Phi.
Referenced by Calculate().
|
private |
Definition at line 518 of file ClusterShapeAlgo.cc.
References A20_, A42_, and absZernikeMoment().
Referenced by Calculate().
|
private |
Definition at line 340 of file ClusterShapeAlgo.cc.
References covEtaEta_, covEtaPhi_, covPhiPhi_, bTagMiniDQMDeepCSV::denominator, HLT_2022v12_cff::dEta, HLT_2022v12_cff::dPhi, e5x5_, energyMap_, edm::ParameterSet::getParameter(), mps_fire::i, dqmiolumiharvest::j, dqm-mbProfile::log, SiStripPI::max, parameterSet_, Geom::pi(), position, edm::second(), Geom::twoPi(), w(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Calculate().
|
private |
Definition at line 136 of file ClusterShapeAlgo.cc.
References TCMET_cfi::corner, e2x2_, e2x2_Diagonal_X_, e2x2_Diagonal_Y_, and energyMap_.
Referenced by Calculate().
|
private |
Definition at line 316 of file ClusterShapeAlgo.cc.
References e2x5Bottom_, energyMap_, mps_fire::i, and dqmiolumiharvest::j.
Referenced by Calculate().
|
private |
Definition at line 304 of file ClusterShapeAlgo.cc.
References e2x5Left_, energyMap_, mps_fire::i, and dqmiolumiharvest::j.
Referenced by Calculate().
|
private |
Definition at line 292 of file ClusterShapeAlgo.cc.
References e2x5Right_, energyMap_, mps_fire::i, and dqmiolumiharvest::j.
Referenced by Calculate().
|
private |
Definition at line 328 of file ClusterShapeAlgo.cc.
References e2x5Top_, energyMap_, mps_fire::i, and dqmiolumiharvest::j.
Referenced by Calculate().
|
private |
Definition at line 177 of file ClusterShapeAlgo.cc.
References e3x2_, e3x2Ratio_, energyMap_, edm::second(), and Validation_hcalonly_cfi::sign.
Referenced by Calculate().
|
private |
Definition at line 242 of file ClusterShapeAlgo.cc.
References e3x3_, energyMap_, mps_fire::i, dqmiolumiharvest::j, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 252 of file ClusterShapeAlgo.cc.
References e2x2_Diagonal_X_, e2x2_Diagonal_Y_, e4x4_, energyMap_, mps_fire::i, dqmiolumiharvest::j, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 282 of file ClusterShapeAlgo.cc.
References e5x5_, energyMap_, mps_fire::i, dqmiolumiharvest::j, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 619 of file ClusterShapeAlgo.cc.
References EcalClusterEnergyDeposition::deposited_energy, change_name::diff, EcalRecHit::energy(), reco::CaloCluster::energy(), energyDistribution_, edm::ParameterSet::getParameter(), hfClusterShapes_cfi::hits, reco::CaloCluster::hitsAndFractions(), dqm-mbProfile::log, LogDebug, M_PI, SiStripPI::max, parameterSet_, EcalClusterEnergyDeposition::phi, reco::CaloCluster::position(), EcalClusterEnergyDeposition::r, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Calculate().
|
private |
Definition at line 469 of file ClusterShapeAlgo.cc.
References funct::cos(), StorageManager_cfg::e1, energyDistribution_, etaLat_, mps_fire::i, lat_, dqmiodumpmetadata::n, phi, phiLat_, alignCSCRings::r, funct::sin(), and createJobs::tmp.
Referenced by Calculate().
|
private |
|
private |
Definition at line 70 of file ClusterShapeAlgo.cc.
References cosmicPhotonAnalyzer_cfi::eMax, eMax_, eMaxId_, EcalRecHit::energy(), hfClusterShapes_cfi::hits, reco::CaloCluster::hitsAndFractions(), and EcalRecHit::id().
Referenced by Calculate().
|
private |
Definition at line 118 of file ClusterShapeAlgo.cc.
References eMaxId_, EcalRecHit::energy(), energyMap_, hfClusterShapes_cfi::hits, CaloNavigator< T, TOPO >::home(), EcalRecHit::id(), CaloNavigator< T, TOPO >::offsetBy(), x, and y.
Referenced by Calculate().
|
private |
Definition at line 540 of file ClusterShapeAlgo.cc.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 542 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 544 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 546 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 548 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 550 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 552 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 554 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 556 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 558 of file ClusterShapeAlgo.cc.
References funct::pow(), and alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 560 of file ClusterShapeAlgo.cc.
References funct::pow(), and alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 562 of file ClusterShapeAlgo.cc.
References funct::pow(), and alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 700 of file ClusterShapeAlgo.cc.
References mps_fire::i, and dqmiodumpmetadata::n.
Referenced by calc_AbsZernikeMoment().
|
private |
Definition at line 564 of file ClusterShapeAlgo.cc.
References Calculate_Polynomials(), funct::cos(), MillePedeFileConverter_cfg::e, reco::CaloCluster::energy(), energyDistribution_, fcn_, mps_fire::i, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, phi, alignCSCRings::r, HLT_2022v12_cff::R0, mps_fire::result, funct::sin(), and mathSSE::sqrt().
Referenced by absZernikeMoment().
|
private |
Definition at line 104 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_ComplexZernikeMoments().
|
private |
Definition at line 104 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_ComplexZernikeMoments().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_Covariances().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_Covariances().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_Covariances().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_2ndEnergy().
|
private |
Definition at line 107 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_2ndEnergy().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x2().
|
private |
Definition at line 95 of file ClusterShapeAlgo.h.
Referenced by Calculate_e2x2(), and Calculate_e4x4().
|
private |
Definition at line 95 of file ClusterShapeAlgo.h.
Referenced by Calculate_e2x2(), and Calculate_e4x4().
|
private |
Definition at line 99 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Bottom().
|
private |
Definition at line 99 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Left().
|
private |
Definition at line 99 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Right().
|
private |
Definition at line 99 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Top().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e3x2().
|
private |
Definition at line 100 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e3x2().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e3x3().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e4x4().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), Calculate_Covariances(), and Calculate_e5x5().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_TopEnergy().
|
private |
Definition at line 107 of file ClusterShapeAlgo.h.
Referenced by Calculate(), Calculate_2ndEnergy(), Calculate_TopEnergy(), and Create_Map().
|
private |
Definition at line 105 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_BarrelBasketEnergyFraction().
|
private |
Definition at line 106 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_BarrelBasketEnergyFraction().
|
private |
Definition at line 108 of file ClusterShapeAlgo.h.
Referenced by calc_AbsZernikeMoment(), Calculate_EnergyDepTopology(), Calculate_lat(), and fast_AbsZernikeMoment().
|
private |
Definition at line 94 of file ClusterShapeAlgo.h.
Referenced by Calculate_Covariances(), Calculate_e2x2(), Calculate_e2x5Bottom(), Calculate_e2x5Left(), Calculate_e2x5Right(), Calculate_e2x5Top(), Calculate_e3x2(), Calculate_e3x3(), Calculate_e4x4(), Calculate_e5x5(), and Create_Map().
|
private |
Definition at line 102 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_lat().
|
private |
Definition at line 109 of file ClusterShapeAlgo.h.
Referenced by Calculate_Polynomials(), and fast_AbsZernikeMoment().
|
private |
Definition at line 101 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_lat().
|
private |
Definition at line 92 of file ClusterShapeAlgo.h.
Referenced by Calculate_Covariances(), and Calculate_EnergyDepTopology().
|
private |
Definition at line 103 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_lat().