![]() |
![]() |
#include <Multi5x5ClusterAlgo.h>
Public Types | |
typedef math::XYZPoint | Point |
point in the space More... | |
enum | VerbosityLevel { pDEBUG = 0, pWARNING = 1, pINFO = 2, pERROR = 3 } |
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< EcalEtaPhiRegion > ®ions=std::vector< EcalEtaPhiRegion >()) |
Multi5x5ClusterAlgo () | |
Multi5x5ClusterAlgo (double ebst, double ecst, std::vector< int > v_chstatus, const PositionCalc &posCalc, VerbosityLevel the_verbosity=pERROR) | |
void | setVerbosity (VerbosityLevel the_verbosity) |
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) |
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_ |
const EcalRecHitCollection * | recHits_ |
std::vector< EcalRecHit > | seeds |
std::set< DetId > | used_s |
std::vector< int > | v_chstatus_ |
VerbosityLevel | verbosity |
Definition at line 28 of file Multi5x5ClusterAlgo.h.
point in the space
Definition at line 62 of file Multi5x5ClusterAlgo.h.
|
inline |
Definition at line 34 of file Multi5x5ClusterAlgo.h.
|
inline |
Definition at line 37 of file Multi5x5ClusterAlgo.h.
References posCalculator_, python.multivaluedict::sort(), and v_chstatus_.
|
inlinevirtual |
Definition at line 43 of file Multi5x5ClusterAlgo.h.
|
private |
Definition at line 346 of file Multi5x5ClusterAlgo.cc.
References current_v, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), recHits_, and used_s.
Referenced by prepareCluster().
|
private |
Definition at line 237 of file Multi5x5ClusterAlgo.cc.
References CaloNavigator< T >::east(), edm::SortedCollection< T, SORT >::end(), spr::find(), edm::SortedCollection< T, SORT >::find(), CaloNavigator< T >::home(), i, CaloNavigator< T >::north(), CaloNavigator< T >::pos(), recHits_, CaloNavigator< T >::south(), v_chstatus_, and CaloNavigator< T >::west().
Referenced by mainSearch().
|
private |
Definition at line 112 of file Multi5x5ClusterAlgo.cc.
References canSeed_s, checkMaxima(), gather_cfg::cout, current_v, spr::find(), edm::SortedCollection< T, SORT >::find(), makeCluster(), pINFO, prepareCluster(), seeds, used_s, v_chstatus_, and verbosity.
Referenced by makeClusters().
|
private |
Definition at line 188 of file Multi5x5ClusterAlgo.cc.
References PositionCalc::Calculate_Location(), clusters_v, gather_cfg::cout, current_v, reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, detector_, EcalBarrel, CaloRecHit::energy(), relval_parameters_module::energy, edm::SortedCollection< T, SORT >::find(), reco::CaloCluster::multi5x5, pINFO, posCalculator_, position, and verbosity.
Referenced by mainSearch().
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< EcalEtaPhiRegion > & | regions = std::vector<EcalEtaPhiRegion>() |
||
) |
Definition at line 16 of file Multi5x5ClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), canSeed_s, clusters_v, gather_cfg::cout, reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, reco::CaloID::DET_NONE, detector_, ecalBarrelSeedThreshold, ecalEndcapSeedThreshold, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, ET, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), mainSearch(), pINFO, position, recHits_, seeds, funct::sin(), python.multivaluedict::sort(), PV3DBase< T, PVType, FrameType >::theta(), dtT0WireCalibration_cfg::threshold, used_s, and verbosity.
Referenced by Multi5x5ClusterProducer::clusterizeECALPart(), and EgammaHLTMulti5x5ClusterProducer::clusterizeECALPart().
|
private |
Definition at line 287 of file Multi5x5ClusterAlgo.cc.
References abs, addCrystal(), canSeed_s, CaloNavigator< T >::home(), and CaloNavigator< T >::offsetBy().
Referenced by mainSearch().
|
inline |
|
private |
Definition at line 84 of file Multi5x5ClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), and prepareCluster().
|
private |
Definition at line 92 of file Multi5x5ClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 89 of file Multi5x5ClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeCluster().
|
private |
The ecal region used.
Definition at line 70 of file Multi5x5ClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 73 of file Multi5x5ClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 74 of file Multi5x5ClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 67 of file Multi5x5ClusterAlgo.h.
Referenced by makeCluster(), and Multi5x5ClusterAlgo().
|
private |
Definition at line 77 of file Multi5x5ClusterAlgo.h.
Referenced by addCrystal(), checkMaxima(), and makeClusters().
|
private |
Definition at line 80 of file Multi5x5ClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 83 of file Multi5x5ClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeClusters().
|
private |
Definition at line 95 of file Multi5x5ClusterAlgo.h.
Referenced by checkMaxima(), mainSearch(), and Multi5x5ClusterAlgo().
|
private |
Definition at line 98 of file Multi5x5ClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), makeClusters(), and setVerbosity().