#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::RangeDefinition > | RangeDefPtr |
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 Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDProducerBase () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | fillDescriptionsFromVirtualJetProducer (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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... | |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Attributes | |
std::auto_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 36 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 91 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 92 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 88 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 90 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 89 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::RangeDefinition> VirtualJetProducer::RangeDefPtr |
Definition at line 93 of file VirtualJetProducer.h.
|
explicit |
Definition at line 127 of file VirtualJetProducer.cc.
References diMuonSkim_cfi::byName, Exception, reco::get(), and edm::ParameterSet::getParameter().
|
override |
Definition at line 257 of file VirtualJetProducer.cc.
|
inlineprotectedvirtual |
Reimplemented in cms::HTTTopJetProducer.
Definition at line 130 of file VirtualJetProducer.h.
References convertSQLitetoXML_cfg::output.
|
protectedvirtual |
Definition at line 505 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), mps_fire::i, and diffTreeTool::index.
|
static |
Definition at line 997 of file VirtualJetProducer.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
|
static |
Definition at line 1010 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, diffTreeTool::index, 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 100 of file VirtualJetProducer.h.
References iEvent, input, metsig::jet, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Definition at line 73 of file VirtualJetProducer.h.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 70 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 61 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 760 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 898 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 191 of file VirtualJetProducer.h.
|
private |
Definition at line 226 of file VirtualJetProducer.h.
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
|
protected |
Definition at line 181 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 186 of file VirtualJetProducer.h.
|
protected |
Definition at line 195 of file VirtualJetProducer.h.
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
|
protected |
Definition at line 185 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 203 of file VirtualJetProducer.h.
|
protected |
Definition at line 204 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 200 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 206 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 201 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 207 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 202 of file VirtualJetProducer.h.
|
protected |
Definition at line 205 of file VirtualJetProducer.h.
|
protected |
Definition at line 223 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::HTTTopJetProducer().
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
|
protected |
Definition at line 190 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 232 of file VirtualJetProducer.h.
|
private |
Definition at line 231 of file VirtualJetProducer.h.
|
private |
Definition at line 233 of file VirtualJetProducer.h.
|
protected |
Definition at line 236 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 172 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
|
protected |
Definition at line 169 of file VirtualJetProducer.h.
|
protected |
Definition at line 214 of file VirtualJetProducer.h.
Referenced by cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 173 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), cms::CSJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
|
protected |
Definition at line 56 of file VirtualJetProducer.h.
Referenced by SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), and FastjetJetProducer::produce().
|
protected |
Definition at line 178 of file VirtualJetProducer.h.
|
protected |
Definition at line 220 of file VirtualJetProducer.h.
|
protected |
Definition at line 165 of file VirtualJetProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and SubjetFilterJetProducer::SubjetFilterJetProducer().
|
protected |
Definition at line 212 of file VirtualJetProducer.h.
|
protected |
Definition at line 210 of file VirtualJetProducer.h.
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
|
protected |
Definition at line 211 of file VirtualJetProducer.h.
|
protected |
Definition at line 177 of file VirtualJetProducer.h.
|
protected |
Definition at line 189 of file VirtualJetProducer.h.
|
protected |
Definition at line 170 of file VirtualJetProducer.h.
|
protected |
Definition at line 166 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), and cms::SubEventGenJetProducer::SubEventGenJetProducer().
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
|
protected |
Definition at line 217 of file VirtualJetProducer.h.
|
protected |
Definition at line 219 of file VirtualJetProducer.h.
|
protected |
Definition at line 182 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer().
|
protected |
Definition at line 222 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 199 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
protected |
Definition at line 187 of file VirtualJetProducer.h.
Referenced by cms::CSJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and cms::HTTTopJetProducer::runAlgorithm().
|
protected |
Definition at line 215 of file VirtualJetProducer.h.
|
protected |
Definition at line 216 of file VirtualJetProducer.h.