Public Member Functions | |
EgammaHLTNxNClusterProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~EgammaHLTNxNClusterProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | checkStatusOfEcalRecHit (const EcalChannelStatus &channelStatus, const EcalRecHit &rh) |
void | makeNxNClusters (edm::Event &evt, const edm::EventSetup &es, const EcalRecHitCollection &hits, const reco::CaloID::Detectors detector) |
Private Attributes | |
const std::string | barrelClusterCollection_ |
const edm::EDGetTokenT< EcalRecHitCollection > | barrelHitProducer_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeometryToken_ |
const int | clusEtaSize_ |
const int | clusPhiSize_ |
const double | clusSeedThr_ |
const double | clusSeedThrEndCap_ |
const int | debug_ |
const bool | doBarrel_ |
const bool | doEndcaps_ |
const edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > | ecalChannelStatusToken_ |
const std::string | endcapClusterCollection_ |
const edm::EDGetTokenT< EcalRecHitCollection > | endcapHitProducer_ |
const int | flagLevelRecHitsToUse_ |
const int | maxNumberofClusters_ |
const int | maxNumberofSeeds_ |
PositionCalc | posCalculator_ |
const int | statusLevelRecHitsToUse_ |
const bool | useDBStatus_ |
const bool | useRecoFlag_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Description: simple NxN ( 3x3 etc) clustering ,( for low energy photon reconstrution, currently used for pi0/eta HLT path)
Implementation: <Notes on="" implementation>="">
Definition at line 46 of file EgammaHLTNxNClusterProducer.cc.
EgammaHLTNxNClusterProducer::EgammaHLTNxNClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 91 of file EgammaHLTNxNClusterProducer.cc.
References DeDxTools::esConsumes().
|
override |
Definition at line 116 of file EgammaHLTNxNClusterProducer.cc.
|
private |
from recoFlag()
good
good || PoorCalib
good || PoorCalib || LeadingEdgeRecovered || kNeighboursRecovered,
Definition at line 181 of file EgammaHLTNxNClusterProducer.cc.
References RemoveAddSevLevel::flag, flagLevelRecHitsToUse_, EcalRecHit::id(), createfilelist::int, DetId::rawId(), EcalRecHit::recoFlag(), mps_update::status, statusLevelRecHitsToUse_, useDBStatus_, and useRecoFlag_.
Referenced by makeNxNClusters().
|
static |
Definition at line 118 of file EgammaHLTNxNClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
get status from DB
if too much clusters made, then return 0 also
Definition at line 205 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, PositionCalc::Calculate_Location(), caloGeometryToken_, checkStatusOfEcalRecHit(), clusEtaSize_, clusPhiSize_, clusSeedThr_, clusSeedThrEndCap_, bsc_activity_cfg::clusters, debug_, reco::CaloID::DET_ECAL_BARREL, hgcalTestNeighbor_cfi::detector, DetId::Ecal, EcalBarrel, ecalChannelStatusToken_, EcalEndcap, EcalPreshower, endcapClusterCollection_, HCALHighEnergyHPDFilter_cfi::energy, edm::EventID::event(), spr::find(), edm::EventSetup::getData(), edm::EventSetup::getHandle(), hfClusterShapes_cfi::hits, edm::EventBase::id(), reco::CaloCluster::island, LogDebug, maxNumberofClusters_, maxNumberofSeeds_, eostools::move(), posCalculator_, edm::Event::put(), edm::EventID::run(), InitialStep_cff::seeds, jetUpdater_cfi::sort, useDBStatus_, x, and y.
Referenced by produce().
|
override |
Definition at line 150 of file EgammaHLTNxNClusterProducer.cc.
References barrelHitProducer_, debug_, reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, doBarrel_, doEndcaps_, endcapHitProducer_, edm::EventID::event(), edm::Event::getByToken(), edm::EventBase::id(), edm::HandleBase::isValid(), LogDebug, makeNxNClusters(), edm::Handle< T >::product(), edm::EventID::run(), and edm::SortedCollection< T, SORT >::size().
|
private |
Definition at line 73 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 66 of file EgammaHLTNxNClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 68 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 71 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 72 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 75 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 76 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 86 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters(), and produce().
|
private |
Definition at line 64 of file EgammaHLTNxNClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 65 of file EgammaHLTNxNClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 69 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 74 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 67 of file EgammaHLTNxNClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 79 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 84 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 83 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 88 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 81 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 80 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit(), and makeNxNClusters().
|
private |
Definition at line 78 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit().