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 | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () 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 int | clusEtaSize_ |
const int | clusPhiSize_ |
const double | clusSeedThr_ |
const double | clusSeedThrEndCap_ |
const int | debug_ |
const bool | doBarrel_ |
const bool | doEndcaps_ |
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 88 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, and endcapClusterCollection_.
|
override |
Definition at line 111 of file EgammaHLTNxNClusterProducer.cc.
|
private |
from recoFlag()
good
good || PoorCalib
good || PoorCalib || LeadingEdgeRecovered || kNeighboursRecovered,
Definition at line 176 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 113 of file EgammaHLTNxNClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
get status from DB
if too much clusters made, then return 0 also
Definition at line 200 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, PositionCalc::Calculate_Location(), checkStatusOfEcalRecHit(), clusEtaSize_, clusPhiSize_, clusSeedThr_, clusSeedThrEndCap_, bsc_activity_cfg::clusters, debug_, reco::CaloID::DET_ECAL_BARREL, hgcalTestNeighbor_cfi::detector, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, HCALHighEnergyHPDFilter_cfi::energy, edm::EventID::event(), spr::find(), edm::EventSetup::get(), get, CaloGeometry::getSubdetectorGeometry(), hfClusterShapes_cfi::hits, edm::EventBase::id(), reco::CaloCluster::island, LogDebug, maxNumberofClusters_, maxNumberofSeeds_, eostools::move(), posCalculator_, edm::Event::put(), edm::EventID::run(), InitialStep_cff::seeds, useDBStatus_, x, and y.
Referenced by produce().
|
override |
Definition at line 145 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 70 of file EgammaHLTNxNClusterProducer.cc.
Referenced by EgammaHLTNxNClusterProducer(), and 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 69 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 72 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 73 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 83 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 71 of file EgammaHLTNxNClusterProducer.cc.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 67 of file EgammaHLTNxNClusterProducer.cc.
Referenced by produce().
|
private |
Definition at line 76 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 81 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 80 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 85 of file EgammaHLTNxNClusterProducer.cc.
Referenced by makeNxNClusters().
|
private |
Definition at line 78 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 77 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit(), and makeNxNClusters().
|
private |
Definition at line 75 of file EgammaHLTNxNClusterProducer.cc.
Referenced by checkStatusOfEcalRecHit().