#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<> | |
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 | |
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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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) |
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::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_ |
Definition at line 35 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 76 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 77 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 73 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 75 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 74 of file VirtualJetProducer.h.
typedef std::shared_ptr<fastjet::Selector> VirtualJetProducer::SelectorPtr |
Definition at line 78 of file VirtualJetProducer.h.
|
explicit |
Definition at line 113 of file VirtualJetProducer.cc.
References diMuonSkim_cfi::byName, beamerCreator::create(), Exception, get, edm::ParameterSet::getParameter(), and HLT_2018_cff::srcWeights.
|
override |
Definition at line 257 of file VirtualJetProducer.cc.
|
inlineprotectedvirtual |
Reimplemented in cms::HTTTopJetProducer.
Definition at line 113 of file VirtualJetProducer.h.
|
protectedvirtual |
|
static |
Definition at line 1004 of file VirtualJetProducer.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
|
static |
Definition at line 1016 of file VirtualJetProducer.cc.
References edm::ParameterSetDescription::add(), and HLT_2018_cff::InputTag.
Referenced by cms::CSJetProducer::fillDescriptions(), FastjetJetProducer::fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), and cms::HTTTopJetProducer::fillDescriptions().
|
protectedvirtual |
Definition at line 522 of file VirtualJetProducer.cc.
References mps_fire::i, and mps_fire::result.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, SubjetFilterJetProducer, and cms::SubEventGenJetProducer.
Definition at line 442 of file VirtualJetProducer.cc.
References geometryDiff::epsilon, mps_fire::i, input, edm::isNotFinite(), hgcalTowerProducer_cfi::tower, and w.
Referenced by SubjetFilterJetProducer::inputTowers(), cms::CompoundJetProducer::inputTowers(), and FastjetJetProducer::produceTrackJets().
|
protectedvirtual |
Definition at line 499 of file VirtualJetProducer.cc.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
inline |
Definition at line 85 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 61 of file VirtualJetProducer.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 60 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 57 of file VirtualJetProducer.h.
|
protectedvirtual |
Definition at line 83 of file VirtualJetProducer.cc.
References SiStripOfflineCRack_cfg::alias, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SubjetFilterJetProducer::SubjetFilterJetProducer().
|
inlineprotected |
|
protected |
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, and SubjetFilterJetProducer.
Definition at line 536 of file VirtualJetProducer.cc.
References btagElecInJet_cfi::CaloJet, Exception, nanoDQM_cfi::GenJet, and iEvent.
|
override |
Definition at line 264 of file VirtualJetProducer.cc.
References edm::View< T >::empty(), Exception, mps_fire::i, iEvent, LogDebug, SiStripPI::max, convertSQLitetoXML_cfg::output, edm::View< T >::ptrAt(), anotherprimaryvertexanalyzer_cfi::pvCollection, InitialStep_cff::seeds, edm::View< T >::size(), and std::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 767 of file VirtualJetProducer.cc.
References gather_cfg::cout, iEvent, bTagCombinedSVVariables_cff::indices, metsig::jet, jetfilter_cfi::jetCollection, eostools::move(), point, reco::Jet::setJetArea(), and reco::writeSpecific().
|
protected |
Definition at line 602 of file VirtualJetProducer.cc.
References reco::deltaR2(), HLT_2018_cff::distance, PVValHelper::eta, muonTiming_cfi::etamax, muonTiming_cfi::etamin, Exception, dqmdumpme::first, iEvent, reco::helper::VirtualJetProducerHelper::intersection(), edm::isNotFinite(), metsig::jet, singleTopDQM_cfi::jets, dqmdumpme::k, M_PI, eostools::move(), HLT_2018_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 909 of file VirtualJetProducer.cc.
References gather_cfg::cout, triggerObjects_cff::id, iEvent, bTagCombinedSVVariables_cff::indices, metsig::jet, jetfilter_cfi::jetCollection, eostools::move(), point, reco::LeafCandidate::setP4(), reco::PFCandidate::setSourceCandidatePtr(), reco::PFCandidate::translatePdgIdToType(), and reco::writeSpecific().
|
protected |
Definition at line 175 of file VirtualJetProducer.h.
|
private |
Definition at line 213 of file VirtualJetProducer.h.
|
protected |
Definition at line 209 of file VirtualJetProducer.h.
|
protected |
Definition at line 165 of file VirtualJetProducer.h.
|
protected |
Definition at line 163 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
|
protected |
Definition at line 179 of file VirtualJetProducer.h.
|
protected |
Definition at line 156 of file VirtualJetProducer.h.
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 188 of file VirtualJetProducer.h.
|
protected |
Definition at line 189 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 185 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 191 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 186 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 192 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 187 of file VirtualJetProducer.h.
|
protected |
Definition at line 190 of file VirtualJetProducer.h.
|
protected |
Definition at line 208 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::HTTTopJetProducer().
|
protected |
Definition at line 176 of file VirtualJetProducer.h.
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
|
private |
Definition at line 217 of file VirtualJetProducer.h.
|
private |
Definition at line 216 of file VirtualJetProducer.h.
|
private |
Definition at line 219 of file VirtualJetProducer.h.
|
private |
Definition at line 218 of file VirtualJetProducer.h.
|
private |
Definition at line 220 of file VirtualJetProducer.h.
|
protected |
Definition at line 223 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 224 of file VirtualJetProducer.h.
|
protected |
Definition at line 154 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
Definition at line 153 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
|
protected |
Definition at line 151 of file VirtualJetProducer.h.
|
protected |
Definition at line 199 of file VirtualJetProducer.h.
Referenced by cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 155 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 150 of file VirtualJetProducer.h.
|
protected |
Definition at line 54 of file VirtualJetProducer.h.
Referenced by SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), and FastjetJetProducer::produce().
|
protected |
Definition at line 160 of file VirtualJetProducer.h.
|
protected |
Definition at line 205 of file VirtualJetProducer.h.
|
protected |
Definition at line 147 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 197 of file VirtualJetProducer.h.
|
protected |
Definition at line 195 of file VirtualJetProducer.h.
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
|
protected |
Definition at line 159 of file VirtualJetProducer.h.
|
protected |
Definition at line 173 of file VirtualJetProducer.h.
|
protected |
Definition at line 152 of file VirtualJetProducer.h.
|
protected |
Definition at line 148 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), and cms::SubEventGenJetProducer::SubEventGenJetProducer().
|
protected |
Definition at line 149 of file VirtualJetProducer.h.
|
protected |
Definition at line 202 of file VirtualJetProducer.h.
|
protected |
Definition at line 204 of file VirtualJetProducer.h.
|
protected |
Definition at line 164 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer().
|
protected |
Definition at line 207 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
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 210 of file VirtualJetProducer.h.
|
protected |
Definition at line 200 of file VirtualJetProducer.h.
|
protected |
Definition at line 201 of file VirtualJetProducer.h.