#include <SubEventGenJetProducer.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) |
void | runAlgorithm (edm::Event &, const edm::EventSetup &) |
SubEventGenJetProducer (const edm::ParameterSet &ps) | |
virtual | ~SubEventGenJetProducer () |
Public Member Functions inherited from VirtualJetProducer | |
std::string | jetType () const |
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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
virtual void | inputTowers () |
Protected Member Functions inherited from VirtualJetProducer | |
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 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) |
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 | |
edm::EDGetTokenT < reco::CandidateView > | input_cand_token_ |
Additional Inherited Members | |
Public Types inherited from VirtualJetProducer | |
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 |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 19 of file SubEventGenJetProducer.h.
SubEventGenJetProducer::SubEventGenJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 34 of file SubEventGenJetProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), ignoreHydro_, input_cand_token_, and VirtualJetProducer::src_.
|
inlinevirtual |
Definition at line 24 of file SubEventGenJetProducer.h.
|
protectedvirtual |
Reimplemented from VirtualJetProducer.
Definition at line 47 of file SubEventGenJetProducer.cc.
References reco::GenParticle::collisionId(), edm::Ptr< T >::get(), hydroTag_, i, input, VirtualJetProducer::inputEMin_, VirtualJetProducer::inputEtMin_, VirtualJetProducer::inputs_, VirtualJetProducer::isAnomalousTower(), edm::isNotFinite(), LogDebug, and subInputs_.
Referenced by produce().
|
virtual |
Reimplemented from VirtualJetProducer.
Definition at line 83 of file SubEventGenJetProducer.cc.
References VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, edm::Event::getByToken(), hydroTag_, i, ignoreHydro_, input_cand_token_, VirtualJetProducer::inputs_, inputTowers(), fwrapper::jets, LogDebug, nSubParticles_, edm::Event::put(), runAlgorithm(), subInputs_, and subJets_.
|
virtual |
Implements VirtualJetProducer.
Definition at line 129 of file SubEventGenJetProducer.cc.
References VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, VirtualJetProducer::getConstituents(), metsig::jet, VirtualJetProducer::jetPtMin_, dt_dqm_sourceclient_common_cff::reco, reco::Jet::setJetArea(), reco::Jet::setPileup(), subJets_, VirtualJetProducer::vertex_, and reco::writeSpecific().
Referenced by produce().
|
protected |
Definition at line 31 of file SubEventGenJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 33 of file SubEventGenJetProducer.h.
Referenced by produce(), and SubEventGenJetProducer().
|
private |
Definition at line 42 of file SubEventGenJetProducer.h.
Referenced by produce(), and SubEventGenJetProducer().
|
protected |
Definition at line 32 of file SubEventGenJetProducer.h.
Referenced by produce().
|
protected |
Definition at line 29 of file SubEventGenJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 30 of file SubEventGenJetProducer.h.
Referenced by produce(), and runAlgorithm().