#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 36 of file ClusterShapeAlgo.h.
|
private |
Enumerator | |
---|---|
Eta | |
Phi |
Definition at line 109 of file ClusterShapeAlgo.h.
ClusterShapeAlgo::ClusterShapeAlgo | ( | const edm::ParameterSet & | par | ) |
Definition at line 19 of file ClusterShapeAlgo.cc.
|
inline |
Definition at line 41 of file ClusterShapeAlgo.h.
|
private |
Definition at line 500 of file ClusterShapeAlgo.cc.
References calc_AbsZernikeMoment(), and fast_AbsZernikeMoment().
Referenced by Calculate_ComplexZernikeMoments().
|
private |
Definition at line 561 of file ClusterShapeAlgo.cc.
References funct::cos(), alignCSCRings::e, energyDistribution_, factorial(), i, m, phi, funct::pow(), alignCSCRings::r, query::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 22 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_, lat_, Phi, and phiLat_.
Referenced by CosmicClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), and Pi0FixedMassWindowCalibration::duringLoop().
|
private |
Definition at line 82 of file ClusterShapeAlgo.cc.
References e2nd_, e2ndId_, eMaxId_, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), and EcalRecHit::id().
Referenced by Calculate().
|
private |
Definition at line 384 of file ClusterShapeAlgo.cc.
References funct::abs(), EcalBarrel, relval_parameters_module::energy, energyBasketFractionEta_, energyBasketFractionPhi_, Eta, edm::SortedCollection< T, SORT >::find(), first, i, EBDetId::ieta(), EBDetId::iphi(), EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and Phi.
Referenced by Calculate().
|
private |
Definition at line 493 of file ClusterShapeAlgo.cc.
References A20_, A42_, and absZernikeMoment().
Referenced by Calculate().
|
private |
Definition at line 312 of file ClusterShapeAlgo.cc.
References covEtaEta_, covEtaPhi_, covPhiPhi_, cuy::denominator, dPhi(), e5x5_, energyMap_, PV3DBase< T, PVType, FrameType >::eta(), CaloSubdetectorGeometry::getGeometry(), edm::ParameterSet::getParameter(), CaloCellGeometry::getPosition(), i, j, create_public_lumi_plots::log, max(), parameterSet_, Geom::Phi< T >::phi(), PV3DBase< T, PVType, FrameType >::phi(), 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 133 of file ClusterShapeAlgo.cc.
References e2x2_, e2x2_Diagonal_X_, e2x2_Diagonal_Y_, and energyMap_.
Referenced by Calculate().
|
private |
Definition at line 288 of file ClusterShapeAlgo.cc.
References e2x5Bottom_, energyMap_, i, and j.
Referenced by Calculate().
|
private |
Definition at line 277 of file ClusterShapeAlgo.cc.
References e2x5Left_, energyMap_, i, and j.
Referenced by Calculate().
|
private |
Definition at line 266 of file ClusterShapeAlgo.cc.
References e2x5Right_, energyMap_, i, and j.
Referenced by Calculate().
|
private |
Definition at line 300 of file ClusterShapeAlgo.cc.
References e2x5Top_, energyMap_, i, and j.
Referenced by Calculate().
|
private |
Definition at line 167 of file ClusterShapeAlgo.cc.
References e3x2_, e3x2Ratio_, energyMap_, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 217 of file ClusterShapeAlgo.cc.
References e3x3_, energyMap_, i, j, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 229 of file ClusterShapeAlgo.cc.
References e2x2_Diagonal_X_, e2x2_Diagonal_Y_, e4x4_, energyMap_, i, j, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 254 of file ClusterShapeAlgo.cc.
References e5x5_, energyMap_, i, j, and edm::second().
Referenced by Calculate().
|
private |
Definition at line 593 of file ClusterShapeAlgo.cc.
References EcalClusterEnergyDeposition::deposited_energy, diffTreeTool::diff, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), energyDistribution_, edm::SortedCollection< T, SORT >::find(), CaloSubdetectorGeometry::getGeometry(), edm::ParameterSet::getParameter(), CaloCellGeometry::getPosition(), create_public_lumi_plots::log, LogDebug, M_PI, max(), parameterSet_, EcalClusterEnergyDeposition::phi, EcalClusterEnergyDeposition::r, histoStyle::weight, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Calculate().
|
private |
Definition at line 444 of file ClusterShapeAlgo.cc.
References funct::cos(), reco::e1, reco::e2, energyDistribution_, etaLat_, i, lat_, n, phi, phiLat_, alignCSCRings::r, funct::sin(), and tmp.
Referenced by Calculate().
|
private |
|
private |
Definition at line 53 of file ClusterShapeAlgo.cc.
References eMax_, eMaxId_, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), and EcalRecHit::id().
Referenced by Calculate().
|
private |
Definition at line 111 of file ClusterShapeAlgo.cc.
References eMaxId_, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), energyMap_, edm::SortedCollection< T, SORT >::find(), EcalRecHit::id(), ecaldqm::topology(), x, and detailsBasic3DVector::y.
Referenced by Calculate().
|
private |
Definition at line 512 of file ClusterShapeAlgo.cc.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 514 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
|
private |
Definition at line 518 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 520 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 522 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
|
private |
Definition at line 526 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 528 of file ClusterShapeAlgo.cc.
References alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 530 of file ClusterShapeAlgo.cc.
References funct::pow(), and alignCSCRings::r.
Referenced by Calculate_Polynomials().
|
private |
Definition at line 532 of file ClusterShapeAlgo.cc.
References funct::pow().
Referenced by Calculate_Polynomials().
|
private |
Definition at line 534 of file ClusterShapeAlgo.cc.
References funct::pow().
Referenced by Calculate_Polynomials().
|
private |
|
private |
Definition at line 536 of file ClusterShapeAlgo.cc.
References Calculate_Polynomials(), funct::cos(), alignCSCRings::e, energyDistribution_, fcn_, i, cmsHarvester::index, phi, alignCSCRings::r, query::result, funct::sin(), and mathSSE::sqrt().
Referenced by absZernikeMoment().
|
private |
Definition at line 102 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_ComplexZernikeMoments().
|
private |
Definition at line 102 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_ComplexZernikeMoments().
|
private |
Definition at line 95 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_Covariances().
|
private |
Definition at line 95 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_Covariances().
|
private |
Definition at line 95 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_Covariances().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_2ndEnergy().
|
private |
Definition at line 105 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_2ndEnergy().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x2().
|
private |
Definition at line 93 of file ClusterShapeAlgo.h.
Referenced by Calculate_e2x2(), and Calculate_e4x4().
|
private |
Definition at line 93 of file ClusterShapeAlgo.h.
Referenced by Calculate_e2x2(), and Calculate_e4x4().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Bottom().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Left().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Right().
|
private |
Definition at line 97 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e2x5Top().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e3x2().
|
private |
Definition at line 98 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e3x2().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e3x3().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_e4x4().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), Calculate_Covariances(), and Calculate_e5x5().
|
private |
Definition at line 96 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_TopEnergy().
|
private |
Definition at line 105 of file ClusterShapeAlgo.h.
Referenced by Calculate(), Calculate_2ndEnergy(), Calculate_TopEnergy(), and Create_Map().
|
private |
Definition at line 103 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_BarrelBasketEnergyFraction().
|
private |
Definition at line 104 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_BarrelBasketEnergyFraction().
|
private |
Definition at line 106 of file ClusterShapeAlgo.h.
Referenced by calc_AbsZernikeMoment(), Calculate_EnergyDepTopology(), Calculate_lat(), and fast_AbsZernikeMoment().
|
private |
Definition at line 92 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 100 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_lat().
|
private |
Definition at line 107 of file ClusterShapeAlgo.h.
Referenced by Calculate_Polynomials(), and fast_AbsZernikeMoment().
|
private |
Definition at line 99 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_lat().
|
private |
Definition at line 90 of file ClusterShapeAlgo.h.
Referenced by Calculate_Covariances(), and Calculate_EnergyDepTopology().
|
private |
Definition at line 101 of file ClusterShapeAlgo.h.
Referenced by Calculate(), and Calculate_lat().