#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< RectangularEtaPhiRegion > ®ions=std::vector< RectangularEtaPhiRegion >()) |
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 27 of file CosmicClusterAlgo.h.
point in the space
Definition at line 72 of file CosmicClusterAlgo.h.
Enumerator | |
---|---|
barrel | |
endcap |
Definition at line 29 of file CosmicClusterAlgo.h.
Enumerator | |
---|---|
pDEBUG | |
pWARNING | |
pINFO | |
pERROR |
Definition at line 30 of file CosmicClusterAlgo.h.
|
inline |
Definition at line 32 of file CosmicClusterAlgo.h.
|
inline |
Definition at line 34 of file CosmicClusterAlgo.h.
References posCalculator_.
|
inlinevirtual |
Definition at line 56 of file CosmicClusterAlgo.h.
|
private |
Definition at line 359 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 275 of file CosmicClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), mps_fire::i, HLT_2023v12_cff::navigator, and recHits_.
Referenced by mainSearch().
|
private |
Definition at line 134 of file CosmicClusterAlgo.cc.
References canSeed_s, checkMaxima(), gather_cfg::cout, current_v25, current_v25Sup, current_v9, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, makeCluster(), HLT_2023v12_cff::navigator, pINFO, prepareCluster(), run3scouting_cff::seedId, seeds, used_s, and verbosity.
Referenced by makeClusters().
|
private |
Definition at line 194 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(), hcalRecHitTable_cff::energy, EcalRecHit::energy(), edm::SortedCollection< T, SORT >::find(), EcalUncalibratedRecHit::id(), EcalRecHit::id(), inEB, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EcalRecHit::kGood, EcalRecHit::kOutOfTime, EcalRecHit::kPoorCalib, reco::CaloCluster::multi5x5, pINFO, posCalculator_, position, recHits_, run3scouting_cff::seedId, edm::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< RectangularEtaPhiRegion > & | regions = std::vector<RectangularEtaPhiRegion>() |
||
) |
Definition at line 16 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, edm::SortedCollection< T, SORT >::find(), CaloSubdetectorGeometry::getGeometry(), hfClusterShapes_cfi::hits, inEB, isClusterEtLess(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EcalRecHit::kGood, EcalRecHit::kOutOfTime, EcalRecHit::kPoorCalib, mainSearch(), pINFO, recHits_, nano_mu_digi_cff::region, seeds, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, DiMuonV_cfg::threshold, uncalibRecHits_, used_s, verbosity, x, and y.
Referenced by CosmicClusterProducer::clusterizeECALPart().
|
private |
Definition at line 309 of file CosmicClusterAlgo.cc.
References funct::abs(), addCrystal(), canSeed_s, PVValHelper::dx, PVValHelper::dy, and HLT_2023v12_cff::navigator.
Referenced by mainSearch().
|
inline |
|
private |
Definition at line 99 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), makeClusters(), and prepareCluster().
|
private |
Definition at line 111 of file CosmicClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 107 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeCluster().
|
private |
Definition at line 108 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), and makeCluster().
|
private |
Definition at line 106 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeCluster().
|
private |
Definition at line 81 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 79 of file CosmicClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 80 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 82 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 86 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 84 of file CosmicClusterAlgo.h.
Referenced by makeClusters().
|
private |
Definition at line 85 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 87 of file CosmicClusterAlgo.h.
Referenced by makeCluster().
|
private |
Definition at line 103 of file CosmicClusterAlgo.h.
Referenced by makeCluster(), and makeClusters().
|
private |
Definition at line 76 of file CosmicClusterAlgo.h.
Referenced by CosmicClusterAlgo(), and makeCluster().
|
private |
Definition at line 90 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), checkMaxima(), makeCluster(), and makeClusters().
|
private |
Definition at line 95 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), and makeClusters().
|
private |
Definition at line 92 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), makeCluster(), and makeClusters().
|
private |
Definition at line 98 of file CosmicClusterAlgo.h.
Referenced by addCrystal(), mainSearch(), and makeClusters().
|
private |
Definition at line 114 of file CosmicClusterAlgo.h.
Referenced by mainSearch(), makeCluster(), makeClusters(), and setVerbosity().