#include <CosmicClusterAlgo.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 | |
CosmicClusterAlgo () | |
CosmicClusterAlgo (double ebst, double ebSt, double ebDt, double ebSp, double ecst, double ecSt, double ecDt, double ecSp, const PositionCalc &posCalc, VerbosityLevel the_verbosity=pERROR) | |
std::vector< reco::BasicCluster > | makeClusters (const EcalRecHitCollection *hits, const EcalUncalibratedRecHitCollection *uncalibhits, 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 | ~CosmicClusterAlgo () |
Private Member Functions | |
void | addCrystal (const DetId &det, const bool in9) |
bool | checkMaxima (CaloNavigator< DetId > &navigator) |
void | mainSearch (const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, EcalPart ecalPart) |
void | makeCluster (const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorGeometry *geometryES_p, DetId seedId) |
void | prepareCluster (CaloNavigator< DetId > &navigator, const CaloSubdetectorGeometry *geometry) |
Private Attributes | |
std::set< DetId > | canSeed_s |
std::vector< reco::BasicCluster > | clusters_v |
std::vector< DetId > | current_v25 |
std::vector< std::pair< DetId, float > > | current_v25Sup |
std::vector< DetId > | current_v9 |
double | ecalBarrelSecondThreshold |
double | ecalBarrelSeedThreshold |
double | ecalBarrelSingleThreshold |
double | ecalBarrelSupThreshold |
double | ecalEndcapSecondThreshold |
double | ecalEndcapSeedThreshold |
double | ecalEndcapSingleThreshold |
double | ecalEndcapSupThreshold |
bool | inEB |
PositionCalc | posCalculator_ |
const EcalRecHitCollection * | recHits_ |
std::vector< EcalRecHit > | seeds |
const EcalUncalibratedRecHitCollection * | uncalibRecHits_ |
std::set< DetId > | used_s |
VerbosityLevel | verbosity |
Definition at line 28 of file CosmicClusterAlgo.h.
point in the space
Definition at line 63 of file CosmicClusterAlgo.h.
Enumerator | |
---|---|
barrel | |
endcap |
Definition at line 32 of file CosmicClusterAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 33 of file CosmicClusterAlgo.h.
|
inline |
Definition at line 35 of file CosmicClusterAlgo.h.
|
inline |
Definition at line 38 of file CosmicClusterAlgo.h.
References posCalculator_.
|
inlinevirtual |
Definition at line 43 of file CosmicClusterAlgo.h.
|
private |
Definition at line 402 of file CosmicClusterAlgo.cc.
References current_v25, current_v9, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), recHits_, uncalibRecHits_, and used_s.
Referenced by prepareCluster().
|
private |
Definition at line 303 of file CosmicClusterAlgo.cc.
References CaloNavigator< T, TOPO >::east(), edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), CaloNavigator< T, TOPO >::home(), mps_fire::i, CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::pos(), recHits_, CaloNavigator< T, TOPO >::south(), and CaloNavigator< T, TOPO >::west().
Referenced by mainSearch().
|
private |
Definition at line 151 of file CosmicClusterAlgo.cc.
References canSeed_s, checkMaxima(), gather_cfg::cout, current_v25, current_v25Sup, current_v9, makeCluster(), particleFlowRecHitECAL_cfi::navigator, pINFO, prepareCluster(), seeds, used_s, and verbosity.
Referenced by makeClusters().
|
private |
Definition at line 221 of file CosmicClusterAlgo.cc.
References EcalUncalibratedRecHit::amplitude(), PositionCalc::Calculate_Location(), clusters_v, gather_cfg::cout, current_v25, current_v25Sup, current_v9, ecalBarrelSecondThreshold, ecalBarrelSingleThreshold, ecalBarrelSupThreshold, ecalEndcapSecondThreshold, ecalEndcapSingleThreshold, ecalEndcapSupThreshold, edm::SortedCollection< T, SORT >::end(), EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), EcalUncalibratedRecHit::id(), EcalRecHit::id(), inEB, EcalRecHit::kGood, EcalRecHit::kOutOfTime, EcalRecHit::kPoorCalib, reco::CaloCluster::multi5x5, pINFO, posCalculator_, position, recHits_, std::swap(), uncalibRecHits_, and verbosity.
Referenced by mainSearch().
std::vector< reco::BasicCluster > CosmicClusterAlgo::makeClusters | ( | const EcalRecHitCollection * | hits, |
const EcalUncalibratedRecHitCollection * | uncalibhits, | ||
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 18 of file CosmicClusterAlgo.cc.
References EcalUncalibratedRecHit::amplitude(), barrel, edm::SortedCollection< T, SORT >::begin(), canSeed_s, clusters_v, gather_cfg::cout, ecalBarrelSeedThreshold, ecalEndcapSeedThreshold, edm::SortedCollection< T, SORT >::end(), endcap, CaloCellGeometry::etaPos(), edm::SortedCollection< T, SORT >::find(), CaloSubdetectorGeometry::getGeometry(), hfClusterShapes_cfi::hits, inEB, EcalRecHit::kGood, EcalRecHit::kOutOfTime, EcalRecHit::kPoorCalib, mainSearch(), CaloCellGeometry::phiPos(), pINFO, recHits_, seeds, AlCaHLTBitMon_QueryRunRegistry::string, electronIdCutBased_cfi::threshold, uncalibRecHits_, used_s, and verbosity.
Referenced by CosmicClusterProducer::clusterizeECALPart(), and setVerbosity().
|
private |
Definition at line 341 of file CosmicClusterAlgo.cc.
References funct::abs(), addCrystal(), canSeed_s, PVValHelper::dx, PVValHelper::dy, CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::offsetBy().
Referenced by mainSearch().
|
inline |
Definition at line 47 of file CosmicClusterAlgo.h.
References hfClusterShapes_cfi::hits, makeClusters(), and verbosity.
|
private |
Definition at line 92 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), and prepareCluster().
|
private |
Definition at line 104 of file CosmicClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 100 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeCluster().
|
private |
Definition at line 101 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), and makeCluster().
|
private |
Definition at line 99 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeCluster().
|
private |
Definition at line 74 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 72 of file CosmicClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 73 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 75 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 79 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 77 of file CosmicClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 78 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 80 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 96 of file CosmicClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 68 of file CosmicClusterAlgo.h.
Referenced by CosmicClusterAlgo(), and makeCluster().
|
private |
Definition at line 83 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), checkMaxima(), makeCluster(), and makeClusters().
|
private |
Definition at line 88 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 85 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), makeCluster(), and makeClusters().
|
private |
Definition at line 91 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeClusters().
|
private |
Definition at line 107 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), makeClusters(), and setVerbosity().