#include <Multi5x5ClusterAlgo.h>
Classes | |
class | ProtoBasicCluster |
Public Types | |
typedef math::XYZPoint | Point |
point in the space More... | |
Public Member Functions | |
std::vector< reco::BasicCluster > | makeClusters (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, reco::CaloID::Detectors detector, bool regional=false, const std::vector< RectangularEtaPhiRegion > ®ions=std::vector< RectangularEtaPhiRegion >()) |
Multi5x5ClusterAlgo () | |
Multi5x5ClusterAlgo (double ebst, double ecst, const std::vector< int > &v_chstatus, const PositionCalc &posCalc, bool reassignSeedCrysToClusterItSeeds=false) | |
virtual | ~Multi5x5ClusterAlgo () |
Private Member Functions | |
void | addCrystal (const DetId &det) |
bool | checkMaxima (CaloNavigator< DetId > &navigator, const EcalRecHitCollection *hits) |
void | mainSearch (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p) |
void | makeCluster (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorGeometry *geometryES_p, const EcalRecHitCollection::const_iterator &seedIt, bool seedOutside) |
void | prepareCluster (CaloNavigator< DetId > &navigator, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry) |
Private Attributes | |
std::set< DetId > | canSeed_s |
std::vector< reco::BasicCluster > | clusters_v |
std::vector< std::pair< DetId, float > > | current_v |
reco::CaloID::Detectors | detector_ |
The ecal region used. More... | |
double | ecalBarrelSeedThreshold |
double | ecalEndcapSeedThreshold |
PositionCalc | posCalculator_ |
std::vector< ProtoBasicCluster > | protoClusters_ |
bool | reassignSeedCrysToClusterItSeeds_ |
const EcalRecHitCollection * | recHits_ |
std::vector< EcalRecHit > | seeds |
std::set< DetId > | used_s |
std::vector< int > | v_chstatus_ |
std::vector< std::pair< DetId, int > > | whichClusCrysBelongsTo_ |
Definition at line 27 of file Multi5x5ClusterAlgo.h.
point in the space
Definition at line 80 of file Multi5x5ClusterAlgo.h.
|
inline |
Definition at line 56 of file Multi5x5ClusterAlgo.h.
|
inline |
Definition at line 59 of file Multi5x5ClusterAlgo.h.
References posCalculator_, and v_chstatus_.
|
inlinevirtual |
Definition at line 65 of file Multi5x5ClusterAlgo.h.
References gamEcalExtractorBlocks_cff::detector, Multi5x5ClusterAlgo::ProtoBasicCluster::hits(), and makeClusters().
|
private |
Definition at line 404 of file Multi5x5ClusterAlgo.cc.
|
private |
Definition at line 296 of file Multi5x5ClusterAlgo.cc.
References CaloNavigator< T, TOPO >::east(), spr::find(), edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), mps_fire::i, CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::pos(), CaloNavigator< T, TOPO >::south(), and CaloNavigator< T, TOPO >::west().
|
private |
Definition at line 134 of file Multi5x5ClusterAlgo.cc.
References Multi5x5ClusterAlgo::ProtoBasicCluster::energy(), edm::SortedCollection< T, SORT >::find(), hfClusterShapes_cfi::hits, Multi5x5ClusterAlgo::ProtoBasicCluster::hits(), EcalRecHit::id(), EcalRecHit::kGood, LogTrace, reco::CaloCluster::multi5x5, particleFlowRecHitECAL_cfi::navigator, position, mps_fire::result, and Multi5x5ClusterAlgo::ProtoBasicCluster::seed().
|
private |
Definition at line 235 of file Multi5x5ClusterAlgo.cc.
References reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, EcalBarrel, randomXiThetaGunProducer_cfi::energy, EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), LogTrace, and position.
std::vector< reco::BasicCluster > Multi5x5ClusterAlgo::makeClusters | ( | const EcalRecHitCollection * | hits, |
const CaloSubdetectorGeometry * | geometry, | ||
const CaloSubdetectorTopology * | topology_p, | ||
const CaloSubdetectorGeometry * | geometryES_p, | ||
reco::CaloID::Detectors | detector, | ||
bool | regional = false , |
||
const std::vector< RectangularEtaPhiRegion > & | regions = std::vector<RectangularEtaPhiRegion>() |
||
) |
Definition at line 46 of file Multi5x5ClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, reco::CaloID::DET_NONE, edm::SortedCollection< T, SORT >::end(), randomXiThetaGunProducer_cfi::energy, ET, CaloSubdetectorGeometry::getGeometry(), hfClusterShapes_cfi::hits, isClusterEtLess(), LogTrace, AlCaHLTBitMon_QueryRunRegistry::string, electronIdCutBased_cfi::threshold, x, and y.
Referenced by Multi5x5ClusterProducer::clusterizeECALPart(), EgammaHLTMulti5x5ClusterProducer::clusterizeECALPart(), and ~Multi5x5ClusterAlgo().
|
private |
Definition at line 345 of file Multi5x5ClusterAlgo.cc.
References funct::abs(), PVValHelper::dx, PVValHelper::dy, CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::offsetBy().
|
private |
Definition at line 104 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 112 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 109 of file Multi5x5ClusterAlgo.h.
|
private |
The ecal region used.
Definition at line 88 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 91 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 92 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 85 of file Multi5x5ClusterAlgo.h.
Referenced by Multi5x5ClusterAlgo().
|
private |
Definition at line 113 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 117 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 95 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 98 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 103 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 115 of file Multi5x5ClusterAlgo.h.
Referenced by Multi5x5ClusterAlgo().
|
private |
Definition at line 100 of file Multi5x5ClusterAlgo.h.