#include <SubEventGenJetProducer.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | runAlgorithm (edm::Event &, const edm::EventSetup &) override |
SubEventGenJetProducer (const edm::ParameterSet &ps) | |
~SubEventGenJetProducer () 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 |
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 | output (edm::Event &iEvent, edm::EventSetup const &iSetup) |
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... | |
Private Attributes | |
edm::EDGetTokenT< reco::CandidateView > | input_cand_token_ |
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 19 of file SubEventGenJetProducer.h.
SubEventGenJetProducer::SubEventGenJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 36 of file SubEventGenJetProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), ignoreHydro_, input_cand_token_, and VirtualJetProducer::src_.
|
inlineoverride |
Definition at line 22 of file SubEventGenJetProducer.h.
|
overrideprotectedvirtual |
Reimplemented from VirtualJetProducer.
Definition at line 44 of file SubEventGenJetProducer.cc.
References reco::GenParticle::collisionId(), hydroTag_, mps_fire::i, input, VirtualJetProducer::inputEMin_, VirtualJetProducer::inputEtMin_, VirtualJetProducer::inputs_, createfilelist::int, VirtualJetProducer::isAnomalousTower(), edm::isNotFinite(), LogDebug, AlCaHLTBitMon_ParallelJobs::p, and subInputs_.
Referenced by produce().
|
override |
Definition at line 80 of file SubEventGenJetProducer.cc.
References VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, hydroTag_, mps_fire::i, iEvent, ignoreHydro_, input_cand_token_, VirtualJetProducer::inputs_, inputTowers(), jets_, LogDebug, eostools::move(), nsub, nSubParticles_, edm::View< T >::ptrAt(), runAlgorithm(), edm::View< T >::size(), and subInputs_.
|
overridevirtual |
Implements VirtualJetProducer.
Definition at line 126 of file SubEventGenJetProducer.cc.
References VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, VirtualJetProducer::getConstituents(), metsig::jet, run3scouting_cff::jetArea, VirtualJetProducer::jetPtMin_, jets_, displacedMuons_cfi::pu, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, VirtualJetProducer::vertex_, and reco::writeSpecific().
Referenced by produce().
|
protected |
Definition at line 29 of file SubEventGenJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 31 of file SubEventGenJetProducer.h.
Referenced by produce(), and SubEventGenJetProducer().
|
private |
Definition at line 39 of file SubEventGenJetProducer.h.
Referenced by produce(), and SubEventGenJetProducer().
|
protected |
Definition at line 28 of file SubEventGenJetProducer.h.
Referenced by produce(), and runAlgorithm().
|
protected |
Definition at line 30 of file SubEventGenJetProducer.h.
Referenced by produce().
|
protected |
Definition at line 27 of file SubEventGenJetProducer.h.
Referenced by inputTowers(), and produce().