#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 |
typedef WorkerT< EDProducer > | WorkerType |
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) |
VirtualJetProducer (const edm::ParameterSet &iConfig) | |
virtual | ~VirtualJetProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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::byName(), 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_, subtractor_, useDeterministicSeed_, useExplicitGhosts_, voronoiRfact_, and writeCompound_.
|
virtual |
Definition at line 281 of file VirtualJetProducer.cc.
|
protectedvirtual |
Definition at line 444 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), i, getHLTprescales::index, and inputs_.
|
protectedvirtual |
Definition at line 457 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 387 of file VirtualJetProducer.cc.
References doPVCorrection_, fjInputs_, edm::Ptr< T >::get(), i, LaserDQM_cfg::input, inputEMin_, inputEtMin_, inputs_, isAnomalousTower(), edm::detail::isnan(), 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 429 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 |
|
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 473 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 291 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(), 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 659 of file VirtualJetProducer.cc.
References doAreaFastjet_, fjJets_, getConstituents(), errorMatrix2Lands::indices, metsig::jet, jetCollInstanceName_, point, edm::Event::put(), reco::Jet::setJetArea(), and reco::writeSpecific().
|
protected |
Definition at line 526 of file VirtualJetProducer.cc.
References reco::deltaR(), doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, eta(), fjClusterSeq_, fjJets_, fjRangeDef_, getConstituents(), reco::helper::VirtualJetProducerHelper::intersection(), edm::detail::isnan(), metsig::jet, jetCollInstanceName_, fwrapper::jets, M_PI, nExclude_, puCenters_, edm::Event::put(), puWidth_, dt_dqm_sourceclient_common_cff::reco, rho, fastjet::BackgroundEstimator::rho(), rParam_, fastjet::BackgroundEstimator::set_excluded_jets(), fastjet::BackgroundEstimator::sigma(), subtractor_, vertex_, and reco::writeSpecific().
|
private |
Definition at line 202 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(), and VirtualJetProducer().
|
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::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 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().