#include <VirtualJetProducer.h>
Classes | |
struct | JetType |
Public Types | |
typedef boost::shared_ptr < fastjet::ActiveAreaSpec > | ActiveAreaSpecPtr |
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 | 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) |
Protected Attributes | |
bool | doAreaDiskApprox_ |
bool | doAreaFastjet_ |
bool | doFastJetNonUniform_ |
bool | doPUOffsetCorr_ |
bool | doPVCorrection_ |
bool | doRhoFastjet_ |
ActiveAreaSpecPtr | fjActiveArea_ |
ClusterSequencePtr | fjClusterSeq_ |
std::vector< fastjet::PseudoJet > | fjInputs_ |
JetDefPtr | fjJetDefinition_ |
std::vector< fastjet::PseudoJet > | fjJets_ |
PluginPtr | fjPlugin_ |
RangeDefPtr | fjRangeDef_ |
double | inputEMin_ |
double | inputEtMin_ |
std::vector< edm::Ptr < reco::Candidate > > | inputs_ |
std::string | jetAlgorithm_ |
std::string | jetCollInstanceName_ |
double | jetPtMin_ |
std::string | jetType_ |
JetType::Type | jetTypeE |
unsigned int | maxInputs_ |
unsigned int | minSeed_ |
std::string | moduleLabel_ |
unsigned int | nExclude_ |
std::vector< double > | puCenters_ |
std::string | puSubtractorName_ |
double | puWidth_ |
bool | restrictInputs_ |
double | rParam_ |
edm::InputTag | src_ |
edm::InputTag | srcPVs_ |
boost::shared_ptr < PileUpSubtractor > | subtractor_ |
bool | useDeterministicSeed_ |
reco::Particle::Point | vertex_ |
double | voronoiRfact_ |
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) |
Definition at line 29 of file VirtualJetProducer.h.
typedef boost::shared_ptr<fastjet::ActiveAreaSpec> VirtualJetProducer::ActiveAreaSpecPtr |
Definition at line 82 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 83 of file VirtualJetProducer.h.
|
explicit |
Definition at line 107 of file VirtualJetProducer.cc.
References anomalousTowerDef_, VirtualJetProducer::JetType::byName(), VirtualJetProducer::JetType::CaloJet, doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, edm::hlt::Exception, edm::ParameterSet::exists(), fjActiveArea_, 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_, and voronoiRfact_.
|
virtual |
Definition at line 254 of file VirtualJetProducer.cc.
|
protectedvirtual |
Definition at line 411 of file VirtualJetProducer.cc.
References reco::CompositePtrCandidate::addDaughter(), i, and inputs_.
|
protectedvirtual |
Definition at line 421 of file VirtualJetProducer.cc.
References i, getHLTprescales::index, inputs_, and query::result.
Referenced by FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), and writeJets().
|
protectedvirtual |
Reimplemented in cms::CompoundJetProducer, SubjetFilterJetProducer, and cms::SubEventGenJetProducer.
Definition at line 361 of file VirtualJetProducer.cc.
References doPVCorrection_, fjInputs_, edm::Ptr< T >::get(), i, collect_tpl::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 396 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 80 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 435 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, and VirtualJetProducer::JetType::TrackJet.
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Reimplemented in cms::CATopJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, cms::SubEventGenJetProducer, cms::SubJetProducer, and FastjetJetProducer.
Definition at line 264 of file VirtualJetProducer.cc.
References doPUOffsetCorr_, doPVCorrection_, edm::EventID::event(), fjClusterSeq_, fjInputs_, 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(), SubjetFilterJetProducer::produce(), and cms::CATopJetProducer::produce().
|
protectedpure virtual |
Implemented in cms::CATopJetProducer, SubjetFilterJetProducer, CMSInsideOutJetProducer, FastjetJetProducer, cms::SubEventGenJetProducer, and cms::SubJetProducer.
Referenced by produce().
|
protected |
Definition at line 466 of file VirtualJetProducer.cc.
References reco::deltaR(), doAreaDiskApprox_, doAreaFastjet_, doFastJetNonUniform_, doPUOffsetCorr_, doRhoFastjet_, eta(), fjClusterSeq_, fjJets_, fjRangeDef_, getConstituents(), reco::helper::VirtualJetProducerHelper::intersection(), metsig::jet, analyzePatCleaning_cfg::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 194 of file VirtualJetProducer.h.
Referenced by isAnomalousTower(), and VirtualJetProducer().
|
protected |
Definition at line 161 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 160 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 164 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 168 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 153 of file VirtualJetProducer.h.
Referenced by inputTowers(), and produce().
|
protected |
Definition at line 163 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 177 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 174 of file VirtualJetProducer.h.
Referenced by produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 179 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 175 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), and VirtualJetProducer().
|
protected |
Definition at line 180 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), FastjetJetProducer::runAlgorithm(), CMSInsideOutJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 176 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 178 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 151 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 150 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::inputTowers(), and inputTowers().
|
protected |
Definition at line 172 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 148 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 187 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and cms::CompoundJetProducer::writeCompoundJets().
|
protected |
Definition at line 152 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::runAlgorithm(), and FastjetJetProducer::runAlgorithm().
|
protected |
Definition at line 147 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 157 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 191 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 144 of file VirtualJetProducer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), SubjetFilterJetProducer::SubjetFilterJetProducer(), and VirtualJetProducer().
|
protected |
Definition at line 185 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 183 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 169 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer().
|
protected |
Definition at line 184 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 156 of file VirtualJetProducer.h.
Referenced by inputTowers(), and VirtualJetProducer().
|
protected |
Definition at line 149 of file VirtualJetProducer.h.
Referenced by VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 145 of file VirtualJetProducer.h.
Referenced by cms::SubEventGenJetProducer::produce(), produce(), and FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 146 of file VirtualJetProducer.h.
Referenced by produce(), and FastjetJetProducer::produceTrackJets().
|
protected |
Definition at line 188 of file VirtualJetProducer.h.
Referenced by produce(), VirtualJetProducer(), and writeJets().
|
protected |
Definition at line 190 of file VirtualJetProducer.h.
Referenced by produce(), and VirtualJetProducer().
|
protected |
Definition at line 173 of file VirtualJetProducer.h.
Referenced by inputTowers(), produce(), FastjetJetProducer::produceTrackJets(), cms::SubEventGenJetProducer::runAlgorithm(), and writeJets().
|
protected |
Definition at line 165 of file VirtualJetProducer.h.
Referenced by FastjetJetProducer::runAlgorithm(), and VirtualJetProducer().