#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 28 of file IslandClusterAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 29 of file IslandClusterAlgo.h.
|
inline |
Definition at line 31 of file IslandClusterAlgo.h.
|
inline |
Definition at line 33 of file IslandClusterAlgo.h.
References posCalculator_.
|
inlinevirtual |
Definition at line 51 of file IslandClusterAlgo.h.
|
private |
Definition at line 109 of file IslandClusterAlgo.cc.
References gather_cfg::cout, current_v, hfClusterShapes_cfi::hits, makeCluster(), HLT_2022v12_cff::navigator, pINFO, searchEast(), searchNorth(), searchSouth(), searchWest(), seeds, used_s, and verbosity.
Referenced by makeClusters().
|
private |
Definition at line 253 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, HCALHighEnergyHPDFilter_cfi::energy, EcalRecHit::energy(), hfClusterShapes_cfi::hits, 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, clusters_v, gather_cfg::cout, ecalBarrelSeedThreshold, ecalEndcapSeedThreshold, endcap, HCALHighEnergyHPDFilter_cfi::energy, ET, CaloSubdetectorGeometry::getGeometry(), hfClusterShapes_cfi::hits, isClusterEtLess(), EcalRecHit::kGood, mainSearch(), pINFO, position, recHits_, HLT_2022v12_cff::region, seeds, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, remoteMonitoring_LASER_era2018_cfg::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 IslandClusterProducer::clusterizeECALPart(), and Pi0FixedMassWindowCalibration::duringLoop().
|
private |
Definition at line 216 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), HLT_2022v12_cff::navigator, recHits_, searchNorth(), searchSouth(), shouldBeAdded(), and used_s.
Referenced by mainSearch().
|
private |
Definition at line 154 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), HLT_2022v12_cff::navigator, recHits_, shouldBeAdded(), and used_s.
Referenced by mainSearch(), searchEast(), and searchWest().
|
private |
Definition at line 174 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), HLT_2022v12_cff::navigator, recHits_, shouldBeAdded(), and used_s.
Referenced by mainSearch(), searchEast(), and searchWest().
|
private |
Definition at line 193 of file IslandClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), HLT_2022v12_cff::navigator, recHits_, searchNorth(), searchSouth(), shouldBeAdded(), and used_s.
Referenced by mainSearch().
|
inline |
|
private |
Definition at line 240 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 89 of file IslandClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 86 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), searchEast(), searchNorth(), searchSouth(), and searchWest().
|
private |
Definition at line 73 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 74 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 70 of file IslandClusterAlgo.h.
Referenced by IslandClusterAlgo(), and makeCluster().
|
private |
Definition at line 77 of file IslandClusterAlgo.h.
Referenced by makeClusters(), searchEast(), searchNorth(), searchSouth(), searchWest(), and shouldBeAdded().
|
private |
Definition at line 80 of file IslandClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 83 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), searchEast(), searchNorth(), searchSouth(), searchWest(), and shouldBeAdded().
|
private |
Definition at line 100 of file IslandClusterAlgo.h.
Referenced by makeClusters(), and shouldBeAdded().
|
private |
Definition at line 96 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 97 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 99 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 92 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 93 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 103 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), makeClusters(), and setVerbosity().