#include <HBHEIsolatedNoiseReflagger.h>
Public Member Functions | |
HBHEIsolatedNoiseReflagger (const edm::ParameterSet &) | |
~HBHEIsolatedNoiseReflagger () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
void | DumpHBHEHitMap (std::vector< HBHEHitMap > &i) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
bool | debug_ |
const HcalFrontEndMap * | hfemap |
double | LooseDiHitEne_ |
double | LooseEcalIsol_ |
double | LooseHcalIsol_ |
double | LooseHPDEne1_ |
double | LooseHPDEne2_ |
int | LooseHPDHits1_ |
int | LooseHPDHits2_ |
double | LooseMonoHitEne_ |
double | LooseRBXEne1_ |
double | LooseRBXEne2_ |
int | LooseRBXHits1_ |
int | LooseRBXHits2_ |
double | LooseTrackIsol_ |
ObjectValidator | objvalidator_ |
double | RBXEneThreshold_ |
double | TightDiHitEne_ |
double | TightEcalIsol_ |
double | TightHcalIsol_ |
double | TightHPDEne1_ |
double | TightHPDEne2_ |
int | TightHPDHits1_ |
int | TightHPDHits2_ |
double | TightMonoHitEne_ |
double | TightRBXEne1_ |
double | TightRBXEne2_ |
int | TightRBXHits1_ |
int | TightRBXHits2_ |
double | TightTrackIsol_ |
edm::EDGetTokenT< EcalRecHitCollection > | tok_EB_ |
edm::EDGetTokenT< EcalRecHitCollection > | tok_EE_ |
edm::EDGetTokenT< HBHERecHitCollection > | tok_hbhe_ |
edm::EDGetTokenT< std::vector< reco::TrackExtrapolation > > | tok_trackExt_ |
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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 19 of file HBHEIsolatedNoiseReflagger.h.
|
explicit |
Definition at line 26 of file HBHEIsolatedNoiseReflagger.cc.
References edm::ParameterSet::getParameter(), tok_EB_, tok_EE_, tok_hbhe_, and tok_trackExt_.
HBHEIsolatedNoiseReflagger::~HBHEIsolatedNoiseReflagger | ( | ) |
Definition at line 72 of file HBHEIsolatedNoiseReflagger.cc.
|
private |
Definition at line 253 of file HBHEIsolatedNoiseReflagger.cc.
References DEFINE_FWK_MODULE, hfemap, HBHERecHit::id(), HcalFrontEndMap::lookupRBX(), and HcalFrontEndMap::lookupRMIndex().
Referenced by produce().
|
overrideprivatevirtual |
Definition at line 78 of file HBHEIsolatedNoiseReflagger.cc.
References edm::SortedCollection< T, SORT >::begin(), debug_, DumpHBHEHitMap(), edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), edm::Event::getByToken(), HBHEHitMapOrganizer::getDiHits(), HBHEHitMapOrganizer::getHPDs(), HBHEHitMapOrganizer::getMonoHits(), HBHEHitMapOrganizer::getRBXs(), HcalCaloFlagLabels::HBHEIsolatedNoise, hfemap, mps_fire::i, LooseDiHitEne_, LooseEcalIsol_, LooseHcalIsol_, LooseHPDEne1_, LooseHPDEne2_, LooseHPDHits1_, LooseHPDHits2_, LooseMonoHitEne_, LooseRBXEne1_, LooseRBXEne2_, LooseRBXHits1_, LooseRBXHits2_, LooseTrackIsol_, eostools::move(), nhits, objvalidator_, edm::ESHandle< T >::product(), edm::Event::put(), RBXEneThreshold_, ObjectValidator::setEBRecHitCollection(), ObjectValidator::setEcalChannelStatus(), ObjectValidator::setEcalSeverityLevelAlgo(), ObjectValidator::setEERecHitCollection(), CaloRecHit::setFlagField(), ObjectValidator::setHcalChannelQuality(), ObjectValidator::setHcalSeverityLevelComputer(), TightDiHitEne_, TightEcalIsol_, TightHcalIsol_, TightHPDEne1_, TightHPDEne2_, TightHPDHits1_, TightHPDHits2_, TightMonoHitEne_, TightRBXEne1_, TightRBXEne2_, TightRBXHits1_, TightRBXHits2_, TightTrackIsol_, tok_EB_, tok_EE_, tok_hbhe_, and tok_trackExt_.
|
private |
Definition at line 59 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 35 of file HBHEIsolatedNoiseReflagger.h.
Referenced by DumpHBHEHitMap(), and produce().
|
private |
Definition at line 52 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 38 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 37 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 48 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 48 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 49 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 49 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 54 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 44 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 44 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 45 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 45 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 39 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 62 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 57 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 53 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 41 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 40 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 50 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 50 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 51 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 51 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 55 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 46 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 46 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 47 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 47 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 42 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 32 of file HBHEIsolatedNoiseReflagger.h.
Referenced by HBHEIsolatedNoiseReflagger(), and produce().
|
private |
Definition at line 33 of file HBHEIsolatedNoiseReflagger.h.
Referenced by HBHEIsolatedNoiseReflagger(), and produce().
|
private |
Definition at line 31 of file HBHEIsolatedNoiseReflagger.h.
Referenced by HBHEIsolatedNoiseReflagger(), and produce().
|
private |
Definition at line 34 of file HBHEIsolatedNoiseReflagger.h.
Referenced by HBHEIsolatedNoiseReflagger(), and produce().