#include <CompoundJetProducer.h>
Public Member Functions | |
CompoundJetProducer (const edm::ParameterSet &ps) | |
~CompoundJetProducer () override | |
Public Member Functions inherited from VirtualJetProducer | |
std::string | jetType () const |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
VirtualJetProducer (const edm::ParameterSet &iConfig) | |
~VirtualJetProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Protected Member Functions | |
void | inputTowers () override |
compound fastjet::PseudoJets More... | |
void | output (edm::Event &iEvent, edm::EventSetup const &iSetup) override |
template<typename T > | |
void | writeCompoundJets (edm::Event &iEvent, edm::EventSetup const &iSetup) |
function template to write out the outputs More... | |
Protected Member Functions inherited from VirtualJetProducer | |
virtual void | addHTTTopJetTagInfoCollection (edm::Event &iEvent, const edm::EventSetup &iSetup, edm::OrphanHandle< reco::BasicJetCollection > &oh) |
virtual void | copyConstituents (const std::vector< fastjet::PseudoJet > &fjConstituents, reco::Jet *jet) |
virtual std::vector< reco::CandidatePtr > | getConstituents (const std::vector< fastjet::PseudoJet > &fjConstituents) |
CaloGeometry const & | getGeometry (edm::EventSetup const &) const |
HcalTopology const & | getTopology (edm::EventSetup const &) const |
virtual bool | isAnomalousTower (reco::CandidatePtr input) |
bool | makeBasicJet (const JetType::Type &fTag) |
bool | makeCaloJet (const JetType::Type &fTag) |
bool | makeGenJet (const JetType::Type &fTag) |
bool | makePFClusterJet (const JetType::Type &fTag) |
bool | makePFJet (const JetType::Type &fTag) |
virtual void | makeProduces (std::string s, std::string tag="") |
bool | makeTrackJet (const JetType::Type &fTag) |
void | offsetCorrectJets (std::vector< fastjet::PseudoJet > &orphanInput) |
virtual void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup)=0 |
template<typename T > | |
void | writeCompoundJets (edm::Event &iEvent, edm::EventSetup const &iSetup) |
function template to write out the outputs More... | |
template<typename T > | |
void | writeJets (edm::Event &iEvent, edm::EventSetup const &iSetup) |
template<typename T > | |
void | writeJetsWithConstituents (edm::Event &iEvent, edm::EventSetup const &iSetup) |
function template to write out the outputs More... | |
Additional Inherited Members | |
Public Types inherited from VirtualJetProducer | |
typedef std::shared_ptr< fastjet::GhostedAreaSpec > | ActiveAreaSpecPtr |
typedef std::shared_ptr< fastjet::AreaDefinition > | AreaDefinitionPtr |
typedef std::shared_ptr< fastjet::ClusterSequence > | ClusterSequencePtr |
typedef std::shared_ptr< fastjet::JetDefinition > | JetDefPtr |
typedef std::shared_ptr< fastjet::JetDefinition::Plugin > | PluginPtr |
typedef std::shared_ptr< fastjet::Selector > | SelectorPtr |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Static Public Member Functions inherited from VirtualJetProducer | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | fillDescriptionsFromVirtualJetProducer (edm::ParameterSetDescription &desc) |
Definition at line 39 of file CompoundJetProducer.h.
CompoundJetProducer::CompoundJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 14 of file CompoundJetProducer.cc.
|
inlineoverride |
Definition at line 43 of file CompoundJetProducer.h.
|
overrideprotectedvirtual |
compound fastjet::PseudoJets
Reimplemented from VirtualJetProducer.
Definition at line 19 of file CompoundJetProducer.cc.
References fjCompoundJets_, and VirtualJetProducer::inputTowers().
|
overrideprotectedvirtual |
Overridden output method. For the compound jet producer, this will call the "writeCompoundJets" function template.
Reimplemented from VirtualJetProducer.
Definition at line 24 of file CompoundJetProducer.cc.
References VirtualJetProducer::JetType::BasicJet, VirtualJetProducer::JetType::CaloJet, Exception, VirtualJetProducer::JetType::GenJet, iEvent, VirtualJetProducer::jetTypeE, and VirtualJetProducer::JetType::PFJet.
|
protected |
function template to write out the outputs
Definition at line 47 of file CompoundJetProducer.cc.
References fjCompoundJets_, VirtualJetProducer::getGeometry(), VirtualJetProducer::getTopology(), iEvent, dqmdumpme::indices, VirtualJetProducer::inputs_, metsig::jet, jetfilter_cfi::jetCollection, VirtualJetProducer::jetCollInstanceName_, eostools::move(), point, reco::Jet::setJetArea(), and reco::writeSpecific().
|
protected |
Definition at line 46 of file CompoundJetProducer.h.
Referenced by inputTowers(), cms::SubJetProducer::runAlgorithm(), and writeCompoundJets().