#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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
std::string | jetType () const |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
VirtualJetProducer (const edm::ParameterSet &iConfig) | |
virtual | ~VirtualJetProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
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 () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
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) |
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< pat::PackedCandidate > > > | input_packedcandidatefwdptr_token_ |
Definition at line 35 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 90 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 91 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 87 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 89 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 88 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::RangeDefinition> VirtualJetProducer::RangeDefPtr |
Definition at line 92 of file VirtualJetProducer.h.
|
explicit |
Definition at line 122 of file VirtualJetProducer.cc.
References diMuonSkim_cfi::byName, Exception, reco::get(), and edm::ParameterSet::getParameter().
|
virtual |
Definition at line 248 of file VirtualJetProducer.cc.
|
inlineprotectedvirtual |
Reimplemented in cms::HTTTopJetProducer.
Definition at line 129 of file VirtualJetProducer.h.
References convertSQLitetoXML_cfg::output.
|
protectedvirtual |
Definition at line 462 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), mps_fire::i, and diffTreeTool::index.
|
static |
Definition at line 850 of file VirtualJetProducer.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
static |
Definition at line 858 of file VirtualJetProducer.cc.
References edm::ParameterSetDescription::add(), and funct::false.
Referenced by FastjetJetProducer::fillDescriptions(), and cms::CATopJetProducer::fillDescriptions().
|
protectedvirtual |
Definition at line 475 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 403 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 447 of file VirtualJetProducer.cc.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
inline |
Definition at line 99 of file VirtualJetProducer.h.
References iEvent, input, metsig::jet, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
inlineprotected |
Definition at line 72 of file VirtualJetProducer.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 63 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 69 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 60 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 490 of file VirtualJetProducer.cc.
References btagElecInJet_cfi::CaloJet, Exception, iEvent, and metsig::jet.
|
overridevirtual |
Reimplemented in cms::CATopJetProducer, cms::HTTTopJetProducer, FastjetJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, cms::SubEventGenJetProducer, and cms::SubJetProducer.
Definition at line 258 of file VirtualJetProducer.cc.
References edm::EventID::event(), edm::Event::getByToken(), mps_fire::i, edm::EventBase::id(), LogDebug, hpstanc_transforms::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(), SubjetFilterJetProducer::produce(), and FastjetJetProducer::produce().
|
protectedpure virtual |
|
protected |
function template to write out the outputs
Definition at line 713 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 553 of file VirtualJetProducer.cc.
References reco::deltaR2(), SoftLeptonByDistance_cfi::distance, stringResolutionProvider_cfi::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(), ctppsDiamondLocalTracks_cfi::sigma, fastjet::BackgroundEstimator::sigma(), mathSSE::sqrt(), and reco::writeSpecific().
|
protected |
Definition at line 188 of file VirtualJetProducer.h.
|
private |
Definition at line 222 of file VirtualJetProducer.h.
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
|
protected |
Definition at line 178 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
|
protected |
Definition at line 182 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 200 of file VirtualJetProducer.h.
|
protected |
Definition at line 201 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 197 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 203 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubJetProducer::runAlgorithm(), cms::SubEventGenJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), SubjetFilterJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 198 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 204 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::addHTTTopJetTagInfoCollection(), cms::SubEventGenJetProducer::produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 199 of file VirtualJetProducer.h.
|
protected |
Definition at line 202 of file VirtualJetProducer.h.
|
protected |
Definition at line 219 of file VirtualJetProducer.h.
Referenced by cms::HTTTopJetProducer::HTTTopJetProducer().
|
protected |
Definition at line 189 of file VirtualJetProducer.h.
|
protected |
Definition at line 187 of file VirtualJetProducer.h.
|
private |
Definition at line 226 of file VirtualJetProducer.h.
|
private |
Definition at line 225 of file VirtualJetProducer.h.
|
private |
Definition at line 227 of file VirtualJetProducer.h.
|
protected |
Definition at line 230 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 169 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers().
|
protected |
|
protected |
Definition at line 166 of file VirtualJetProducer.h.
|
protected |
Definition at line 211 of file VirtualJetProducer.h.
Referenced by cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 170 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 165 of file VirtualJetProducer.h.
|
protected |
Definition at line 55 of file VirtualJetProducer.h.
Referenced by SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), and FastjetJetProducer::produce().
|
protected |
Definition at line 175 of file VirtualJetProducer.h.
|
protected |
Definition at line 216 of file VirtualJetProducer.h.
|
protected |
Definition at line 162 of file VirtualJetProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), and SubjetFilterJetProducer::SubjetFilterJetProducer().
|
protected |
Definition at line 209 of file VirtualJetProducer.h.
|
protected |
Definition at line 207 of file VirtualJetProducer.h.
|
protected |
Definition at line 193 of file VirtualJetProducer.h.
|
protected |
Definition at line 208 of file VirtualJetProducer.h.
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
|
protected |
Definition at line 186 of file VirtualJetProducer.h.
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
|
protected |
Definition at line 163 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), and cms::SubEventGenJetProducer::SubEventGenJetProducer().
|
protected |
Definition at line 164 of file VirtualJetProducer.h.
|
protected |
Definition at line 213 of file VirtualJetProducer.h.
|
protected |
Definition at line 215 of file VirtualJetProducer.h.
|
protected |
Definition at line 179 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer().
|
protected |
Definition at line 218 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), and cms::SubEventGenJetProducer::runAlgorithm().
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::HTTTopJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 212 of file VirtualJetProducer.h.