|
bool | filter (edm::Event &, const edm::EventSetup &) override |
|
| HLTHcalMETNoiseFilter (const edm::ParameterSet &) |
|
| ~HLTHcalMETNoiseFilter () override |
|
| EDFilter () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDFilter () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) override |
|
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 |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
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 |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDFilter | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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) |
|
Description: HLT filter module for rejecting MET events due to noise in the HCAL
Implementation: <Notes on="" implementation>="">
Definition at line 23 of file HLTHcalMETNoiseFilter.h.
Definition at line 123 of file HLTHcalMETNoiseFilter.cc.
References edmIntegrityCheck::d, data, edm::Event::getByToken(), HcalNoiseRBXCollectionTag_, edm::HandleBase::isValid(), LogDebug, m_theHcalNoiseToken, maxHighEHitTime_, maxNumRBXs_, maxRatio_, maxRBXEMF_, minHighEHitTime_, minHighHitE_, minHPDHits_, minHPDNoOtherHits_, minLowHitE_, minR45HitE_, minRatio_, minRBXEnergy_, minRBXHits_, minRecHitE_, minZeros_, needEMFCoincidence_, numRBXsToConsider_, severity_, TS4TS5EnergyThreshold_, TS4TS5LowerCut_, and TS4TS5UpperCut_.
125 using namespace reco;
134 edm::LogError(
"DataNotFound") <<
"HLTHcalMETNoiseFilter: Could not find HcalNoiseRBXCollection product named " 140 if(static_cast<int>(rbxs_h->size())>
maxNumRBXs_)
return true;
144 for(
auto const & rbx : *rbxs_h) {
153 for(
auto it=data.begin();
157 bool passFilter=
true;
160 if(it->validRatio() && it->ratio()<
minRatio_) passFilter=
false;
161 else if(it->validRatio() && it->ratio()>
maxRatio_) passFilter=
false;
162 else if(it->numHPDHits()>=
minHPDHits_) passFilter=
false;
163 else if(it->numRBXHits()>=
minRBXHits_) passFilter=
false;
165 else if(it->numZeros()>=
minZeros_) passFilter=
false;
168 else if(!it->PassTS4TS5()) passFilter=
false;
175 LogDebug(
"") <<
"HLTHcalMETNoiseFilter debug: Found a noisy RBX: " 176 <<
"energy=" << it->energy() <<
"; " 177 <<
"ratio=" << it->ratio() <<
"; " 178 <<
"# RBX hits=" << it->numRBXHits() <<
"; " 179 <<
"# HPD hits=" << it->numHPDHits() <<
"; " 180 <<
"# Zeros=" << it->numZeros() <<
"; " 181 <<
"min time=" << it->minHighEHitTime() <<
"; " 182 <<
"max time=" << it->maxHighEHitTime() <<
"; " 183 <<
"passTS4TS5=" << it->PassTS4TS5() <<
"; " 184 <<
"RBX EMF=" << it->RBXEMF()
std::vector< std::pair< double, double > > TS4TS5LowerCut_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< std::pair< double, double > > TS4TS5UpperCut_
double TS4TS5EnergyThreshold_
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > m_theHcalNoiseToken
edm::InputTag HcalNoiseRBXCollectionTag_
std::set< CommonHcalNoiseRBXData, noisedatacomp > noisedataset_t
char data[epos_bytes_allocation]