#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::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 30 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 83 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 84 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 80 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 82 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 81 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::RangeDefinition> VirtualJetProducer::RangeDefPtr |
Definition at line 85 of file VirtualJetProducer.h.
|
explicit |
Definition at line 114 of file VirtualJetProducer.cc.
References anomalousTowerDef_, VirtualJetProducer::JetType::BasicJet, VirtualJetProducer::JetType::byName(), VirtualJetProducer::JetType::CaloJet, 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_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 291 of file VirtualJetProducer.cc.
|
protectedvirtual |
Definition at line 470 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), i, cmsHarvester::index, and inputs_.
|
protectedvirtual |
Definition at line 483 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 412 of file VirtualJetProducer.cc.
References doPVCorrection_, 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 455 of file VirtualJetProducer.cc.
References anomalousTowerDef_, jetTypeE, and makeCaloJet().
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
inline |
|
inlineprotected |
Definition at line 67 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::BasicJet.
|
inlineprotected |
Definition at line 52 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::CaloJet.
Referenced by inputTowers(), isAnomalousTower(), and produce().
|
inlineprotected |
|
inlineprotected |
Definition at line 64 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::PFClusterJet.
|
inlineprotected |
Definition at line 55 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::PFJet.
Referenced by produce().
|
protectedvirtual |
Definition at line 81 of file VirtualJetProducer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SubjetFilterJetProducer::SubjetFilterJetProducer(), and VirtualJetProducer().
|
inlineprotected |
Definition at line 61 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::TrackJet.
Referenced by FastjetJetProducer::produce().
|
protected |
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, and SubjetFilterJetProducer.
Definition at line 499 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().
|
virtual |
Implements edm::EDProducer.
Reimplemented in cms::CATopJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, cms::SubEventGenJetProducer, FastjetJetProducer, and cms::SubJetProducer.
Definition at line 301 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_vertex_token_, inputs_, inputTowers(), jetTypeE, LogDebug, makeCaloJet(), makePFJet(), max(), minSeed_, output(), edm::EventID::run(), runAlgorithm(), subtractor_, useDeterministicSeed_, and vertex_.
Referenced by cms::SubJetProducer::produce(), FastjetJetProducer::produce(), CMSInsideOutJetProducer::produce(), and SubjetFilterJetProducer::produce().
|
protectedpure virtual |
Implemented in cms::CATopJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, FastjetJetProducer, cms::SubEventGenJetProducer, and cms::SubJetProducer.
Referenced by produce().
|
protected |
function template to write out the outputs
Definition at line 712 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 562 of file VirtualJetProducer.cc.
References reco::deltaR2(), doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, eta(), f, myMath::fast_logf(), first, fjClusterSeq_, fjJets_, fjRangeDef_, getConstituents(), reco::helper::VirtualJetProducerHelper::intersection(), edm::isNotFinite(), metsig::jet, jetCollInstanceName_, fwrapper::jets, M_PI, 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 206 of file VirtualJetProducer.h.
Referenced by isAnomalousTower(), and VirtualJetProducer().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 166 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), VirtualJetProducer(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 175 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 159 of file VirtualJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 170 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 185 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 181 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 187 of file VirtualJetProducer.h.
Referenced by inputTowers(), cms::SubEventGenJetProducer::produce(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubJetProducer::runAlgorithm(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), SubjetFilterJetProducer::runAlgorithm(), and cms::CATopJetProducer::runAlgorithm().
|
protected |
Definition at line 182 of file VirtualJetProducer.h.
Referenced by produce(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 188 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 186 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
private |
Definition at line 210 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
private |
Definition at line 209 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 213 of file VirtualJetProducer.h.
Referenced by produce(), FastjetJetProducer::produceTrackJets(), and VirtualJetProducer().
|
protected |
Definition at line 157 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 156 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 179 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 154 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 195 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), cms::CompoundJetProducer::writeCompoundJets(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 158 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 153 of file VirtualJetProducer.h.
Referenced by jetType(), and VirtualJetProducer().
|
protected |
Definition at line 50 of file VirtualJetProducer.h.
Referenced by inputTowers(), isAnomalousTower(), SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), output(), FastjetJetProducer::produce(), produce(), and VirtualJetProducer().
|
protected |
Definition at line 163 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 200 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 150 of file VirtualJetProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), SubjetFilterJetProducer::SubjetFilterJetProducer(), VirtualJetProducer(), and writeCompoundJets().
|
protected |
Definition at line 193 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 191 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 176 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 162 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 155 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 151 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), FastjetJetProducer::FastjetJetProducer(), cms::SubEventGenJetProducer::SubEventGenJetProducer(), and VirtualJetProducer().
|
protected |
Definition at line 152 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 197 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 199 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), and VirtualJetProducer().
|
protected |
Definition at line 202 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), VirtualJetProducer(), and writeCompoundJets().
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
Referenced by inputTowers(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 172 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
Referenced by output(), and VirtualJetProducer().