#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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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::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 39 of file FastjetJetProducer.h.
typedef boost::shared_ptr<DynamicRfilt> FastjetJetProducer::DynamicRfiltPtr |
Definition at line 56 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 |
Can't use these together
Definition at line 59 of file FastjetJetProducer.cc.
References beta_, correctShape_, csRho_EtaMax_, csRParam_, dRMax_, dRMin_, dxyTrVtxMax_, dzTrVtxMax_, Exception, edm::ParameterSet::exists(), VirtualJetProducer::fjAreaDefinition_, edm::ParameterSet::getParameter(), gridMaxRapidity_, gridSpacing_, input_chrefcand_token_, maxDepth_, maxVtxZ_, minVtxNdof_, muCut_, muMax_, muMin_, nFilt_, R0_, RcutFactor_, rFilt_, rFiltDynamic_, rFiltFactor_, VirtualJetProducer::src_, subjetPtMin_, trimPtFracMin_, useCMSBoostedTauSeedingAlgorithm_, useConstituentSubtraction_, useDynamicFiltering_, VirtualJetProducer::useExplicitGhosts_, useFiltering_, useKtPruning_, useMassDropTagger_, useOnlyOnePV_, useOnlyVertexTracks_, usePruning_, useSoftDrop_, useTrimming_, yCut_, yMax_, yMin_, and zCut_.
|
virtual |
Definition at line 235 of file FastjetJetProducer.cc.
|
virtual |
Reimplemented from VirtualJetProducer.
Reimplemented in cms::CATopJetProducer.
Definition at line 244 of file FastjetJetProducer.cc.
References VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::jetTypeE, VirtualJetProducer::makeTrackJet(), VirtualJetProducer::produce(), and produceTrackJets().
Referenced by cms::CATopJetProducer::produce().
|
protectedvirtual |
Definition at line 267 of file FastjetJetProducer.cc.
References dxyTrVtxMax_, dzTrVtxMax_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJets_, newFWLiteAna::found, edm::Event::getByToken(), VirtualJetProducer::getConstituents(), i, input_chrefcand_token_, VirtualJetProducer::input_vertex_token_, 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(), swap(), useOnlyOnePV_, useOnlyVertexTracks_, VirtualJetProducer::vertex_, and reco::writeSpecific().
Referenced by produce().
|
protectedvirtual |
Implements VirtualJetProducer.
Reimplemented in cms::CATopJetProducer.
Definition at line 398 of file FastjetJetProducer.cc.
References beta_, correctShape_, csRho_EtaMax_, csRParam_, VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, dRMax_, dRMin_, Filter_cff::Filter, alcazmumu_cfi::filter, VirtualJetProducer::fjAreaDefinition_, VirtualJetProducer::fjClusterSeq_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, gridMaxRapidity_, gridSpacing_, VirtualJetProducer::jetPtMin_, maxDepth_, muCut_, muMax_, muMin_, nFilt_, R0_, RcutFactor_, rFilt_, rFiltDynamic_, sd, 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 111 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max asymmetry
Definition at line 110 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 116 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and produceTrackJets().
|
private |
for CMSBoostedTauSeedingAlgorithm : max dR
Definition at line 112 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 107 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : subjet pt min
Definition at line 106 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 105 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 109 of file FastjetJetProducer.h.
Referenced by FastjetJetProducer(), and runAlgorithm().
|
private |
for CMSBoostedTauSeedingAlgorithm : max mass-drop
Definition at line 108 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().