#include <FastjetJetProducer.h>
Public Member Functions | |
FastjetJetProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual | ~FastjetJetProducer () |
Public Member Functions inherited from VirtualJetProducer | |
std::string | jetType () const |
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 &) |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
virtual void | produceTrackJets (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) |
Protected Member Functions inherited from VirtualJetProducer | |
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) |
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 | |
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 | |
float | dxyTrVtxMax_ |
float | dzTrVtxMax_ |
float | maxVtxZ_ |
int | minVtxNdof_ |
double | muCut_ |
Jet pruning technique. More... | |
int | nFilt_ |
for filtering, trimming: dR scale of sub-clustering More... | |
double | RcutFactor_ |
for pruning: constituent minimum pt fraction of parent cluster More... | |
double | rFilt_ |
for mass-drop tagging, symmetry cut: min(pt1^2,pt2^2) * dR(1,2) / mjet > ycut More... | |
double | trimPtFracMin_ |
for filtering, pruning: number of subjets expected More... | |
bool | useFiltering_ |
Mass-drop tagging for boosted Higgs. More... | |
bool | useMassDropTagger_ |
bool | useOnlyOnePV_ |
bool | useOnlyVertexTracks_ |
bool | usePruning_ |
Jet trimming technique. More... | |
bool | useTrimming_ |
Jet filtering technique. More... | |
double | yCut_ |
for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet) More... | |
double | zCut_ |
for trimming: constituent minimum pt fraction of full jet More... | |
Additional Inherited Members | |
Public Types inherited from VirtualJetProducer | |
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 |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from VirtualJetProducer | |
bool | doAreaDiskApprox_ |
bool | doAreaFastjet_ |
bool | doFastJetNonUniform_ |
bool | doPUOffsetCorr_ |
bool | doPVCorrection_ |
bool | doRhoFastjet_ |
ActiveAreaSpecPtr | fjActiveArea_ |
AreaDefinitionPtr | fjAreaDefinition_ |
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_ |
bool | useExplicitGhosts_ |
reco::Particle::Point | vertex_ |
double | voronoiRfact_ |
bool | writeCompound_ |
Definition at line 8 of file FastjetJetProducer.h.
|
explicit |
Definition at line 58 of file FastjetJetProducer.cc.
References dxyTrVtxMax_, dzTrVtxMax_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), maxVtxZ_, minVtxNdof_, muCut_, nFilt_, RcutFactor_, rFilt_, trimPtFracMin_, VirtualJetProducer::useExplicitGhosts_, useFiltering_, useMassDropTagger_, useOnlyOnePV_, useOnlyVertexTracks_, usePruning_, useTrimming_, yCut_, and zCut_.
|
virtual |
Definition at line 150 of file FastjetJetProducer.cc.
|
virtual |
Reimplemented from VirtualJetProducer.
Reimplemented in cms::CATopJetProducer.
Definition at line 159 of file FastjetJetProducer.cc.
References VirtualJetProducer::jetTypeE, VirtualJetProducer::makeTrackJet(), VirtualJetProducer::produce(), and produceTrackJets().
Referenced by cms::CATopJetProducer::produce().
|
protectedvirtual |
Definition at line 177 of file FastjetJetProducer.cc.
References dxyTrVtxMax_, dzTrVtxMax_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, newFWLiteAna::found, edm::Event::getByLabel(), VirtualJetProducer::getConstituents(), i, VirtualJetProducer::inputs_, VirtualJetProducer::inputTowers(), metsig::jet, fwrapper::jets, LogDebug, maxVtxZ_, minVtxNdof_, edm::Event::put(), runAlgorithm(), reco::Jet::setJetArea(), reco::Jet::setPileup(), reco::TrackJet::setPrimaryVertex(), reco::LeafCandidate::setVertex(), VirtualJetProducer::src_, VirtualJetProducer::srcPVs_, useOnlyOnePV_, useOnlyVertexTracks_, VirtualJetProducer::vertex_, and reco::writeSpecific().
Referenced by produce().
|
protectedvirtual |
Implements VirtualJetProducer.
Reimplemented in cms::CATopJetProducer.
Definition at line 301 of file FastjetJetProducer.cc.
References VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, Filter_cff::Filter, alcazmumu_cfi::filter, VirtualJetProducer::fjAreaDefinition_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, VirtualJetProducer::jetPtMin_, muCut_, nFilt_, RcutFactor_, rFilt_, trimPtFracMin_, useFiltering_, useMassDropTagger_, usePruning_, useTrimming_, VirtualJetProducer::voronoiRfact_, yCut_, and zCut_.
Referenced by produceTrackJets().
|
private |
Definition at line 36 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 35 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 38 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 37 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Jet pruning technique.
Definition at line 45 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for filtering, trimming: dR scale of sub-clustering
Definition at line 48 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for pruning: constituent minimum pt fraction of parent cluster
Definition at line 51 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for mass-drop tagging, symmetry cut: min(pt1^2,pt2^2) * dR(1,2) / mjet > ycut
Definition at line 47 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for filtering, pruning: number of subjets expected
Definition at line 49 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Mass-drop tagging for boosted Higgs.
Definition at line 42 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 41 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 34 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 33 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Jet trimming technique.
Definition at line 44 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Jet filtering technique.
Definition at line 43 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet)
Definition at line 46 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for trimming: constituent minimum pt fraction of full jet
Definition at line 50 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().