|
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 |
|
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 |
|
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")
47 std::unique_ptr<fastjet::CMSTopTagger>(
new fastjet::CMSTopTagger(conf.getParameter<
double>(
"ptFrac"),
48 conf.getParameter<
double>(
"rFrac"),
49 conf.getParameter<
double>(
"adjacencyParam")));
52 std::unique_ptr<fastjet::JHTopTagger>(
new fastjet::JHTopTagger(conf.getParameter<
double>(
"ptFrac"),
53 conf.getParameter<
double>(
"deltaRCut"),
54 conf.getParameter<
double>(
"cosThetaWMax")));
56 fastjet::JetDefinition::Plugin*
plugin =
new fastjet::SISConePlugin(0.6, 0.75);
57 fastjet::JetDefinition NsubJetDef(
plugin);
58 fjNSUBTagger_ = std::unique_ptr<fastjet::RestFrameNSubjettinessTagger>(
59 new fastjet::RestFrameNSubjettinessTagger(NsubJetDef,
60 conf.getParameter<
double>(
"tau2Cut"),
61 conf.getParameter<
double>(
"cosThetaSCut"),
62 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 68 of file CATopJetProducer.cc.
87 cout <<
"Getting central jets" << endl;
89 vector<fastjet::PseudoJet> centralJets;
90 for (
unsigned int i = 0;
i < inclusiveJets.size();
i++) {
92 centralJets.push_back(inclusiveJets[
i]);
98 fastjet::RestFrameNSubjettinessTagger& NSUBTagger = *
fjNSUBTagger_;
100 vector<fastjet::PseudoJet>::iterator jetIt = centralJets.begin(), centralJetsEnd = centralJets.end();
102 cout <<
"Loop over jets" << endl;
103 for (; jetIt != centralJetsEnd; ++jetIt) {
105 cout <<
"CMS FJ jet pt: " << (*jetIt).perp() << endl;
107 fastjet::PseudoJet taggedJet;
109 taggedJet = CMSTagger.result(*jetIt);
111 taggedJet = JHUTagger.result(*jetIt);
113 taggedJet = NSUBTagger.result(*jetIt);
115 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_.