#include <VirtualJetProducer.h>
Classes | |
struct | JetType |
Public Types | |
typedef boost::shared_ptr< fastjet::GhostedAreaSpec > | ActiveAreaSpecPtr |
typedef boost::shared_ptr< fastjet::AreaDefinition > | AreaDefinitionPtr |
typedef boost::shared_ptr< fastjet::ClusterSequence > | ClusterSequencePtr |
typedef boost::shared_ptr< fastjet::JetDefinition > | JetDefPtr |
typedef boost::shared_ptr< fastjet::JetDefinition::Plugin > | PluginPtr |
typedef boost::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 | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 37 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 92 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 93 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 89 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 91 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 90 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::Selector> VirtualJetProducer::SelectorPtr |
Definition at line 94 of file VirtualJetProducer.h.
|
explicit |
Definition at line 127 of file VirtualJetProducer.cc.
References diMuonSkim_cfi::byName, Exception, reco::get(), edm::ParameterSet::getParameter(), and ALCARECOPromptCalibProdSiPixelAli0T_cff::Selector.
|
override |
Definition at line 257 of file VirtualJetProducer.cc.
|
inlineprotectedvirtual |
Reimplemented in cms::HTTTopJetProducer.
Definition at line 131 of file VirtualJetProducer.h.
References convertSQLitetoXML_cfg::output.
|
protectedvirtual |
Definition at line 505 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), and mps_fire::i.
|
static |
Definition at line 991 of file VirtualJetProducer.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
|
static |
Definition at line 1004 of file VirtualJetProducer.cc.
References edm::ParameterSetDescription::add(), and funct::false.
Referenced by cms::CSJetProducer::fillDescriptions(), FastjetJetProducer::fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), and cms::HTTTopJetProducer::fillDescriptions().
|
protectedvirtual |
Definition at line 518 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 446 of file VirtualJetProducer.cc.
References geometryDiff::epsilon, mps_fire::i, input, edm::isNotFinite(), and CaloTower::p4().
Referenced by SubjetFilterJetProducer::inputTowers(), cms::CompoundJetProducer::inputTowers(), and FastjetJetProducer::produceTrackJets().
|
protectedvirtual |
Definition at line 490 of file VirtualJetProducer.cc.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
inline |
Definition at line 101 of file VirtualJetProducer.h.
References iEvent, input, metsig::jet, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 71 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 62 of file VirtualJetProducer.h.
|
protectedvirtual |
Definition at line 89 of file VirtualJetProducer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SubjetFilterJetProducer::SubjetFilterJetProducer().
|
inlineprotected |
|
protected |
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer.
Definition at line 533 of file VirtualJetProducer.cc.
References btagElecInJet_cfi::CaloJet, Exception, nanoDQM_cfi::GenJet, iEvent, and metsig::jet.
|
override |
Definition at line 267 of file VirtualJetProducer.cc.
References edm::View< T >::empty(), edm::EventID::event(), Exception, edm::Event::getByToken(), mps_fire::i, edm::EventBase::id(), LogDebug, SiStripPI::max, convertSQLitetoXML_cfg::output, edm::View< T >::ptrAt(), anotherprimaryvertexanalyzer_cfi::pvCollection, edm::EventID::run(), 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 754 of file VirtualJetProducer.cc.
References gather_cfg::cout, metsig::jet, eostools::move(), point, edm::Event::put(), reco::Jet::setJetArea(), and reco::writeSpecific().
|
protected |
Definition at line 600 of file VirtualJetProducer.cc.
References reco::deltaR2(), SoftLeptonByDistance_cfi::distance, PVValHelper::eta, Exception, plotBeamSpotDB::first, reco::helper::VirtualJetProducerHelper::intersection(), edm::isNotFinite(), metsig::jet, fwrapper::jets, gen::k, M_PI, eostools::move(), DetIdAssociatorESProducer_cff::nEta, edm::Event::put(), 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 892 of file VirtualJetProducer.cc.
References gather_cfg::cout, triggerObjects_cff::id, metsig::jet, eostools::move(), point, edm::Event::put(), reco::Jet::setJetArea(), reco::LeafCandidate::setP4(), reco::PFCandidate::setSourceCandidatePtr(), reco::PFCandidate::translatePdgIdToType(), and reco::writeSpecific().
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
|
private |
Definition at line 227 of file VirtualJetProducer.h.
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
|
protected |
Definition at line 182 of file VirtualJetProducer.h.
Referenced by 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 196 of file VirtualJetProducer.h.
|
protected |
Definition at line 175 of file VirtualJetProducer.h.
|
protected |
Definition at line 186 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 204 of file VirtualJetProducer.h.
|
protected |
Definition at line 205 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 201 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 207 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubJetProducer::runAlgorithm(), cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), SubjetFilterJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 202 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 208 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::addHTTTopJetTagInfoCollection(), cms::SubEventGenJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 203 of file VirtualJetProducer.h.
|
protected |
Definition at line 206 of file VirtualJetProducer.h.
|
protected |
Definition at line 224 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::HTTTopJetProducer().
|
protected |
Definition at line 193 of file VirtualJetProducer.h.
|
protected |
Definition at line 191 of file VirtualJetProducer.h.
|
private |
Definition at line 231 of file VirtualJetProducer.h.
|
private |
Definition at line 230 of file VirtualJetProducer.h.
|
private |
Definition at line 233 of file VirtualJetProducer.h.
|
private |
Definition at line 232 of file VirtualJetProducer.h.
|
private |
Definition at line 234 of file VirtualJetProducer.h.
|
protected |
Definition at line 237 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 173 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
Definition at line 172 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
|
protected |
Definition at line 170 of file VirtualJetProducer.h.
|
protected |
Definition at line 215 of file VirtualJetProducer.h.
Referenced by cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 169 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 179 of file VirtualJetProducer.h.
|
protected |
Definition at line 221 of file VirtualJetProducer.h.
|
protected |
Definition at line 166 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 213 of file VirtualJetProducer.h.
|
protected |
Definition at line 211 of file VirtualJetProducer.h.
|
protected |
Definition at line 197 of file VirtualJetProducer.h.
|
protected |
Definition at line 212 of file VirtualJetProducer.h.
|
protected |
Definition at line 178 of file VirtualJetProducer.h.
|
protected |
Definition at line 190 of file VirtualJetProducer.h.
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), and cms::SubEventGenJetProducer::SubEventGenJetProducer().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
|
protected |
Definition at line 218 of file VirtualJetProducer.h.
|
protected |
Definition at line 220 of file VirtualJetProducer.h.
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer().
|
protected |
Definition at line 223 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 200 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
protected |
Definition at line 188 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 216 of file VirtualJetProducer.h.
|
protected |
Definition at line 217 of file VirtualJetProducer.h.