#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 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 | |
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 (const std::string &iProcessName, std::vector< const char * > &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 | 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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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_ |
Additional Inherited Members | |
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 31 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 84 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 85 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 81 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 83 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 82 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::RangeDefinition> VirtualJetProducer::RangeDefPtr |
Definition at line 86 of file VirtualJetProducer.h.
|
explicit |
Definition at line 115 of file VirtualJetProducer.cc.
References HLT_25ns14e33_v1_cff::alias, anomalousTowerDef_, VirtualJetProducer::JetType::byName(), edm::EDConsumerBase::consumesCollector(), doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, edm::hlt::Exception, edm::ParameterSet::exists(), fjActiveArea_, fjAreaDefinition_, fjJetDefinition_, fjPlugin_, fjRangeDef_, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), input_candidatefwdptr_token_, input_candidateview_token_, input_packedcandidatefwdptr_token_, input_vertex_token_, jetAlgorithm_, jetCollInstanceName_, jetType_, jetTypeE, edm::InputTag::label(), makeProduces(), maxInputs_, minSeed_, moduleLabel_, nExclude_, puCenters_, puSubtractorName_, puWidth_, restrictInputs_, rParam_, src_, srcPVs_, AlCaHLTBitMon_QueryRunRegistry::string, subtractor_, useDeterministicSeed_, useExplicitGhosts_, verbosity_, voronoiRfact_, and writeCompound_.
|
virtual |
Definition at line 290 of file VirtualJetProducer.cc.
|
protectedvirtual |
Definition at line 485 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), i, cmsHarvester::index, and inputs_.
|
protectedvirtual |
Definition at line 498 of file VirtualJetProducer.cc.
References i, cmsHarvester::index, inputs_, and query::result.
Referenced by FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), writeCompoundJets(), and writeJets().
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, SubjetFilterJetProducer, and cms::SubEventGenJetProducer.
Definition at line 426 of file VirtualJetProducer.cc.
References doPVCorrection_, geometryDiff::epsilon, fjInputs_, edm::Ptr< T >::get(), i, input, inputEMin_, inputEtMin_, inputs_, isAnomalousTower(), edm::isNotFinite(), jetTypeE, makeCaloJet(), maxInputs_, CaloTower::p4(), restrictInputs_, python.multivaluedict::sort(), and vertex_.
Referenced by SubjetFilterJetProducer::inputTowers(), cms::CompoundJetProducer::inputTowers(), produce(), and FastjetJetProducer::produceTrackJets().
|
protectedvirtual |
Definition at line 470 of file VirtualJetProducer.cc.
References anomalousTowerDef_, jetTypeE, and makeCaloJet().
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
inline |
Definition at line 93 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 68 of file VirtualJetProducer.h.
|
inlineprotected |
Definition at line 53 of file VirtualJetProducer.h.
References CaloJet.
Referenced by inputTowers(), isAnomalousTower(), and produce().
|
inlineprotected |
|
inlineprotected |
Definition at line 65 of file VirtualJetProducer.h.
|
inlineprotected |
|
protectedvirtual |
Definition at line 82 of file VirtualJetProducer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SubjetFilterJetProducer::SubjetFilterJetProducer(), and VirtualJetProducer().
|
inlineprotected |
|
protected |
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, and SubjetFilterJetProducer.
Definition at line 514 of file VirtualJetProducer.cc.
References VirtualJetProducer::JetType::BasicJet, VirtualJetProducer::JetType::CaloJet, edm::hlt::Exception, VirtualJetProducer::JetType::GenJet, iEvent, jetTypeE, VirtualJetProducer::JetType::PFClusterJet, VirtualJetProducer::JetType::PFJet, VirtualJetProducer::JetType::TrackJet, and writeCompound_.
Referenced by produce().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Reimplemented in cms::CATopJetProducer, FastjetJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, cms::SubEventGenJetProducer, and cms::SubJetProducer.
Definition at line 300 of file VirtualJetProducer.cc.
References doPUOffsetCorr_, doPVCorrection_, edm::EventID::event(), fjInputs_, fjJetDefinition_, fjJets_, edm::Event::getByToken(), i, edm::EventBase::id(), input_candidatefwdptr_token_, input_candidateview_token_, input_packedcandidatefwdptr_token_, input_vertex_token_, inputs_, inputTowers(), jetTypeE, LogDebug, makeCaloJet(), makePFJet(), bookConverter::max, minSeed_, output(), edm::EventID::run(), runAlgorithm(), subtractor_, useDeterministicSeed_, and vertex_.
Referenced by cms::SubJetProducer::produce(), CMSInsideOutJetProducer::produce(), SubjetFilterJetProducer::produce(), and FastjetJetProducer::produce().
|
protectedpure virtual |
Implemented in cms::CATopJetProducer, FastjetJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, cms::SubEventGenJetProducer, and cms::SubJetProducer.
Referenced by produce().
|
protected |
function template to write out the outputs
Definition at line 727 of file VirtualJetProducer.cc.
References gather_cfg::cout, doAreaFastjet_, fjJets_, getConstituents(), metsig::jet, jetCollInstanceName_, moduleLabel_, point, edm::Event::put(), reco::Jet::setJetArea(), verbosity_, and reco::writeSpecific().
|
protected |
Definition at line 577 of file VirtualJetProducer.cc.
References reco::deltaR2(), HLT_25ns14e33_v1_cff::distance, doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, eta(), f, myMath::fast_logf(), plotBeamSpotDB::first, fjClusterSeq_, fjJets_, fjRangeDef_, getConstituents(), reco::helper::VirtualJetProducerHelper::intersection(), edm::isNotFinite(), metsig::jet, jetCollInstanceName_, fwrapper::jets, M_PI, HLT_25ns14e33_v1_cff::nEta, nExclude_, puCenters_, edm::Event::put(), puWidth_, dt_dqm_sourceclient_common_cff::reco, rho, fastjet::BackgroundEstimator::rho(), rParam_, edm::second(), fastjet::BackgroundEstimator::set_excluded_jets(), fastjet::BackgroundEstimator::sigma(), mathSSE::sqrt(), subtractor_, edmStreamStallGrapher::t, vertex_, reco::writeSpecific(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
private |
Definition at line 207 of file VirtualJetProducer.h.
Referenced by isAnomalousTower(), and VirtualJetProducer().
|
protected |
Definition at line 169 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), VirtualJetProducer(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 172 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 176 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 160 of file VirtualJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 185 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 186 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 182 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 188 of file VirtualJetProducer.h.
Referenced by inputTowers(), cms::SubEventGenJetProducer::produce(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubJetProducer::runAlgorithm(), cms::SubEventGenJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), SubjetFilterJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
Referenced by produce(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 189 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 187 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
private |
Definition at line 211 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
private |
Definition at line 210 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
private |
Definition at line 212 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 215 of file VirtualJetProducer.h.
Referenced by produce(), FastjetJetProducer::produceTrackJets(), and VirtualJetProducer().
|
protected |
Definition at line 158 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 157 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
Referenced by copyConstituents(), getConstituents(), cms::SubEventGenJetProducer::inputTowers(), inputTowers(), cms::SubEventGenJetProducer::produce(), produce(), FastjetJetProducer::produceTrackJets(), SubjetFilterJetProducer::writeCompoundJets(), and cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 155 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), cms::CompoundJetProducer::writeCompoundJets(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 159 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 154 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 51 of file VirtualJetProducer.h.
Referenced by inputTowers(), isAnomalousTower(), SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), output(), FastjetJetProducer::produce(), produce(), and VirtualJetProducer().
|
protected |
Definition at line 164 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 201 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 151 of file VirtualJetProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), SubjetFilterJetProducer::SubjetFilterJetProducer(), VirtualJetProducer(), and writeCompoundJets().
|
protected |
Definition at line 194 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 177 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 193 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 163 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 156 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 152 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), FastjetJetProducer::FastjetJetProducer(), cms::SubEventGenJetProducer::SubEventGenJetProducer(), and VirtualJetProducer().
|
protected |
Definition at line 153 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 198 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 200 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), and VirtualJetProducer().
|
protected |
Definition at line 203 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), VirtualJetProducer(), and writeCompoundJets().
|
protected |
Definition at line 181 of file VirtualJetProducer.h.
Referenced by inputTowers(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 173 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 197 of file VirtualJetProducer.h.
Referenced by output(), and VirtualJetProducer().