#include <HybridClusterAlgo.h>
Public Member Functions | |
HybridClusterAlgo () | |
HybridClusterAlgo (double eb_str, int step, double ethres, double eseed, double xi, bool useEtForXi, double ewing, const std::vector< int > &v_chstatus, const PositionCalc &posCalculator, bool dynamicEThres=false, double eThresA=0, double eThresB=0.1, const std::vector< int > &severityToExclude=std::vector< int >().operator=(std::vector< int >(999)), bool excludeFromCluster=false) | |
void | mainSearch (const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry) |
void | makeClusters (const EcalRecHitCollection *, const CaloSubdetectorGeometry *geometry, reco::BasicClusterCollection &basicClusters, const EcalSeverityLevelAlgo *sevLv, bool regional=false, const std::vector< RectangularEtaPhiRegion > ®ions=std::vector< RectangularEtaPhiRegion >()) |
double | makeDomino (EcalBarrelNavigatorHT &navigator, std::vector< EcalRecHit > &cells) |
reco::SuperClusterCollection | makeSuperClusters (const reco::CaloClusterPtrVector &) |
void | setDynamicPhiRoad (const edm::ParameterSet &bremRecoveryPset) |
~HybridClusterAlgo () | |
Private Types | |
typedef math::XYZPoint | Point |
Private Member Functions | |
double | e2Et (EcalBarrelNavigatorHT &navigator, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry) |
double | et25 (EcalBarrelNavigatorHT &navigator, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry) |
Private Attributes | |
std::map< int, std::vector< reco::BasicCluster > > | clustered_ |
bool | dynamicEThres_ |
bool | dynamicPhiRoad_ |
double | eb_st |
double | Eseed |
double | eThres_ |
double | eThresA_ |
double | eThresB_ |
double | Ewing |
std::set< DetId > | excludedCrys_ |
bool | excludeFromCluster_ |
BremRecoveryPhiRoadAlgo * | phiRoadAlgo_ |
int | phiSteps_ |
PositionCalc | posCalculator_ |
const EcalRecHitCollection * | recHits_ |
std::vector< reco::BasicCluster > | seedClus_ |
std::vector< EcalRecHit > | seeds |
float | severityRecHitThreshold_ |
float | severitySpikeThreshold_ |
EcalBarrelHardcodedTopology * | topo_ |
std::set< DetId > | useddetids |
bool | UseEtForXi |
std::vector< int > | v_chstatus_ |
std::vector< int > | v_severitylevel_ |
double | Xi |
Definition at line 32 of file HybridClusterAlgo.h.
|
private |
Definition at line 36 of file HybridClusterAlgo.h.
|
inline |
Definition at line 122 of file HybridClusterAlgo.h.
References hybridSuperClusters_cfi::eseed, hybridSuperClusters_cfi::ewing, hybridSuperClusters_cfi::useEtForXi, and hybridSuperClusters_cfi::xi.
HybridClusterAlgo::HybridClusterAlgo | ( | double | eb_str, |
int | step, | ||
double | ethres, | ||
double | eseed, | ||
double | xi, | ||
bool | useEtForXi, | ||
double | ewing, | ||
const std::vector< int > & | v_chstatus, | ||
const PositionCalc & | posCalculator, | ||
bool | dynamicEThres = false , |
||
double | eThresA = 0 , |
||
double | eThresB = 0.1 , |
||
const std::vector< int > & | severityToExclude = std::vector<int>().operator=(std::vector<int>(999)) , |
||
bool | excludeFromCluster = false |
||
) |
Definition at line 15 of file HybridClusterAlgo.cc.
References dynamicEThres_, dynamicPhiRoad_, Eseed, eThresA_, eThresB_, LogTrace, posCalculator_, topo_, UseEtForXi, v_chstatus_, and Xi.
|
inline |
Definition at line 146 of file HybridClusterAlgo.h.
|
private |
Definition at line 666 of file HybridClusterAlgo.cc.
References PositionCalc::Calculate_Location(), PVValHelper::dx, PVValHelper::dy, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), CaloNavigator< T, TOPO >::offsetBy(), posCalculator_, and recHits_.
Referenced by mainSearch().
|
private |
Definition at line 626 of file HybridClusterAlgo.cc.
References PositionCalc::Calculate_Location(), PVValHelper::dx, PVValHelper::dy, edm::SortedCollection< T, SORT >::end(), CastorDataFrameFilter_impl::energySum(), stringResolutionProvider_cfi::et, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), CaloNavigator< T, TOPO >::offsetBy(), posCalculator_, and recHits_.
Referenced by mainSearch().
void HybridClusterAlgo::mainSearch | ( | const EcalRecHitCollection * | hits, |
const CaloSubdetectorGeometry * | geometry | ||
) |
Definition at line 181 of file HybridClusterAlgo.cc.
References BremRecoveryPhiRoadAlgo::barrelPhiRoad(), PositionCalc::Calculate_Location(), clustered_, reco::CaloID::DET_ECAL_BARREL, dynamicEThres_, dynamicPhiRoad_, e2Et(), heepElectronID_HEEPV50_CSA14_25ns_cff::e5x5, Eseed, et25(), eThres_, eThresA_, eThresB_, CaloNavigator< T, TOPO >::home(), reco::CaloCluster::hybrid, mps_fire::i, createfilelist::int, gen::k, LogTrace, makeDomino(), particleFlowRecHitECAL_cfi::navigator, nhits, CaloNavigator< T, TOPO >::north(), DetId::null(), phiRoadAlgo_, phiSteps_, posCalculator_, seedClus_, seeds, CaloNavigator< T, TOPO >::south(), mathSSE::sqrt(), groupFilesInBlocks::temp, topo_, useddetids, UseEtForXi, and Xi.
Referenced by makeClusters().
void HybridClusterAlgo::makeClusters | ( | const EcalRecHitCollection * | recColl, |
const CaloSubdetectorGeometry * | geometry, | ||
reco::BasicClusterCollection & | basicClusters, | ||
const EcalSeverityLevelAlgo * | sevLv, | ||
bool | regional = false , |
||
const std::vector< RectangularEtaPhiRegion > & | regions = std::vector<RectangularEtaPhiRegion>() |
||
) |
Definition at line 57 of file HybridClusterAlgo.cc.
References PV3DBase< T, PVType, FrameType >::basicVector(), edm::SortedCollection< T, SORT >::begin(), clustered_, eb_st, edm::SortedCollection< T, SORT >::end(), ET, excludedCrys_, excludeFromCluster_, spr::find(), CaloSubdetectorGeometry::getGeometry(), createfilelist::int, EcalRecHit::kGood, LogTrace, mainSearch(), Basic3DVector< T >::perp(), position, recHits_, seedClus_, seeds, EcalSeverityLevelAlgo::severityLevel(), Basic3DVector< T >::unit(), useddetids, v_chstatus_, and v_severitylevel_.
Referenced by EgammaHLTHybridClusterProducer::produce(), and HybridClusterProducer::produce().
double HybridClusterAlgo::makeDomino | ( | EcalBarrelNavigatorHT & | navigator, |
std::vector< EcalRecHit > & | cells | ||
) |
Definition at line 542 of file HybridClusterAlgo.cc.
References CaloNavigator< T, TOPO >::east(), edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), Ewing, excludedCrys_, edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), CaloNavigator< T, TOPO >::pos(), recHits_, useddetids, and CaloNavigator< T, TOPO >::west().
Referenced by mainSearch().
reco::SuperClusterCollection HybridClusterAlgo::makeSuperClusters | ( | const reco::CaloClusterPtrVector & | clustersCollection | ) |
Definition at line 465 of file HybridClusterAlgo.cc.
References clustered_, reco::CaloCluster::energy(), mps_fire::i, createfilelist::int, LogTrace, RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, edm::PtrVector< T >::push_back(), SurveyInfoScenario_cff::seed, seedClus_, and edm::PtrVectorBase::size().
Referenced by EgammaHLTHybridClusterProducer::produce(), and HybridClusterProducer::produce().
|
inline |
Definition at line 153 of file HybridClusterAlgo.h.
References hfClusterShapes_cfi::hits, and particleFlowRecHitECAL_cfi::navigator.
Referenced by EgammaHLTHybridClusterProducer::EgammaHLTHybridClusterProducer().
|
private |
Definition at line 103 of file HybridClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), and makeSuperClusters().
|
private |
Definition at line 79 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 76 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 39 of file HybridClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 64 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 59 of file HybridClusterAlgo.h.
Referenced by mainSearch().
|
private |
Definition at line 60 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 61 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 73 of file HybridClusterAlgo.h.
Referenced by makeDomino().
|
private |
Definition at line 117 of file HybridClusterAlgo.h.
Referenced by makeClusters(), and makeDomino().
|
private |
Definition at line 116 of file HybridClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 56 of file HybridClusterAlgo.h.
Referenced by mainSearch().
|
private |
Definition at line 44 of file HybridClusterAlgo.h.
Referenced by mainSearch().
|
private |
Definition at line 106 of file HybridClusterAlgo.h.
Referenced by e2Et(), et25(), HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 86 of file HybridClusterAlgo.h.
Referenced by e2Et(), et25(), makeClusters(), and makeDomino().
|
private |
Definition at line 100 of file HybridClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), and makeSuperClusters().
|
private |
Definition at line 97 of file HybridClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 113 of file HybridClusterAlgo.h.
|
private |
Definition at line 114 of file HybridClusterAlgo.h.
|
private |
Definition at line 89 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 94 of file HybridClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), and makeDomino().
|
private |
Definition at line 70 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().
|
private |
Definition at line 109 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and makeClusters().
|
private |
Definition at line 112 of file HybridClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 67 of file HybridClusterAlgo.h.
Referenced by HybridClusterAlgo(), and mainSearch().