#include <EgammaHLTNxNClusterProducer.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
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 | |
std::string | barrelClusterCollection_ |
edm::EDGetTokenT < EcalRecHitCollection > | barrelHitProducer_ |
std::string | barrelHits_ |
int | clusEtaSize_ |
int | clusPhiSize_ |
double | clusSeedThr_ |
double | clusSeedThrEndCap_ |
int | debug_ |
bool | doBarrel_ |
bool | doEndcaps_ |
std::string | endcapClusterCollection_ |
edm::EDGetTokenT < EcalRecHitCollection > | endcapHitProducer_ |
std::string | endcapHits_ |
int | flagLevelRecHitsToUse_ |
int | maxNumberofClusters_ |
int | maxNumberofSeeds_ |
PositionCalc | posCalculator_ |
std::map< std::string, double > | providedParameters |
int | statusLevelRecHitsToUse_ |
bool | useDBStatus_ |
bool | useRecoFlag_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 25 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, barrelHitProducer_, clusEtaSize_, clusPhiSize_, clusSeedThr_, clusSeedThrEndCap_, debug_, doBarrel_, doEndcaps_, endcapClusterCollection_, endcapHitProducer_, flagLevelRecHitsToUse_, edm::ParameterSet::getParameter(), maxNumberofClusters_, maxNumberofSeeds_, posCalculator_, statusLevelRecHitsToUse_, AlCaHLTBitMon_QueryRunRegistry::string, useDBStatus_, and useRecoFlag_.
EgammaHLTNxNClusterProducer::~EgammaHLTNxNClusterProducer | ( | ) |
Definition at line 63 of file EgammaHLTNxNClusterProducer.cc.
|
private |
from recoFlag()
good
good || PoorCalib
good || PoorCalib || LeadingEdgeRecovered || kNeighboursRecovered,
Definition at line 133 of file EgammaHLTNxNClusterProducer.cc.
References archive::flag, flagLevelRecHitsToUse_, EcalRecHit::id(), DetId::rawId(), EcalRecHit::recoFlag(), ntuplemaker::status, statusLevelRecHitsToUse_, useDBStatus_, and useRecoFlag_.
Referenced by makeNxNClusters().
|
static |
Definition at line 66 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 158 of file EgammaHLTNxNClusterProducer.cc.
References barrelClusterCollection_, edm::SortedCollection< T, SORT >::begin(), PositionCalc::Calculate_Location(), checkStatusOfEcalRecHit(), clusEtaSize_, clusPhiSize_, clusSeedThr_, clusSeedThrEndCap_, debug_, reco::CaloID::DET_ECAL_BARREL, cond::rpcobgas::detid, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::SortedCollection< T, SORT >::end(), endcapClusterCollection_, relval_parameters_module::energy, edm::EventID::event(), spr::find(), edm::SortedCollection< T, SORT >::find(), edm::EventSetup::get(), CaloSubdetectorTopology::getWindow(), edm::EventBase::id(), reco::CaloCluster::island, LogDebug, maxNumberofClusters_, maxNumberofSeeds_, posCalculator_, edm::Event::put(), edm::EventID::run(), python.multivaluedict::sort(), and useDBStatus_.
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 99 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 63 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 72 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and produce().
|
private |
Definition at line 66 of file EgammaHLTNxNClusterProducer.h.
|
private |
Definition at line 86 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 87 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 75 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 76 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 89 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), makeNxNClusters(), and produce().
|
private |
Definition at line 78 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and produce().
|
private |
Definition at line 79 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and produce().
|
private |
Definition at line 64 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 73 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and produce().
|
private |
Definition at line 67 of file EgammaHLTNxNClusterProducer.h.
|
private |
Definition at line 83 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit(), and EgammaHLTNxNClusterProducer().
|
private |
Definition at line 92 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 91 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 69 of file EgammaHLTNxNClusterProducer.h.
Referenced by EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 70 of file EgammaHLTNxNClusterProducer.h.
|
private |
Definition at line 84 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit(), and EgammaHLTNxNClusterProducer().
|
private |
Definition at line 82 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit(), EgammaHLTNxNClusterProducer(), and makeNxNClusters().
|
private |
Definition at line 81 of file EgammaHLTNxNClusterProducer.h.
Referenced by checkStatusOfEcalRecHit(), and EgammaHLTNxNClusterProducer().