#include <EgammaHLTNxNClusterProducer.h>
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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 |
Definition at line 36 of file EgammaHLTNxNClusterProducer.h.
EgammaHLTNxNClusterProducer::EgammaHLTNxNClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 27 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, and endcapClusterCollection_.
|
override |
Definition at line 52 of file EgammaHLTNxNClusterProducer.cc.
|
private |
from recoFlag()
good
good || PoorCalib
good || PoorCalib || LeadingEdgeRecovered || kNeighboursRecovered,
Definition at line 122 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 55 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 147 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, edm::SortedCollection< T, SORT >::begin(), PositionCalc::Calculate_Location(), checkStatusOfEcalRecHit(), clusEtaSize_, clusPhiSize_, clusSeedThr_, clusSeedThrEndCap_, fastPrimaryVertexProducer_cfi::clusters, debug_, reco::CaloID::DET_ECAL_BARREL, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::SortedCollection< T, SORT >::end(), endcapClusterCollection_, edm::EventID::event(), spr::find(), edm::SortedCollection< T, SORT >::find(), edm::EventSetup::get(), CaloGeometry::getSubdetectorGeometry(), edm::EventBase::id(), reco::CaloCluster::island, LogDebug, maxNumberofClusters_, maxNumberofSeeds_, eostools::move(), posCalculator_, edm::Event::put(), edm::EventID::run(), jetUpdater_cfi::sort, useDBStatus_, x, and y.
Referenced by produce().
|
override |
Definition at line 88 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 59 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 55 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 57 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 58 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 61 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 62 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 72 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters(), and produce().
|
private |
Definition at line 53 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 54 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 60 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 56 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 70 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 69 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 74 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 67 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 66 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit(), and makeNxNClusters().
|
private |
Definition at line 64 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit().