This applies CaloJet ID and produces a jet collection with jets that pass the ID. More...
#include <HLTCaloJetIDProducer.h>
Public Member Functions | |
HLTCaloJetIDProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~HLTCaloJetIDProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
edm::InputTag | inputTag_ |
input CaloJet collection More... | |
reco::helper::JetIDHelper | jetIDHelper_ |
A helper to calculates calo jet ID variables. More... | |
edm::ParameterSet | jetIDParams_ |
CaloJet ID parameters. More... | |
edm::EDGetTokenT < reco::CaloJetCollection > | m_theCaloJetToken |
double | max_EMF_ |
maximum EMF More... | |
double | min_EMF_ |
minimum EMF More... | |
int | min_N90_ |
mininum N90 More... | |
int | min_N90hits_ |
mininum N90hits More... | |
Additional Inherited Members | |
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 Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 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 applies CaloJet ID and produces a jet collection with jets that pass the ID.
This receives a CaloJet collection, selects jets that pass CaloJet ID, and makes an output CaloJet collection with only jets that pass.
See header file for documentation
Definition at line 36 of file HLTCaloJetIDProducer.h.
|
explicit |
Definition at line 18 of file HLTCaloJetIDProducer.cc.
References inputTag_, and m_theCaloJetToken.
HLTCaloJetIDProducer::~HLTCaloJetIDProducer | ( | ) |
Definition at line 33 of file HLTCaloJetIDProducer.cc.
|
static |
Definition at line 36 of file HLTCaloJetIDProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), alignCSCRings::e, and HLT_25ns14e33_v1_cff::InputTag.
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 57 of file HLTCaloJetIDProducer.cc.
References funct::abs(), reco::helper::JetIDHelper::calculate(), edm::Event::getByToken(), j, jetIDHelper_, m_theCaloJetToken, max_EMF_, min_EMF_, min_N90_, min_N90hits_, reco::helper::JetIDHelper::n90Hits(), edm::Event::put(), and query::result.
|
private |
input CaloJet collection
Definition at line 48 of file HLTCaloJetIDProducer.h.
Referenced by HLTCaloJetIDProducer().
|
private |
A helper to calculates calo jet ID variables.
Definition at line 52 of file HLTCaloJetIDProducer.h.
Referenced by produce().
|
private |
CaloJet ID parameters.
Definition at line 49 of file HLTCaloJetIDProducer.h.
|
private |
Definition at line 54 of file HLTCaloJetIDProducer.h.
Referenced by HLTCaloJetIDProducer(), and produce().
|
private |
|
private |
|
private |
|
private |