This rejects events using the minimum delta phi between a jet and MET. More...
#include <HLTMinDPhiMETFilter.h>
Public Member Functions | |
bool | hltFilter (edm::Event &iEvent, const edm::EventSetup &iSetup, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
HLTMinDPhiMETFilter (const edm::ParameterSet &iConfig) | |
~HLTMinDPhiMETFilter () override | |
Public Member Functions inherited from HLTFilter | |
HLTFilter (const edm::ParameterSet &config) | |
int | module (edm::Event const &) const |
const std::string * | moduleLabel () const |
int | path (edm::Event const &) const |
const std::string * | pathName (edm::Event const &) const |
std::pair< int, int > | pmid (edm::Event const &) const |
bool | saveTags () const |
~HLTFilter () override | |
Public Member Functions inherited from edm::global::EDFilter<> | |
EDFilter ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
bool | wantsStreamLuminosityBlocks () const final |
bool | wantsStreamRuns () const final |
Public Member Functions inherited from edm::global::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
~EDFilterBase () override | |
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 () | |
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 | |
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 | |
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) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from HLTFilter | |
static void | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::global::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
edm::InputTag | calometLabel_ |
edm::InputTag | jetsLabel_ |
edm::EDGetTokenT< reco::CaloMETCollection > | m_theCaloMETToken |
edm::EDGetTokenT< reco::JetView > | m_theJetToken |
edm::EDGetTokenT< reco::METCollection > | m_theMETToken |
double | maxEta_ |
Maximum (abs) eta requirement for jets. More... | |
int | maxNJets_ |
Consider only n leading-pt (or et) jets, n = maxNJets_. More... | |
edm::InputTag | metLabel_ |
Input jet, MET collections. More... | |
double | minDPhi_ |
Minium delta phi between a jet and MET. More... | |
double | minPt_ |
Minimum pt requirement for jets. More... | |
int | triggerType_ |
Output trigger type. More... | |
bool | usePt_ |
Use pt; otherwise, use et. More... | |
Additional Inherited Members | |
Public Types inherited from edm::global::EDFilterBase | |
typedef EDFilterBase | 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 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) |
This rejects events using the minimum delta phi between a jet and MET.
This code rejects events when a jet is too close to MET. The angle between the closest jet and MET in the transverse plane is called the min delta phi.
See header file for more information.
Definition at line 29 of file HLTMinDPhiMETFilter.h.
|
explicit |
Definition at line 20 of file HLTMinDPhiMETFilter.cc.
References calometLabel_, jetsLabel_, m_theCaloMETToken, m_theJetToken, m_theMETToken, metLabel_, and ~HLTMinDPhiMETFilter().
|
overridedefault |
Referenced by HLTMinDPhiMETFilter().
|
static |
Definition at line 40 of file HLTMinDPhiMETFilter.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLTFilter::makeHLTFilterDescription(), and trigger::TriggerJet.
|
overridevirtual |
Implements HLTFilter.
Definition at line 57 of file HLTMinDPhiMETFilter.cc.
References funct::abs(), accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), edm::View< T >::begin(), calometLabel_, reco::deltaPhi(), particleFlow_cfi::dPhi, edm::View< T >::empty(), edm::View< T >::end(), PVValHelper::eta, edm::Event::getByToken(), fwrapper::jets, jetsLabel_, edm::InputTag::label(), m_theJetToken, m_theMETToken, maxEta_, maxNJets_, metLabel_, RazorAnalyzer::metphi, TtSemiLepSignalSelMVAComputer_cfi::mets, minDPhi_, minPt_, phi, EnergyCorrector::pt, HLTFilter::saveTags(), and usePt_.
|
private |
Definition at line 59 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter(), and HLTMinDPhiMETFilter().
|
private |
Definition at line 60 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter(), and HLTMinDPhiMETFilter().
|
private |
Definition at line 63 of file HLTMinDPhiMETFilter.h.
Referenced by HLTMinDPhiMETFilter().
|
private |
Definition at line 64 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter(), and HLTMinDPhiMETFilter().
|
private |
Definition at line 62 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter(), and HLTMinDPhiMETFilter().
|
private |
Maximum (abs) eta requirement for jets.
Definition at line 52 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter().
|
private |
Consider only n leading-pt (or et) jets, n = maxNJets_.
Definition at line 46 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter().
|
private |
Input jet, MET collections.
Definition at line 58 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter(), and HLTMinDPhiMETFilter().
|
private |
Minium delta phi between a jet and MET.
Definition at line 55 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter().
|
private |
Minimum pt requirement for jets.
Definition at line 49 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter().
|
private |
Output trigger type.
Definition at line 43 of file HLTMinDPhiMETFilter.h.
|
private |
Use pt; otherwise, use et.
Definition at line 38 of file HLTMinDPhiMETFilter.h.
Referenced by hltFilter().