#include <HTTTopJetProducer.h>
Public Member Functions | |
virtual void | addHTTTopJetTagInfoCollection (edm::Event &iEvent, const edm::EventSetup &iSetup, edm::OrphanHandle< reco::BasicJetCollection > &oh) |
HTTTopJetProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual | ~HTTTopJetProducer () |
Public Member Functions inherited from FastjetJetProducer | |
FastjetJetProducer (const edm::ParameterSet &iConfig) | |
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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
int | filtN_ |
double | filtR_ |
std::auto_ptr< fastjet::HEPTopTaggerV2 > | fjHEPTopTagger_ |
double | massRatioWidth_ |
double | maxCandMass_ |
double | maxFatjetAbsEta_ |
double | maxM13Cut_ |
double | maxR_ |
double | minCandMass_ |
double | minCandPt_ |
double | minFatjetPt_ |
double | minM13Cut_ |
double | minM23Cut_ |
double | minR_ |
double | minSubjetPt_ |
int | mode_ |
double | muCut_ |
bool | optimalR_ |
bool | qJets_ |
bool | rejectMinR_ |
double | subjetMass_ |
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::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 |
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) |
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 inherited from FastjetJetProducer | |
virtual void | produceTrackJets (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) |
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_ |
RangeDefPtr | fjRangeDef_ |
bool | fromHTTTopJetProducer_ |
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_ |
Definition at line 77 of file HTTTopJetProducer.h.
HTTTopJetProducer::HTTTopJetProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 11 of file HTTTopJetProducer.cc.
References edm::ParameterSet::exists(), filtN_, filtR_, fjHEPTopTagger_, VirtualJetProducer::fromHTTTopJetProducer_, edm::ParameterSet::getParameter(), massRatioWidth_, maxCandMass_, maxFatjetAbsEta_, maxM13Cut_, maxR_, minCandMass_, minCandPt_, minFatjetPt_, minM13Cut_, minM23Cut_, minR_, minSubjetPt_, mode_, muCut_, optimalR_, qJets_, rejectMinR_, subjetMass_, and verbose_.
|
inlinevirtual |
Definition at line 83 of file HTTTopJetProducer.h.
References addHTTTopJetTagInfoCollection(), iEvent, produce(), and runAlgorithm().
|
virtual |
Reimplemented from VirtualJetProducer.
Definition at line 186 of file HTTTopJetProducer.cc.
References DEFINE_FWK_MODULE, reco::HTTTopJetProperties::fjEta, VirtualJetProducer::fjJets_, reco::HTTTopJetProperties::fjMass, reco::HTTTopJetProperties::fjPhi, reco::HTTTopJetProperties::fjPt, reco::HTTTopJetProperties::fRec, reco::HTTTopJetTagInfo::insert(), reco::HTTTopJetProperties::massRatioPassed, eostools::move(), reco::HTTTopJetProperties::prunedMass, reco::HTTTopJetProperties::ptForRoptCalc, edm::Event::put(), reco::HTTTopJetProperties::qEpsilon, reco::HTTTopJetProperties::qSigmaM, reco::HTTTopJetProperties::qWeight, reco::HTTTopJetProperties::ropt, reco::HTTTopJetProperties::roptCalc, alignCSCRings::s, combinedMVAV2BJetTags_cfi::tagInfos, reco::HTTTopJetProperties::tau1Filtered, reco::HTTTopJetProperties::tau1Unfiltered, reco::HTTTopJetProperties::tau2Filtered, reco::HTTTopJetProperties::tau2Unfiltered, reco::HTTTopJetProperties::tau3Filtered, reco::HTTTopJetProperties::tau3Unfiltered, reco::HTTTopJetProperties::topMass, and reco::HTTTopJetProperties::unfilteredMass.
Referenced by ~HTTTopJetProducer().
|
virtual |
Reimplemented from FastjetJetProducer.
Definition at line 131 of file HTTTopJetProducer.cc.
References fjHEPTopTagger_, edm::RandomNumberGenerator::getEngine(), FastjetJetProducer::produce(), qJets_, and edm::Event::streamID().
Referenced by ~HTTTopJetProducer().
|
virtual |
Reimplemented from FastjetJetProducer.
Definition at line 143 of file HTTTopJetProducer.cc.
References gather_cfg::cout, VirtualJetProducer::doAreaFastjet_, VirtualJetProducer::doRhoFastjet_, VirtualJetProducer::fjAreaDefinition_, VirtualJetProducer::fjClusterSeq_, fjHEPTopTagger_, VirtualJetProducer::fjInputs_, VirtualJetProducer::fjJetDefinition_, VirtualJetProducer::fjJets_, mps_fire::i, maxFatjetAbsEta_, minFatjetPt_, perp(), verbose_, and VirtualJetProducer::voronoiRfact_.
Referenced by ~HTTTopJetProducer().
|
private |
Definition at line 113 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 112 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 95 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer(), produce(), and runAlgorithm().
|
private |
Definition at line 128 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 126 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 107 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer(), and runAlgorithm().
|
private |
Definition at line 131 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 133 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 125 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 105 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 103 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer(), and runAlgorithm().
|
private |
Definition at line 130 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 129 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 134 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 104 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 122 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 110 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 100 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 101 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer(), and produce().
|
private |
Definition at line 136 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 109 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer().
|
private |
Definition at line 139 of file HTTTopJetProducer.h.
Referenced by HTTTopJetProducer(), and runAlgorithm().