#include <FastjetJetProducer.h>
Public Types | |
typedef boost::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 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::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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... | |
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 | |
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 boost::shared_ptr<DynamicRfilt> FastjetJetProducer::DynamicRfiltPtr |
Definition at line 60 of file FastjetJetProducer.h.
typedef fastjet::Transformer FastjetJetProducer::transformer |
Definition at line 46 of file FastjetJetProducer.h.
typedef std::vector<transformer_ptr> FastjetJetProducer::transformer_coll |
Definition at line 48 of file FastjetJetProducer.h.
typedef std::unique_ptr<transformer> FastjetJetProducer::transformer_ptr |
Definition at line 47 of file FastjetJetProducer.h.
|
explicit |
Definition at line 62 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_, nullptr, 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 170 of file FastjetJetProducer.cc.
|
static |
Definition at line 459 of file FastjetJetProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), fillDescriptionsFromFastJetProducer(), and VirtualJetProducer::fillDescriptionsFromVirtualJetProducer().
|
static |
Definition at line 475 of file FastjetJetProducer.cc.
References edm::ParameterSetDescription::add(), and DEFINE_FWK_MODULE.
Referenced by fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), and cms::HTTTopJetProducer::fillDescriptions().
|
override |
Definition at line 179 of file FastjetJetProducer.cc.
References VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::jetTypeE, VirtualJetProducer::makeTrackJet(), VirtualJetProducer::produce(), and produceTrackJets().
Referenced by cms::CATopJetProducer::produce(), and cms::HTTTopJetProducer::produce().
|
protectedvirtual |
Definition at line 202 of file FastjetJetProducer.cc.
References PVValHelper::dxy, dxyTrVtxMax_, PVValHelper::dz, dzTrVtxMax_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, runEdmFileComparison::found, edm::Event::getByToken(), VirtualJetProducer::getConstituents(), mps_fire::i, input_chrefcand_token_, VirtualJetProducer::input_vertex_token_, VirtualJetProducer::inputs_, VirtualJetProducer::inputTowers(), metsig::jet, fwrapper::jets, LogDebug, maxVtxZ_, minVtxNdof_, eostools::move(), edm::Event::put(), anotherprimaryvertexanalyzer_cfi::pvCollection, runAlgorithm(), reco::Jet::setJetArea(), reco::Jet::setPileup(), reco::TrackJet::setPrimaryVertex(), reco::LeafCandidate::setVertex(), edm::swap(), useOnlyOnePV_, useOnlyVertexTracks_, VirtualJetProducer::vertex_, and reco::writeSpecific().
Referenced by produce().
|
overrideprotectedvirtual |
Implements VirtualJetProducer.
Reimplemented in cms::HTTTopJetProducer.
Definition at line 333 of file FastjetJetProducer.cc.
References beta_, correctShape_, csRho_EtaMax_, csRParam_, VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, dRMax_, dRMin_, ALCARECOTkAlBeamHalo_cff::filter, hiDetachedQuadStep_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 103 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Soft drop.
Definition at line 91 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for pruning: constituent dR * pt/2m < rcut_factor
Definition at line 101 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for constituent subtraction : maximum rapidity for ghosts
Definition at line 102 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : min dR
Definition at line 115 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max asymmetry
Definition at line 114 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 77 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 76 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 105 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for shape subtraction, get the fixed-grid rho
Definition at line 106 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max depth for descending into clustering sequence
Definition at line 120 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
for CMSBoostedTauSeedingAlgorithm : max dR
Definition at line 116 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 79 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Definition at line 78 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
Correct the shape of the jets.
Definition at line 92 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : min mass-drop
Definition at line 111 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : subjet pt min
Definition at line 110 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for dynamic filtering radius (as in arXiv:0802.2470)
Definition at line 97 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for soft drop : beta (angular exponent)
Definition at line 104 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 100 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 94 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for filtering, trimming: dR scale of sub-clustering
Definition at line 95 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for dynamic filtering radius (as in arXiv:0802.2470)
Definition at line 96 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer().
|
private |
for shape subtraction, get the grid spacing
Definition at line 109 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for filtering, pruning: number of subjets expected
Definition at line 98 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Jet pruning technique.
Definition at line 87 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Use Kt clustering algorithm for pruning (default is Cambridge/Aachen)
Definition at line 89 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Jet filtering technique.
Definition at line 84 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Mass-drop tagging for boosted Higgs.
Definition at line 83 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 88 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Definition at line 82 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 |
Jet trimming technique.
Definition at line 86 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
constituent subtraction technique
Definition at line 90 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
Use dynamic filtering radius (as in arXiv:0802.2470)
Definition at line 85 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 93 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : min asymmetry
Definition at line 113 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max mass-drop
Definition at line 112 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for trimming: constituent minimum pt fraction of full jet
Definition at line 99 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().