#include <IslandClusterAlgo.h>
Public Types | |
enum | EcalPart { barrel = 0, endcap = 1 } |
typedef math::XYZPoint | Point |
point in the space More... | |
enum | VerbosityLevel { pDEBUG = 0, pWARNING = 1, pINFO = 2, pERROR = 3 } |
Public Member Functions | |
IslandClusterAlgo () | |
IslandClusterAlgo (double ebst, double ecst, const PositionCalc &posCalc, const std::vector< int > &v_chstatusSeed_Barrel, const std::vector< int > &v_chstatusSeed_Endcap, const std::vector< int > &v_chstatus_Barrel, const std::vector< int > &v_chstatus_Endcap, VerbosityLevel the_verbosity=pERROR) | |
std::vector< reco::BasicCluster > | makeClusters (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, EcalPart ecalPart, bool regional=false, const std::vector< RectangularEtaPhiRegion > ®ions=std::vector< RectangularEtaPhiRegion >()) |
void | setVerbosity (VerbosityLevel the_verbosity) |
virtual | ~IslandClusterAlgo () |
Private Member Functions | |
void | mainSearch (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, EcalPart ecalPart) |
void | makeCluster (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorGeometry *geometryES_p) |
void | searchEast (const CaloNavigator< DetId > &navigator, const CaloSubdetectorTopology *topology) |
void | searchNorth (const CaloNavigator< DetId > &navigator) |
void | searchSouth (const CaloNavigator< DetId > &navigator) |
void | searchWest (const CaloNavigator< DetId > &navigator, const CaloSubdetectorTopology *topology) |
bool | shouldBeAdded (EcalRecHitCollection::const_iterator candidate_it, EcalRecHitCollection::const_iterator previous_it) |
Private Attributes | |
std::vector< reco::BasicCluster > | clusters_v |
std::vector< std::pair< DetId, float > > | current_v |
double | ecalBarrelSeedThreshold |
double | ecalEndcapSeedThreshold |
PositionCalc | posCalculator_ |
const EcalRecHitCollection * | recHits_ |
std::vector< EcalRecHit > | seeds |
std::set< DetId > | used_s |
std::vector< int > | v_chstatus_ |
std::vector< int > | v_chstatus_Barrel_ |
std::vector< int > | v_chstatus_Endcap_ |
std::vector< int > | v_chstatusSeed_ |
std::vector< int > | v_chstatusSeed_Barrel_ |
std::vector< int > | v_chstatusSeed_Endcap_ |
VerbosityLevel | verbosity |
Definition at line 26 of file IslandClusterAlgo.h.
point in the space
Definition at line 66 of file IslandClusterAlgo.h.
Enumerator | |
---|---|
barrel | |
endcap |
Definition at line 30 of file IslandClusterAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 31 of file IslandClusterAlgo.h.
|
inline |
Definition at line 33 of file IslandClusterAlgo.h.
|
inline |
Definition at line 36 of file IslandClusterAlgo.h.
References posCalculator_.
|
inlinevirtual |
Definition at line 47 of file IslandClusterAlgo.h.
|
private |
Definition at line 117 of file IslandClusterAlgo.cc.
References gather_cfg::cout, current_v, makeCluster(), particleFlowRecHitECAL_cfi::navigator, pINFO, searchEast(), searchNorth(), searchSouth(), searchWest(), seeds, used_s, and verbosity.
Referenced by makeClusters().
|
private |
Definition at line 278 of file IslandClusterAlgo.cc.
References PositionCalc::Calculate_Location(), clusters_v, gather_cfg::cout, current_v, reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, EcalBarrel, EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), reco::CaloCluster::island, pINFO, posCalculator_, position, and verbosity.
Referenced by mainSearch().
std::vector< reco::BasicCluster > IslandClusterAlgo::makeClusters | ( | const EcalRecHitCollection * | hits, |
const CaloSubdetectorGeometry * | geometry, | ||
const CaloSubdetectorTopology * | topology_p, | ||
const CaloSubdetectorGeometry * | geometryES_p, | ||
EcalPart | ecalPart, | ||
bool | regional = false , |
||
const std::vector< RectangularEtaPhiRegion > & | regions = std::vector<RectangularEtaPhiRegion>() |
||
) |
Definition at line 17 of file IslandClusterAlgo.cc.
References barrel, edm::SortedCollection< T, SORT >::begin(), clusters_v, gather_cfg::cout, ecalBarrelSeedThreshold, ecalEndcapSeedThreshold, edm::SortedCollection< T, SORT >::end(), endcap, ET, CaloSubdetectorGeometry::getGeometry(), hfClusterShapes_cfi::hits, isClusterEtLess(), EcalRecHit::kGood, mainSearch(), pINFO, position, recHits_, seeds, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, electronIdCutBased_cfi::threshold, used_s, v_chstatus_, v_chstatus_Barrel_, v_chstatus_Endcap_, v_chstatusSeed_, v_chstatusSeed_Barrel_, v_chstatusSeed_Endcap_, verbosity, x, and y.
Referenced by EgammaHLTIslandClusterProducer::clusterizeECALPart(), IslandClusterProducer::clusterizeECALPart(), Pi0FixedMassWindowCalibration::duringLoop(), and setVerbosity().
|
private |
Definition at line 237 of file IslandClusterAlgo.cc.
References current_v, CaloNavigator< T, TOPO >::east(), edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), CaloNavigator< T, TOPO >::pos(), recHits_, searchNorth(), searchSouth(), shouldBeAdded(), and used_s.
Referenced by mainSearch().
|
private |
Definition at line 169 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::pos(), recHits_, shouldBeAdded(), and used_s.
Referenced by mainSearch(), searchEast(), and searchWest().
|
private |
Definition at line 191 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::pos(), recHits_, shouldBeAdded(), CaloNavigator< T, TOPO >::south(), and used_s.
Referenced by mainSearch(), searchEast(), and searchWest().
|
private |
Definition at line 212 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), CaloNavigator< T, TOPO >::pos(), recHits_, searchNorth(), searchSouth(), shouldBeAdded(), used_s, and CaloNavigator< T, TOPO >::west().
Referenced by mainSearch().
|
inline |
Definition at line 51 of file IslandClusterAlgo.h.
References hfClusterShapes_cfi::hits, makeClusters(), and verbosity.
|
private |
Definition at line 263 of file IslandClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::end(), EcalRecHit::kGood, recHits_, used_s, and v_chstatus_.
Referenced by searchEast(), searchNorth(), searchSouth(), and searchWest().
|
private |
Definition at line 91 of file IslandClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 88 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), searchEast(), searchNorth(), searchSouth(), and searchWest().
|
private |
Definition at line 75 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 76 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 71 of file IslandClusterAlgo.h.
Referenced by IslandClusterAlgo(), and makeCluster().
|
private |
Definition at line 79 of file IslandClusterAlgo.h.
Referenced by makeClusters(), searchEast(), searchNorth(), searchSouth(), searchWest(), and shouldBeAdded().
|
private |
Definition at line 82 of file IslandClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 85 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), searchEast(), searchNorth(), searchSouth(), searchWest(), and shouldBeAdded().
|
private |
Definition at line 102 of file IslandClusterAlgo.h.
Referenced by makeClusters(), and shouldBeAdded().
|
private |
Definition at line 98 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 99 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 101 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 94 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 95 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 105 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), makeClusters(), and setVerbosity().