#include <HBHEIsolatedNoiseReflagger.h>
Public Member Functions | |
HBHEIsolatedNoiseReflagger (const edm::ParameterSet &) | |
~HBHEIsolatedNoiseReflagger () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | DumpHBHEHitMap (std::vector< HBHEHitMap > &i) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
bool | debug_ |
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 | 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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 19 of file HBHEIsolatedNoiseReflagger.h.
|
explicit |
Definition at line 24 of file HBHEIsolatedNoiseReflagger.cc.
References edm::ParameterSet::getParameter(), tok_EB_, tok_EE_, tok_hbhe_, and tok_trackExt_.
HBHEIsolatedNoiseReflagger::~HBHEIsolatedNoiseReflagger | ( | ) |
Definition at line 68 of file HBHEIsolatedNoiseReflagger.cc.
|
private |
Definition at line 227 of file HBHEIsolatedNoiseReflagger.cc.
References HBHERecHit::id(), HcalHPDRBXMap::indexHPD(), and HcalHPDRBXMap::indexRBX().
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 74 of file HBHEIsolatedNoiseReflagger.cc.
References debug_, DumpHBHEHitMap(), edm::EventSetup::get(), edm::Event::getByToken(), HBHEHitMapOrganizer::getDiHits(), HBHEHitMapOrganizer::getHPDs(), HBHEHitMapOrganizer::getMonoHits(), HBHEHitMapOrganizer::getRBXs(), HcalCaloFlagLabels::HBHEIsolatedNoise, i, LooseDiHitEne_, LooseEcalIsol_, LooseHcalIsol_, LooseHPDEne1_, LooseHPDEne2_, LooseHPDHits1_, LooseHPDHits2_, LooseMonoHitEne_, LooseRBXEne1_, LooseRBXEne2_, LooseRBXHits1_, LooseRBXHits2_, LooseTrackIsol_, objvalidator_, edm::ESHandle< class >::product(), edm::Event::put(), 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 56 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 51 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 37 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 36 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 48 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 48 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 53 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 43 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 43 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 38 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 59 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 52 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 40 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 39 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 50 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 50 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 54 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 46 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 46 of file HBHEIsolatedNoiseReflagger.h.
Referenced by produce().
|
private |
Definition at line 41 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().