#include <CATopJetProducer.h>
Public Member Functions | |
CATopJetProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~CATopJetProducer () override | |
Public Member Functions inherited from FastjetJetProducer | |
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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from FastjetJetProducer | |
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) |
Private Types | |
enum | tagalgos { CA_TOPTAGGER, FJ_CMS_TOPTAG, FJ_JHU_TOPTAG, FJ_NSUB_TAG } |
Private Attributes | |
double | centralEtaCut_ |
std::unique_ptr< fastjet::CMSTopTagger > | fjCMSTopTagger_ |
The algorithm to do the work. More... | |
std::unique_ptr< fastjet::JHTopTagger > | fjJHUTopTagger_ |
std::unique_ptr< fastjet::RestFrameNSubjettinessTagger > | fjNSUBTagger_ |
std::unique_ptr< CATopJetAlgorithm > | legacyCMSTopTagger_ |
double | ptMin_ |
int | tagAlgo_ |
bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from FastjetJetProducer | |
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::Selector > | SelectorPtr |
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 |
Protected Member Functions inherited from FastjetJetProducer | |
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 Attributes inherited from VirtualJetProducer | |
int | activeAreaRepeats_ |
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_ |
SelectorPtr | fjSelector_ |
bool | fromHTTTopJetProducer_ = false |
double | ghostArea_ |
double | ghostEtaMax_ |
edm::EDGetTokenT< reco::VertexCollection > | input_vertex_token_ |
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 | rhoEtaMax_ |
double | rParam_ |
edm::InputTag | src_ |
edm::InputTag | srcPVs_ |
boost::shared_ptr< PileUpSubtractor > | subtractor_ |
bool | useDeterministicSeed_ |
bool | useExplicitGhosts_ |
int | verbosity_ |
reco::Particle::Point | vertex_ |
double | voronoiRfact_ |
bool | writeCompound_ |
bool | writeJetsWithConst_ |
Definition at line 77 of file CATopJetProducer.h.
|
private |
Enumerator | |
---|---|
CA_TOPTAGGER | |
FJ_CMS_TOPTAG | |
FJ_JHU_TOPTAG | |
FJ_NSUB_TAG |
Definition at line 102 of file CATopJetProducer.h.
CATopJetProducer::CATopJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 11 of file CATopJetProducer.cc.
References CA_TOPTAGGER, FJ_CMS_TOPTAG, FJ_JHU_TOPTAG, FJ_NSUB_TAG, fjCMSTopTagger_, fjJHUTopTagger_, fjNSUBTagger_, edm::ParameterSet::getParameter(), legacyCMSTopTagger_, fwrapper::plugin, VirtualJetProducer::src_, and tagAlgo_.
|
inlineoverride |
Definition at line 83 of file CATopJetProducer.h.
References fillDescriptions(), iEvent, produce(), and runAlgorithm().
|
static |
Cambridge-Aachen top jet producer parameters
Definition at line 133 of file CATopJetProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), DEFINE_FWK_MODULE, funct::false, FastjetJetProducer::fillDescriptionsFromFastJetProducer(), and VirtualJetProducer::fillDescriptionsFromVirtualJetProducer().
Referenced by ~CATopJetProducer().
|
override |
Definition at line 77 of file CATopJetProducer.cc.
References FastjetJetProducer::produce().
Referenced by ~CATopJetProducer().
|
overridevirtual |
Implements VirtualJetProducer.
Definition at line 82 of file CATopJetProducer.cc.
References CA_TOPTAGGER, centralEtaCut_, gather_cfg::cout, VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, FJ_CMS_TOPTAG, FJ_JHU_TOPTAG, FJ_NSUB_TAG, VirtualJetProducer::fjAreaDefinition_, VirtualJetProducer::fjClusterSeq_, fjCMSTopTagger_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, fjJHUTopTagger_, fjNSUBTagger_, mps_fire::i, perp(), ptMin_, tagAlgo_, verbose_, and VirtualJetProducer::voronoiRfact_.
Referenced by ~CATopJetProducer().
|
private |
Definition at line 100 of file CATopJetProducer.h.
Referenced by runAlgorithm().
|
private |
The algorithm to do the work.
Definition at line 92 of file CATopJetProducer.h.
Referenced by CATopJetProducer(), and runAlgorithm().
|
private |
Definition at line 93 of file CATopJetProducer.h.
Referenced by CATopJetProducer(), and runAlgorithm().
|
private |
Definition at line 94 of file CATopJetProducer.h.
Referenced by CATopJetProducer(), and runAlgorithm().
|
private |
Definition at line 91 of file CATopJetProducer.h.
Referenced by CATopJetProducer().
|
private |
Definition at line 99 of file CATopJetProducer.h.
Referenced by runAlgorithm().
|
private |
Definition at line 98 of file CATopJetProducer.h.
Referenced by CATopJetProducer(), and runAlgorithm().
|
private |
Definition at line 101 of file CATopJetProducer.h.
Referenced by runAlgorithm().