#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, 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< EcalEtaPhiRegion > ®ions=std::vector< EcalEtaPhiRegion >()) |
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 |
VerbosityLevel | verbosity |
Definition at line 27 of file IslandClusterAlgo.h.
point in the space
Definition at line 61 of file IslandClusterAlgo.h.
Enumerator | |
---|---|
barrel | |
endcap |
Definition at line 31 of file IslandClusterAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 32 of file IslandClusterAlgo.h.
|
inline |
Definition at line 34 of file IslandClusterAlgo.h.
|
inline |
Definition at line 37 of file IslandClusterAlgo.h.
References posCalculator_.
|
inlinevirtual |
Definition at line 42 of file IslandClusterAlgo.h.
|
private |
Definition at line 106 of file IslandClusterAlgo.cc.
References gather_cfg::cout, current_v, makeCluster(), HLT_FULL_cff::navigator, pINFO, searchEast(), searchNorth(), searchSouth(), searchWest(), seeds, used_s, and verbosity.
Referenced by makeClusters().
|
private |
Definition at line 266 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, relval_parameters_module::energy, 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< EcalEtaPhiRegion > & | regions = std::vector<EcalEtaPhiRegion>() |
||
) |
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, relval_parameters_module::energy, ET, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), mainSearch(), pINFO, position, recHits_, HLT_FULL_cff::region, seeds, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, PV3DBase< T, PVType, FrameType >::theta(), dtDQMClient_cfg::threshold, used_s, and verbosity.
Referenced by IslandClusterProducer::clusterizeECALPart(), EgammaHLTIslandClusterProducer::clusterizeECALPart(), and Pi0FixedMassWindowCalibration::duringLoop().
|
private |
Definition at line 226 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 158 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 180 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 201 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 |
|
private |
Definition at line 252 of file IslandClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::end(), recHits_, and used_s.
Referenced by searchEast(), searchNorth(), searchSouth(), and searchWest().
|
private |
Definition at line 86 of file IslandClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 83 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), searchEast(), searchNorth(), searchSouth(), and searchWest().
|
private |
Definition at line 70 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 71 of file IslandClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 66 of file IslandClusterAlgo.h.
Referenced by IslandClusterAlgo(), and makeCluster().
|
private |
Definition at line 74 of file IslandClusterAlgo.h.
Referenced by makeClusters(), searchEast(), searchNorth(), searchSouth(), searchWest(), and shouldBeAdded().
|
private |
Definition at line 77 of file IslandClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 80 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), searchEast(), searchNorth(), searchSouth(), searchWest(), and shouldBeAdded().
|
private |
Definition at line 89 of file IslandClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), makeClusters(), and setVerbosity().