|
typedef std::shared_ptr< DynamicRfilt > | DynamicRfiltPtr |
|
typedef fastjet::Transformer | transformer |
|
typedef std::vector< transformer_ptr > | transformer_coll |
|
typedef std::unique_ptr< transformer > | transformer_ptr |
|
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 |
|
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 |
|
virtual void | produceTrackJets (edm::Event &iEvent, const edm::EventSetup &iSetup) |
|
void | runAlgorithm (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
|
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...
|
|
int | activeAreaRepeats_ |
|
bool | applyWeight_ |
|
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_ |
|
edm::EDGetTokenT< edm::ValueMap< float > > | input_weights_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_ |
|
std::shared_ptr< PileUpSubtractor > | subtractor_ |
|
bool | useDeterministicSeed_ |
|
bool | useExplicitGhosts_ |
|
int | verbosity_ |
|
reco::Particle::Point | vertex_ |
|
double | voronoiRfact_ |
|
edm::ValueMap< float > | weights_ |
|
bool | writeCompound_ |
|
bool | writeJetsWithConst_ |
|
Definition at line 71 of file CATopJetProducer.h.
Definition at line 13 of file CATopJetProducer.cc.
15 tagAlgo_(conf.getParameter<
int>(
"tagAlgo")),
16 ptMin_(conf.getParameter<
double>(
"jetPtMin")),
18 verbose_(conf.getParameter<
bool>(
"verbose")) {
22 conf.getParameter<
bool>(
"verbose"),
23 conf.getParameter<
int>(
"algorithm"),
24 conf.getParameter<
int>(
"useAdjacency"),
29 conf.getParameter<
double>(
"centralEtaCut"),
30 conf.getParameter<
double>(
"jetPtMin"),
31 conf.getParameter<std::vector<double>>(
33 conf.getParameter<std::vector<double>>(
"rBins"),
34 conf.getParameter<std::vector<double>>(
"ptFracBins"),
35 conf.getParameter<std::vector<double>>(
37 conf.getParameter<std::vector<double>>(
39 conf.getParameter<
double>(
"inputEtMin"),
40 conf.getParameter<
bool>(
42 conf.getParameter<
double>(
"sumEtEtaCut"),
43 conf.getParameter<
double>(
"etFrac")
46 fjCMSTopTagger_ = std::make_unique<fastjet::CMSTopTagger>(conf.getParameter<
double>(
"ptFrac"),
47 conf.getParameter<
double>(
"rFrac"),
48 conf.getParameter<
double>(
"adjacencyParam"));
50 fjJHUTopTagger_ = std::make_unique<fastjet::JHTopTagger>(conf.getParameter<
double>(
"ptFrac"),
51 conf.getParameter<
double>(
"deltaRCut"),
52 conf.getParameter<
double>(
"cosThetaWMax"));
54 fastjet::JetDefinition::Plugin*
plugin =
new fastjet::SISConePlugin(0.6, 0.75);
55 fastjet::JetDefinition NsubJetDef(
plugin);
56 fjNSUBTagger_ = std::make_unique<fastjet::RestFrameNSubjettinessTagger>(NsubJetDef,
57 conf.getParameter<
double>(
"tau2Cut"),
58 conf.getParameter<
double>(
"cosThetaSCut"),
59 conf.getParameter<
bool>(
"useExclusive"));
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_.
Implements VirtualJetProducer.
Definition at line 65 of file CATopJetProducer.cc.
84 cout <<
"Getting central jets" << endl;
86 vector<fastjet::PseudoJet> centralJets;
87 for (
unsigned int i = 0;
i < inclusiveJets.size();
i++) {
89 centralJets.push_back(inclusiveJets[
i]);
95 fastjet::RestFrameNSubjettinessTagger& NSUBTagger = *
fjNSUBTagger_;
97 vector<fastjet::PseudoJet>::iterator jetIt = centralJets.begin(), centralJetsEnd = centralJets.end();
99 cout <<
"Loop over jets" << endl;
100 for (; jetIt != centralJetsEnd; ++jetIt) {
102 cout <<
"CMS FJ jet pt: " << (*jetIt).perp() << endl;
104 fastjet::PseudoJet taggedJet;
106 taggedJet = CMSTagger.result(*jetIt);
108 taggedJet = JHUTagger.result(*jetIt);
110 taggedJet = NSUBTagger.result(*jetIt);
112 cout <<
"NOT A VALID TAGGING ALGORITHM CHOICE!" << endl;
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_.