![]() |
![]() |
#include <HLTEgammaDoubleLegCombFilter.h>
Public Member Functions | |
HLTEgammaDoubleLegCombFilter (const edm::ParameterSet &) | |
bool | hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
void | matchCands (const std::vector< math::XYZPoint > &firstLegP3s, const std::vector< math::XYZPoint > &secondLegP3s, std::vector< std::pair< int, int > > &matchedCands) const |
~HLTEgammaDoubleLegCombFilter () override | |
![]() | |
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 | |
![]() | |
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 |
![]() | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
~EDFilterBase () 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) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | getP3OfLegCands (const edm::Event &iEvent, const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > &filterToken, std::vector< math::XYZPoint > &p3s) |
![]() | |
static void | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Additional Inherited Members | |
![]() | |
typedef EDFilterBase | 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) |
$Id: HLTEgammaDoubleLegCombFilter.cc,
Definition at line 19 of file HLTEgammaDoubleLegCombFilter.h.
|
explicit |
Definition at line 26 of file HLTEgammaDoubleLegCombFilter.cc.
References firstLegLastFilterTag_, firstLegLastFilterToken_, edm::ParameterSet::getParameter(), maxMatchDR_, nrRequiredFirstLeg_, nrRequiredSecondLeg_, nrRequiredUniqueLeg_, secondLegLastFilterTag_, and secondLegLastFilterToken_.
|
overridedefault |
Referenced by fillDescriptions().
|
static |
Definition at line 39 of file HLTEgammaDoubleLegCombFilter.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLTFilter::makeHLTFilterDescription(), and ~HLTEgammaDoubleLegCombFilter().
|
static |
Definition at line 120 of file HLTEgammaDoubleLegCombFilter.cc.
References DEFINE_FWK_MODULE, edm::Event::getByToken(), trigger::TriggerRefsCollections::getObjects(), p3, trigger::TriggerCluster, trigger::TriggerElectron, trigger::TriggerJet, and trigger::TriggerPhoton.
Referenced by hltFilter().
|
overridevirtual |
Implements HLTFilter.
Definition at line 55 of file HLTEgammaDoubleLegCombFilter.cc.
References accept(), firstLegLastFilterToken_, getP3OfLegCands(), matchCands(), SiStripPI::max, nrRequiredFirstLeg_, nrRequiredSecondLeg_, nrRequiredUniqueLeg_, and secondLegLastFilterToken_.
void HLTEgammaDoubleLegCombFilter::matchCands | ( | const std::vector< math::XYZPoint > & | firstLegP3s, |
const std::vector< math::XYZPoint > & | secondLegP3s, | ||
std::vector< std::pair< int, int > > & | matchedCands | ||
) | const |
Definition at line 99 of file HLTEgammaDoubleLegCombFilter.cc.
References reco::deltaR2(), maxMatchDR_, and jetUpdater_cfi::sort.
Referenced by hltFilter().
|
private |
Definition at line 31 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter().
|
private |
Definition at line 33 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter(), and hltFilter().
|
private |
Definition at line 38 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter(), and matchCands().
|
private |
Definition at line 35 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter(), and hltFilter().
|
private |
Definition at line 36 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter(), and hltFilter().
|
private |
Definition at line 37 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter(), and hltFilter().
|
private |
Definition at line 32 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter().
|
private |
Definition at line 34 of file HLTEgammaDoubleLegCombFilter.h.
Referenced by HLTEgammaDoubleLegCombFilter(), and hltFilter().