12 tagAlgo_(conf.getParameter<
int>(
"tagAlgo")),
13 ptMin_(conf.getParameter<double>(
"jetPtMin")),
14 centralEtaCut_(conf.getParameter<double>(
"centralEtaCut")),
15 verbose_(conf.getParameter<bool>(
"verbose"))
44 new fastjet::CMSTopTagger(conf.
getParameter<
double> (
"ptFrac"),
51 new fastjet::JHTopTagger(conf.
getParameter<
double>(
"ptFrac"),
59 fastjet::JetDefinition::Plugin *
plugin =
new fastjet::SISConePlugin(0.6, 0.75);
60 fastjet::JetDefinition NsubJetDef(plugin);
61 fjNSUBTagger_ = std::auto_ptr<fastjet::RestFrameNSubjettinessTagger>(
62 new fastjet::RestFrameNSubjettinessTagger(NsubJetDef,
102 vector<fastjet::PseudoJet> centralJets;
103 for (
unsigned int i = 0;
i < inclusiveJets.size();
i++) {
106 centralJets.push_back(inclusiveJets[
i]);
112 fastjet::RestFrameNSubjettinessTagger & NSUBTagger = *
fjNSUBTagger_;
115 vector<fastjet::PseudoJet>::iterator jetIt = centralJets.begin(), centralJetsEnd = centralJets.end();
117 for ( ; jetIt != centralJetsEnd; ++jetIt ) {
119 if (
verbose_)
cout <<
"CMS FJ jet pt: " << (*jetIt).perp() << endl;
121 fastjet::PseudoJet taggedJet;
125 else cout <<
"NOT A VALID TAGGING ALGORITHM CHOICE!" << endl;
127 if (taggedJet != 0)
fjJets_.push_back(taggedJet);
T getParameter(std::string const &) const
std::auto_ptr< CATopJetAlgorithm > legacyCMSTopTagger_
auto_ptr< JetDefinition::Plugin > plugin
std::vector< fastjet::PseudoJet > fjJets_
#define DEFINE_FWK_MODULE(type)
std::auto_ptr< fastjet::CMSTopTagger > fjCMSTopTagger_
The algorithm to do the work.
std::auto_ptr< fastjet::JHTopTagger > fjJHUTopTagger_
std::vector< fastjet::PseudoJet > fjInputs_
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
ClusterSequencePtr fjClusterSeq_
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
virtual void runAlgorithm(edm::Event &iEvent, const edm::EventSetup &iSetup)
T perp() const
Magnitude of transverse component.
std::auto_ptr< fastjet::RestFrameNSubjettinessTagger > fjNSUBTagger_
AreaDefinitionPtr fjAreaDefinition_
boost::shared_ptr< fastjet::ClusterSequence > ClusterSequencePtr
JetDefPtr fjJetDefinition_