#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_ |
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 29 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::GhostedAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 82 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::AreaDefinition> VirtualJetProducer::AreaDefinitionPtr |
Definition at line 83 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> VirtualJetProducer::ClusterSequencePtr |
Definition at line 79 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition> VirtualJetProducer::JetDefPtr |
Definition at line 81 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::JetDefinition::Plugin> VirtualJetProducer::PluginPtr |
Definition at line 80 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::RangeDefinition> VirtualJetProducer::RangeDefPtr |
Definition at line 84 of file VirtualJetProducer.h.
|
explicit |
Definition at line 115 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(), jetAlgorithm_, jetCollInstanceName_, jetType_, jetTypeE, makeProduces(), maxInputs_, minSeed_, moduleLabel_, nExclude_, puCenters_, puSubtractorName_, puWidth_, restrictInputs_, rParam_, AlCaHLTBitMon_QueryRunRegistry::string, subtractor_, useDeterministicSeed_, useExplicitGhosts_, verbosity_, voronoiRfact_, and writeCompound_.
|
virtual |
Definition at line 289 of file VirtualJetProducer.cc.
|
protectedvirtual |
Definition at line 467 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), i, getHLTprescales::index, and inputs_.
|
protectedvirtual |
Definition at line 480 of file VirtualJetProducer.cc.
References i, getHLTprescales::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 410 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 452 of file VirtualJetProducer.cc.
References anomalousTowerDef_, jetTypeE, and makeCaloJet().
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
inline |
|
inlineprotected |
Definition at line 66 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::BasicJet.
|
inlineprotected |
Definition at line 51 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::CaloJet.
Referenced by inputTowers(), isAnomalousTower(), and produce().
|
inlineprotected |
|
inlineprotected |
Definition at line 63 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::PFClusterJet.
|
inlineprotected |
Definition at line 54 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::PFJet.
Referenced by produce().
|
protectedvirtual |
Definition at line 82 of file VirtualJetProducer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by SubjetFilterJetProducer::SubjetFilterJetProducer(), and VirtualJetProducer().
|
inlineprotected |
Definition at line 60 of file VirtualJetProducer.h.
References VirtualJetProducer::JetType::TrackJet.
Referenced by FastjetJetProducer::produce().
|
protected |
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, and SubjetFilterJetProducer.
Definition at line 496 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, cms::SubJetProducer, and FastjetJetProducer.
Definition at line 299 of file VirtualJetProducer.cc.
References doPUOffsetCorr_, doPVCorrection_, edm::EventID::event(), fjInputs_, fjJetDefinition_, fjJets_, edm::Event::getByLabel(), i, edm::EventBase::id(), inputs_, inputTowers(), jetTypeE, LogDebug, makeCaloJet(), makePFJet(), max(), minSeed_, output(), edm::EventID::run(), runAlgorithm(), src_, srcPVs_, subtractor_, useDeterministicSeed_, and vertex_.
Referenced by FastjetJetProducer::produce(), cms::SubJetProducer::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 708 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 559 of file VirtualJetProducer.cc.
References reco::deltaR2(), doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, eta(), f, 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_, lumiQTWidget::t, vertex_, reco::writeSpecific(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
private |
Definition at line 204 of file VirtualJetProducer.h.
Referenced by isAnomalousTower(), and VirtualJetProducer().
|
protected |
Definition at line 167 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 165 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), VirtualJetProducer(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 170 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 158 of file VirtualJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 169 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 186 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 181 of file VirtualJetProducer.h.
Referenced by produce(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 187 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 182 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 185 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 156 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 155 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 178 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 153 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 194 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), cms::CompoundJetProducer::writeCompoundJets(), writeCompoundJets(), and writeJets().
|
protected |
Definition at line 157 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 152 of file VirtualJetProducer.h.
Referenced by jetType(), and VirtualJetProducer().
|
protected |
Definition at line 49 of file VirtualJetProducer.h.
Referenced by inputTowers(), isAnomalousTower(), SubjetFilterJetProducer::output(), cms::CompoundJetProducer::output(), output(), FastjetJetProducer::produce(), produce(), and VirtualJetProducer().
|
protected |
Definition at line 162 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 199 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 149 of file VirtualJetProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), SubjetFilterJetProducer::SubjetFilterJetProducer(), VirtualJetProducer(), and writeCompoundJets().
|
protected |
Definition at line 192 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 190 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 175 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 191 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 161 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 154 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 150 of file VirtualJetProducer.h.
Referenced by cms::CATopJetProducer::CATopJetProducer(), cms::SubEventGenJetProducer::produce(), produce(), and FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 151 of file VirtualJetProducer.h.
Referenced by produce(), and FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 196 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 198 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 166 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::FastjetJetProducer(), and VirtualJetProducer().
|
protected |
Definition at line 201 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), VirtualJetProducer(), and writeCompoundJets().
|
protected |
Definition at line 179 of file VirtualJetProducer.h.
Referenced by inputTowers(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 171 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), cms::CATopJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 195 of file VirtualJetProducer.h.
Referenced by output(), and VirtualJetProducer().