#include <EgammaHLTNxNClusterProducer.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 47 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(), and useDBStatus_.
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 70 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 66 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 68 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 69 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 72 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 73 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 83 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters(), and produce().
|
private |
Definition at line 64 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 71 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 67 of file EgammaHLTNxNClusterProducer.h.
Referenced by produce().
|
private |
Definition at line 76 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 81 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 80 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 85 of file EgammaHLTNxNClusterProducer.h.
Referenced by makeNxNClusters().
|
private |
Definition at line 78 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit().
|
private |
Definition at line 77 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit(), and makeNxNClusters().
|
private |
Definition at line 75 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit().