![]() |
![]() |
#include <HLTDoublet.h>
Public Member Functions | |
HLTDoublet (const edm::ParameterSet &) | |
bool | hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
~HLTDoublet () 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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
bool | wantsInputProcessBlocks () const final |
bool | wantsProcessBlocks () 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 |
std::vector< bool > const & | recordProvenanceList () 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) |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
~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 &&)=default | |
EDConsumerBase (EDConsumerBase const &)=delete | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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 & | operator= (EDConsumerBase &&)=default |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
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 | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::vector< T1 > | T1Collection |
typedef edm::Ref< T1Collection > | T1Ref |
typedef std::vector< T2 > | T2Collection |
typedef edm::Ref< T2Collection > | T2Ref |
Private Attributes | |
const bool | cutdelr_ |
const bool | cutdeta_ |
const bool | cutdphi_ |
const bool | cutminv_ |
const bool | cutpt_ |
const edm::InputTag | inputTag1_ |
const edm::InputTag | inputTag2_ |
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | inputToken1_ |
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | inputToken2_ |
const double | max_DelR_ |
const double | max_Deta_ |
const double | max_Dphi_ |
const double | max_Minv_ |
const double | max_Pt_ |
const double | min_DelR_ |
const double | min_Deta_ |
const double | min_Dphi_ |
const double | min_Minv_ |
const int | min_N_ |
const double | min_Pt_ |
const std::vector< edm::InputTag > | originTag1_ |
const std::vector< edm::InputTag > | originTag2_ |
const bool | same_ |
const int | triggerType1_ |
const int | triggerType2_ |
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<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
![]() | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
See header file for documentation
This class is an HLTFilter (-> EDFilter) implementing a basic HLT trigger for pairs of object, evaluating all pairs with the first object from collection 1, and the second object from collection 2, cutting on variables relating to their 4-momentum representations. The object collections are assumed to be outputs of HLTSinglet single-object-type filters so that the access is thorugh RefToBases and polymorphic.
Definition at line 34 of file HLTDoublet.h.
|
private |
Definition at line 65 of file HLTDoublet.h.
|
private |
Definition at line 66 of file HLTDoublet.h.
|
private |
Definition at line 67 of file HLTDoublet.h.
|
private |
Definition at line 68 of file HLTDoublet.h.
|
explicit |
Definition at line 29 of file HLTDoublet.cc.
References HLTDoublet< T1, T2 >::cutdelr_, HLTDoublet< T1, T2 >::cutdeta_, HLTDoublet< T1, T2 >::cutdphi_, HLTDoublet< T1, T2 >::cutminv_, HLTDoublet< T1, T2 >::cutpt_, edm::InputTag::encode(), HLTDoublet< T1, T2 >::inputTag1_, HLTDoublet< T1, T2 >::inputTag2_, LogDebug, HLTDoublet< T1, T2 >::max_DelR_, HLTDoublet< T1, T2 >::max_Deta_, HLTDoublet< T1, T2 >::max_Dphi_, HLTDoublet< T1, T2 >::max_Minv_, HLTDoublet< T1, T2 >::max_Pt_, HLTDoublet< T1, T2 >::min_DelR_, HLTDoublet< T1, T2 >::min_Deta_, HLTDoublet< T1, T2 >::min_Dphi_, HLTDoublet< T1, T2 >::min_Minv_, HLTDoublet< T1, T2 >::min_N_, HLTDoublet< T1, T2 >::min_Pt_, HLTDoublet< T1, T2 >::same_, HLTDoublet< T1, T2 >::triggerType1_, and HLTDoublet< T1, T2 >::triggerType2_.
|
overridedefault |
|
static |
Definition at line 70 of file HLTDoublet.cc.
References edm::ConfigurationDescriptions::add(), defaultModuleLabel(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, HLT_FULL_cff::originTag1, and HLT_FULL_cff::originTag2.
|
overridevirtual |
Implements HLTFilter.
Definition at line 101 of file HLTDoublet.cc.
References funct::abs(), accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), trigger::TriggerRefsCollections::addObject(), trigger::TriggerRefsCollections::getObjects(), Exhume::I, mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, iEvent, HLT_FULL_cff::InputTag, instance, label, M_PI, HerwigMaxPtPartonFilter_cfi::moduleLabel, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, p1, p2, LaserDQM_cfg::process, diffTwoXMLs::r1, diffTwoXMLs::r2, BeamBkgSkim_cff::saveTags, and mathSSE::sqrt().
|
private |
Definition at line 62 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 62 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 62 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 62 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 62 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 47 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 48 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 49 of file HLTDoublet.h.
|
private |
Definition at line 50 of file HLTDoublet.h.
|
private |
Definition at line 56 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 54 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 53 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 55 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 57 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 56 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 54 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 53 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 55 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 58 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 57 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 45 of file HLTDoublet.h.
|
private |
Definition at line 46 of file HLTDoublet.h.
|
private |
Definition at line 61 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 51 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().
|
private |
Definition at line 52 of file HLTDoublet.h.
Referenced by HLTDoublet< T1, T2 >::HLTDoublet().