Produces a collection of jets cleaned against leading leptons. More...
#include <HLTJetsCleanedFromLeadingLeptons.h>
Classes | |
class | EtaPhiE |
An auxiliary class to store momentum parametrised in eta, phi, and energy. More... | |
Public Types | |
typedef std::vector< JetType > | JetCollection |
typedef std::vector< edm::RefVector< JetCollection, JetType, edm::refhelper::FindUsingAdvance< JetCollection, JetType > > > | JetCollectionVector |
typedef edm::Ref< JetCollection > | JetRef |
typedef edm::RefVector< JetCollection > | JetRefVector |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
HLTJetsCleanedFromLeadingLeptons (edm::ParameterSet const &iConfig) | |
Constructor. More... | |
void | produce (edm::Event &iEvent, edm::EventSetup const &iSetup) override |
Produces jets cleaned against leptons. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Describes configuration of the plugin. More... | |
Private Attributes | |
edm::EDGetTokenT< std::vector< JetType > > | jetToken |
Token to access a collection of jets. More... | |
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | leptonToken |
Token to identify a collection of leptons that pass an HLT filter. More... | |
double | minDeltaR2 |
A square of the minimal allowed angular separation between a lepton and a jet. More... | |
unsigned | numLeptons |
Number of leading leptons against which the jets are cleaned. More... | |
Produces a collection of jets cleaned against leading leptons.
The plugin loops over the given collection of jets and exclude ones that are close to one of the leading leptons. References to surviving jets are stored in the same format as expected by the HLTJetCollectionsFilter plugin.
Definition at line 28 of file HLTJetsCleanedFromLeadingLeptons.h.
typedef std::vector<JetType> HLTJetsCleanedFromLeadingLeptons< JetType >::JetCollection |
Definition at line 30 of file HLTJetsCleanedFromLeadingLeptons.h.
typedef std::vector<edm::RefVector<JetCollection, JetType, edm::refhelper::FindUsingAdvance<JetCollection, JetType> > > HLTJetsCleanedFromLeadingLeptons< JetType >::JetCollectionVector |
Definition at line 35 of file HLTJetsCleanedFromLeadingLeptons.h.
typedef edm::Ref<JetCollection> HLTJetsCleanedFromLeadingLeptons< JetType >::JetRef |
Definition at line 31 of file HLTJetsCleanedFromLeadingLeptons.h.
typedef edm::RefVector<JetCollection> HLTJetsCleanedFromLeadingLeptons< JetType >::JetRefVector |
Definition at line 32 of file HLTJetsCleanedFromLeadingLeptons.h.
HLTJetsCleanedFromLeadingLeptons< JetType >::HLTJetsCleanedFromLeadingLeptons | ( | edm::ParameterSet const & | iConfig | ) |
Constructor.
Definition at line 137 of file HLTJetsCleanedFromLeadingLeptons.h.
References edm::ParameterSet::getParameter(), HLTJetsCleanedFromLeadingLeptons< JetType >::jetToken, and HLTJetsCleanedFromLeadingLeptons< JetType >::leptonToken.
|
static |
Describes configuration of the plugin.
Definition at line 147 of file HLTJetsCleanedFromLeadingLeptons.h.
References edm::ConfigurationDescriptions::add(), defaultModuleLabel(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
override |
Produces jets cleaned against leptons.
Definition at line 160 of file HLTJetsCleanedFromLeadingLeptons.h.
References bsc_activity_cfg::clusters, reco::deltaR2(), pwdgSkimBPark_cfi::electrons, trigger::TriggerRefsCollections::getObjects(), iEvent, singleTopDQM_cfi::jets, unpackData-CaloStage1::jetToken, eostools::move(), PDWG_BPHSkim_cff::muons, HLT_FULL_cff::numLeptons, muon::overlap(), BPHMonitor_cfi::photons, edm::RefVector< C, T, F >::push_back(), jetUpdater_cfi::sort, trigger::TriggerCluster, trigger::TriggerElectron, trigger::TriggerMuon, and trigger::TriggerPhoton.
|
private |
Token to access a collection of jets.
Definition at line 87 of file HLTJetsCleanedFromLeadingLeptons.h.
Referenced by HLTJetsCleanedFromLeadingLeptons< JetType >::HLTJetsCleanedFromLeadingLeptons().
|
private |
Token to identify a collection of leptons that pass an HLT filter.
Definition at line 84 of file HLTJetsCleanedFromLeadingLeptons.h.
Referenced by HLTJetsCleanedFromLeadingLeptons< JetType >::HLTJetsCleanedFromLeadingLeptons().
|
private |
A square of the minimal allowed angular separation between a lepton and a jet.
Definition at line 90 of file HLTJetsCleanedFromLeadingLeptons.h.
|
private |
Number of leading leptons against which the jets are cleaned.
If the number is larger than the total number of leptons, the jets are cleaned against all leptons.
Definition at line 98 of file HLTJetsCleanedFromLeadingLeptons.h.