#include <FastjetJetProducer.h>
Public Types | |
typedef std::shared_ptr< DynamicRfilt > | DynamicRfiltPtr |
typedef fastjet::Transformer | transformer |
typedef std::vector< transformer_ptr > | transformer_coll |
typedef std::unique_ptr< transformer > | transformer_ptr |
Public Types inherited from VirtualJetProducer | |
typedef std::shared_ptr< fastjet::GhostedAreaSpec > | ActiveAreaSpecPtr |
typedef std::shared_ptr< fastjet::AreaDefinition > | AreaDefinitionPtr |
typedef std::shared_ptr< fastjet::ClusterSequence > | ClusterSequencePtr |
typedef std::shared_ptr< fastjet::JetDefinition > | JetDefPtr |
typedef std::shared_ptr< fastjet::JetDefinition::Plugin > | PluginPtr |
typedef std::shared_ptr< fastjet::Selector > | SelectorPtr |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Member Functions | |
FastjetJetProducer (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~FastjetJetProducer () override | |
Public Member Functions inherited from VirtualJetProducer | |
std::string | jetType () const |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
VirtualJetProducer (const edm::ParameterSet &iConfig) | |
~VirtualJetProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | fillDescriptionsFromFastJetProducer (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from VirtualJetProducer | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | fillDescriptionsFromVirtualJetProducer (edm::ParameterSetDescription &desc) |
Protected Member Functions | |
virtual void | produceTrackJets (edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
Protected Member Functions inherited from VirtualJetProducer | |
virtual void | addHTTTopJetTagInfoCollection (edm::Event &iEvent, const edm::EventSetup &iSetup, edm::OrphanHandle< reco::BasicJetCollection > &oh) |
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) |
template<typename T > | |
void | writeJetsWithConstituents (edm::Event &iEvent, edm::EventSetup const &iSetup) |
function template to write out the outputs More... | |
Private Attributes | |
double | beta_ |
for constituent subtraction : R parameter for KT alg in jet median background estimator More... | |
bool | correctShape_ |
Soft drop. More... | |
double | csRho_EtaMax_ |
for pruning: constituent dR * pt/2m < rcut_factor More... | |
double | csRParam_ |
for constituent subtraction : maximum rapidity for ghosts More... | |
double | dRMax_ |
for CMSBoostedTauSeedingAlgorithm : min dR More... | |
double | dRMin_ |
for CMSBoostedTauSeedingAlgorithm : max asymmetry More... | |
float | dxyTrVtxMax_ |
float | dzTrVtxMax_ |
double | gridMaxRapidity_ |
for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases) More... | |
double | gridSpacing_ |
for shape subtraction, get the fixed-grid rho More... | |
edm::EDGetTokenT< edm::View< reco::RecoChargedRefCandidate > > | input_chrefcand_token_ |
for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence More... | |
int | maxDepth_ |
for CMSBoostedTauSeedingAlgorithm : max dR More... | |
float | maxVtxZ_ |
int | minVtxNdof_ |
double | muCut_ |
Correct the shape of the jets. More... | |
double | muMax_ |
for CMSBoostedTauSeedingAlgorithm : min mass-drop More... | |
double | muMin_ |
for CMSBoostedTauSeedingAlgorithm : subjet pt min More... | |
int | nFilt_ |
for dynamic filtering radius (as in arXiv:0802.2470) More... | |
double | R0_ |
for soft drop : beta (angular exponent) More... | |
double | RcutFactor_ |
for pruning OR soft drop: 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... | |
DynamicRfiltPtr | rFiltDynamic_ |
for filtering, trimming: dR scale of sub-clustering More... | |
double | rFiltFactor_ |
for dynamic filtering radius (as in arXiv:0802.2470) More... | |
double | subjetPtMin_ |
for shape subtraction, get the grid spacing More... | |
double | trimPtFracMin_ |
for filtering, pruning: number of subjets expected More... | |
bool | useCMSBoostedTauSeedingAlgorithm_ |
Jet pruning technique. More... | |
bool | useConstituentSubtraction_ |
Use Kt clustering algorithm for pruning (default is Cambridge/Aachen) More... | |
bool | useDynamicFiltering_ |
Jet filtering technique. More... | |
bool | useFiltering_ |
Mass-drop tagging for boosted Higgs. More... | |
bool | useKtPruning_ |
algorithm for seeding reconstruction of boosted Taus (similar to mass-drop tagging) More... | |
bool | useMassDropTagger_ |
bool | useOnlyOnePV_ |
bool | useOnlyVertexTracks_ |
bool | usePruning_ |
Jet trimming technique. More... | |
bool | useSoftDrop_ |
constituent subtraction technique More... | |
bool | useTrimming_ |
Use dynamic filtering radius (as in arXiv:0802.2470) More... | |
double | yCut_ |
for mass-drop tagging, m0/mjet (m0 = mass of highest mass subjet) More... | |
double | yMax_ |
for CMSBoostedTauSeedingAlgorithm : min asymmetry More... | |
double | yMin_ |
for CMSBoostedTauSeedingAlgorithm : max mass-drop More... | |
double | zCut_ |
for trimming: constituent minimum pt fraction of full jet More... | |
Definition at line 41 of file FastjetJetProducer.h.
typedef std::shared_ptr<DynamicRfilt> FastjetJetProducer::DynamicRfiltPtr |
Definition at line 58 of file FastjetJetProducer.h.
typedef fastjet::Transformer FastjetJetProducer::transformer |
Definition at line 44 of file FastjetJetProducer.h.
typedef std::vector<transformer_ptr> FastjetJetProducer::transformer_coll |
Definition at line 46 of file FastjetJetProducer.h.
typedef std::unique_ptr<transformer> FastjetJetProducer::transformer_ptr |
Definition at line 45 of file FastjetJetProducer.h.
|
explicit |
Definition at line 60 of file FastjetJetProducer.cc.
References beta_, correctShape_, csRho_EtaMax_, csRParam_, dRMax_, dRMin_, dxyTrVtxMax_, dzTrVtxMax_, Exception, VirtualJetProducer::fjAreaDefinition_, edm::ParameterSet::getParameter(), gridMaxRapidity_, gridSpacing_, input_chrefcand_token_, maxDepth_, maxVtxZ_, minVtxNdof_, muCut_, muMax_, muMin_, nFilt_, R0_, RcutFactor_, rFilt_, rFiltDynamic_, rFiltFactor_, subjetPtMin_, trimPtFracMin_, useCMSBoostedTauSeedingAlgorithm_, useConstituentSubtraction_, useDynamicFiltering_, VirtualJetProducer::useExplicitGhosts_, useFiltering_, useKtPruning_, useMassDropTagger_, useOnlyOnePV_, useOnlyVertexTracks_, usePruning_, useSoftDrop_, useTrimming_, yCut_, yMax_, yMin_, and zCut_.
|
override |
Definition at line 169 of file FastjetJetProducer.cc.
|
static |
Definition at line 465 of file FastjetJetProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), fillDescriptionsFromFastJetProducer(), and VirtualJetProducer::fillDescriptionsFromVirtualJetProducer().
|
static |
Definition at line 479 of file FastjetJetProducer.cc.
References submitPVResolutionJobs::desc.
Referenced by fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), and cms::HTTTopJetProducer::fillDescriptions().
|
override |
Definition at line 175 of file FastjetJetProducer.cc.
References VirtualJetProducer::fjClusterSeq_, iEvent, VirtualJetProducer::jetTypeE, VirtualJetProducer::makeTrackJet(), VirtualJetProducer::produce(), and produceTrackJets().
Referenced by cms::CATopJetProducer::produce(), and cms::HTTTopJetProducer::produce().
|
protectedvirtual |
Definition at line 193 of file FastjetJetProducer.cc.
References PVValHelper::dxy, dxyTrVtxMax_, PVValHelper::dz, dzTrVtxMax_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, newFWLiteAna::found, VirtualJetProducer::getConstituents(), mps_fire::i, iEvent, input_chrefcand_token_, VirtualJetProducer::input_vertex_token_, VirtualJetProducer::inputs_, VirtualJetProducer::inputTowers(), metsig::jet, singleTopDQM_cfi::jets, LogDebug, maxVtxZ_, minVtxNdof_, eostools::move(), anotherprimaryvertexanalyzer_cfi::pvCollection, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, runAlgorithm(), edm::swap(), useOnlyOnePV_, useOnlyVertexTracks_, trackerHitRTTI::vector, VirtualJetProducer::vertex_, and reco::writeSpecific().
Referenced by produce().
|
overrideprotectedvirtual |
Implements VirtualJetProducer.
Reimplemented in cms::HTTTopJetProducer.
Definition at line 335 of file FastjetJetProducer.cc.
References beta_, correctShape_, csRho_EtaMax_, csRParam_, VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, dRMax_, dRMin_, ALCARECOTkAlBeamHalo_cff::filter, VirtualJetProducer::fjAreaDefinition_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, gridMaxRapidity_, gridSpacing_, VirtualJetProducer::jetPtMin_, maxDepth_, muCut_, muMax_, muMin_, nFilt_, TriggerAnalyzer::passed, R0_, RcutFactor_, rFilt_, rFiltDynamic_, sd, ALCARECOPromptCalibProdSiPixelAli0T_cff::Selector, subjetPtMin_, trimPtFracMin_, useCMSBoostedTauSeedingAlgorithm_, useConstituentSubtraction_, useDynamicFiltering_, useFiltering_, useKtPruning_, useMassDropTagger_, usePruning_, useSoftDrop_, useTrimming_, VirtualJetProducer::verbosity_, VirtualJetProducer::voronoiRfact_, yCut_, yMax_, yMin_, and zCut_.
Referenced by produceTrackJets().
|
private |
for constituent subtraction : R parameter for KT alg in jet median background estimator
Definition at line 99 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Soft drop.
Definition at line 87 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for pruning: constituent dR * pt/2m < rcut_factor
Definition at line 97 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for constituent subtraction : maximum rapidity for ghosts
Definition at line 98 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : min dR
Definition at line 110 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max asymmetry
Definition at line 109 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 73 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 72 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
for soft drop : R0 (angular distance normalization - should be set to jet radius in most cases)
Definition at line 101 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for shape subtraction, get the fixed-grid rho
Definition at line 102 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence
Definition at line 114 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
for CMSBoostedTauSeedingAlgorithm : max dR
Definition at line 111 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 75 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 74 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Correct the shape of the jets.
Definition at line 88 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : min mass-drop
Definition at line 106 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : subjet pt min
Definition at line 105 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for dynamic filtering radius (as in arXiv:0802.2470)
Definition at line 93 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for soft drop : beta (angular exponent)
Definition at line 100 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for pruning OR soft drop: constituent minimum pt fraction of parent cluster
Definition at line 96 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 90 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for filtering, trimming: dR scale of sub-clustering
Definition at line 91 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for dynamic filtering radius (as in arXiv:0802.2470)
Definition at line 92 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer().
|
private |
for shape subtraction, get the grid spacing
Definition at line 104 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for filtering, pruning: number of subjets expected
Definition at line 94 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Jet pruning technique.
Definition at line 83 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Use Kt clustering algorithm for pruning (default is Cambridge/Aachen)
Definition at line 85 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Jet filtering technique.
Definition at line 80 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Mass-drop tagging for boosted Higgs.
Definition at line 79 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
algorithm for seeding reconstruction of boosted Taus (similar to mass-drop tagging)
Definition at line 84 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 78 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 71 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 70 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Jet trimming technique.
Definition at line 82 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
constituent subtraction technique
Definition at line 86 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Use dynamic filtering radius (as in arXiv:0802.2470)
Definition at line 81 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 89 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : min asymmetry
Definition at line 108 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max mass-drop
Definition at line 107 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for trimming: constituent minimum pt fraction of full jet
Definition at line 95 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().