#include <VirtualJetProducer.h>
Classes | |
struct | JetType |
Public Types | |
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 |
Public Member Functions | |
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 |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | fillDescriptionsFromVirtualJetProducer (edm::ParameterSetDescription &desc) |
Protected Member Functions | |
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 void | inputTowers () |
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) |
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... | |
Private Attributes | |
std::unique_ptr< AnomalousTower > | anomalousTowerDef_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometry_token_ |
edm::EDGetTokenT< std::vector< edm::FwdPtr< reco::PFCandidate > > > | input_candidatefwdptr_token_ |
edm::EDGetTokenT< reco::CandidateView > | input_candidateview_token_ |
edm::EDGetTokenT< std::vector< edm::FwdPtr< reco::GenParticle > > > | input_gencandidatefwdptr_token_ |
edm::EDGetTokenT< std::vector< edm::FwdPtr< pat::PackedCandidate > > > | input_packedcandidatefwdptr_token_ |
edm::EDGetTokenT< std::vector< edm::FwdPtr< pat::PackedGenParticle > > > | input_packedgencandidatefwdptr_token_ |
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > | topology_token_ |
Definition at line 38 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 79 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 80 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 76 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 78 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 77 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::Selector> VirtualJetProducer::SelectorPtr |
Definition at line 81 of file VirtualJetProducer.h.
|
explicit |
Definition at line 116 of file VirtualJetProducer.cc.
References btagElecInJet_cfi::CaloJet, deDxTools::esConsumes(), Exception, get, edm::ParameterSet::getParameter(), and HLT_2024v14_cff::srcWeights.
|
override |
Definition at line 265 of file VirtualJetProducer.cc.
|
inlineprotectedvirtual |
Reimplemented in cms::HTTTopJetProducer.
Definition at line 116 of file VirtualJetProducer.h.
|
protectedvirtual |
Definition at line 521 of file VirtualJetProducer.cc.
References mps_fire::i, and metsig::jet.
|
static |
Definition at line 1039 of file VirtualJetProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
static |
Definition at line 1051 of file VirtualJetProducer.cc.
References submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
Referenced by cms::CSJetProducer::fillDescriptions(), FastjetJetProducer::fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), and cms::HTTTopJetProducer::fillDescriptions().
|
protectedvirtual |
Definition at line 530 of file VirtualJetProducer.cc.
References mps_fire::i, and mps_fire::result.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
protected |
Definition at line 1030 of file VirtualJetProducer.cc.
References edm::EventSetup::getData().
Referenced by SubjetFilterJetProducer::writeCompoundJets(), and cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 1034 of file VirtualJetProducer.cc.
References edm::EventSetup::getData().
Referenced by SubjetFilterJetProducer::writeCompoundJets(), and cms::CompoundJetProducer::writeCompoundJets().
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, SubjetFilterJetProducer, and cms::SubEventGenJetProducer.
Definition at line 450 of file VirtualJetProducer.cc.
References geometryDiff::epsilon, mps_fire::i, input, edm::isNotFinite(), jetUpdater_cfi::sort, l1tHGCalTowerProducer_cfi::tower, and w().
Referenced by SubjetFilterJetProducer::inputTowers(), cms::CompoundJetProducer::inputTowers(), and FastjetJetProducer::produceTrackJets().
|
protectedvirtual |
Definition at line 507 of file VirtualJetProducer.cc.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
inline |
Definition at line 88 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 64 of file VirtualJetProducer.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 63 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 60 of file VirtualJetProducer.h.
|
protectedvirtual |
Definition at line 86 of file VirtualJetProducer.cc.
References SiStripOfflineCRack_cfg::alias, and makeGlobalPositionRcd_cfg::tag.
Referenced by SubjetFilterJetProducer::SubjetFilterJetProducer().
|
inlineprotected |
|
protected |
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, and SubjetFilterJetProducer.
Definition at line 544 of file VirtualJetProducer.cc.
References btagElecInJet_cfi::CaloJet, Exception, nanoDQM_cfi::GenJet, and iEvent.
|
override |
Definition at line 272 of file VirtualJetProducer.cc.
References edm::View< T >::empty(), Exception, mps_fire::i, iEvent, LogDebug, SiStripPI::max, convertSQLitetoXML_cfg::output, edm::View< T >::ptrAt(), heavyFlavorDQMFirstStep_cff::pvCollection, HLT_2024v14_cff::seeds, edm::View< T >::size(), and edm::swap().
Referenced by cms::SubJetProducer::produce(), CMSInsideOutJetProducer::produce(), cms::CSJetProducer::produce(), SubjetFilterJetProducer::produce(), and FastjetJetProducer::produce().
|
protectedpure virtual |
|
protected |
function template to write out the outputs
Definition at line 790 of file VirtualJetProducer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), gather_cfg::cout, edm::EventSetup::getData(), iEvent, dqmdumpme::indices, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, metsig::jet, jetfilter_cfi::jetCollection, eostools::move(), point, reco::Jet::setJetArea(), and reco::writeSpecific().
|
protected |
Definition at line 610 of file VirtualJetProducer.cc.
References runTheMatrix::const, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), reco::deltaR2(), HLT_2024v14_cff::distance, PVValHelper::eta, TrackingDataMCValidation_Standalone_cff::etamax, TrackingDataMCValidation_Standalone_cff::etamin, Exception, dqmdumpme::first, iEvent, reco::helper::VirtualJetProducerHelper::intersection(), edm::isNotFinite(), metsig::jet, PDWG_EXODelayedJetMET_cff::jets, dqmdumpme::k, M_PI, eostools::move(), HLT_2024v14_cff::nEta, fastjet::BackgroundEstimator::rho(), edm::second(), fastjet::BackgroundEstimator::set_excluded_jets(), fastjet::BackgroundEstimator::sigma(), mathSSE::sqrt(), and reco::writeSpecific().
|
protected |
function template to write out the outputs
Definition at line 936 of file VirtualJetProducer.cc.
References gather_cfg::cout, l1ctLayer2EG_cff::id, iEvent, dqmdumpme::indices, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, metsig::jet, jetfilter_cfi::jetCollection, eostools::move(), point, reco::LeafCandidate::setP4(), reco::PFCandidate::setSourceCandidatePtr(), reco::PFCandidate::translatePdgIdToType(), and reco::writeSpecific().
|
protected |
Definition at line 182 of file VirtualJetProducer.h.
|
private |
Definition at line 224 of file VirtualJetProducer.h.
|
protected |
Definition at line 216 of file VirtualJetProducer.h.
|
protected |
Definition at line 172 of file VirtualJetProducer.h.
|
protected |
Definition at line 170 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 175 of file VirtualJetProducer.h.
|
protected |
Definition at line 186 of file VirtualJetProducer.h.
|
protected |
Definition at line 163 of file VirtualJetProducer.h.
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 195 of file VirtualJetProducer.h.
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::produce(), FastjetJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 198 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubJetProducer::runAlgorithm(), cms::SubEventGenJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), SubjetFilterJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 193 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 199 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::addHTTTopJetTagInfoCollection(), cms::SubEventGenJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 194 of file VirtualJetProducer.h.
|
protected |
Definition at line 197 of file VirtualJetProducer.h.
|
protected |
Definition at line 215 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::HTTTopJetProducer().
|
private |
Definition at line 221 of file VirtualJetProducer.h.
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
|
protected |
Definition at line 181 of file VirtualJetProducer.h.
|
private |
Definition at line 228 of file VirtualJetProducer.h.
|
private |
Definition at line 227 of file VirtualJetProducer.h.
|
private |
Definition at line 230 of file VirtualJetProducer.h.
|
private |
Definition at line 229 of file VirtualJetProducer.h.
|
private |
Definition at line 231 of file VirtualJetProducer.h.
|
protected |
Definition at line 234 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 235 of file VirtualJetProducer.h.
|
protected |
Definition at line 161 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
Definition at line 160 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
|
protected |
Definition at line 158 of file VirtualJetProducer.h.
|
protected |
Definition at line 206 of file VirtualJetProducer.h.
Referenced by cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 162 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 157 of file VirtualJetProducer.h.
|
protected |
Definition at line 57 of file VirtualJetProducer.h.
Referenced by SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), and FastjetJetProducer::produce().
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
|
protected |
Definition at line 212 of file VirtualJetProducer.h.
|
protected |
Definition at line 154 of file VirtualJetProducer.h.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Modules.SwitchProducer::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and SubjetFilterJetProducer::SubjetFilterJetProducer().
|
protected |
Definition at line 204 of file VirtualJetProducer.h.
|
protected |
Definition at line 202 of file VirtualJetProducer.h.
|
protected |
Definition at line 187 of file VirtualJetProducer.h.
|
protected |
Definition at line 203 of file VirtualJetProducer.h.
|
protected |
Definition at line 166 of file VirtualJetProducer.h.
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
|
protected |
Definition at line 159 of file VirtualJetProducer.h.
|
protected |
Definition at line 155 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), and cms::SubEventGenJetProducer::SubEventGenJetProducer().
|
protected |
Definition at line 156 of file VirtualJetProducer.h.
|
protected |
Definition at line 209 of file VirtualJetProducer.h.
|
private |
Definition at line 222 of file VirtualJetProducer.h.
|
protected |
Definition at line 211 of file VirtualJetProducer.h.
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer().
|
protected |
Definition at line 214 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 191 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
protected |
Definition at line 177 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 217 of file VirtualJetProducer.h.
|
protected |
Definition at line 207 of file VirtualJetProducer.h.
|
protected |
Definition at line 208 of file VirtualJetProducer.h.