Page MenuHomeHEPForge

UserJetFinder.cc
No OneTemporary

UserJetFinder.cc

#include "UserJetFinder.hh"
#include "JetCore/CommonUtils.hh"
namespace userjet {
void UserJetFinder::init(JetMomentMap *mmap) {
// If you want to add specific moments for this algorithms,
// declare them here.
// Otherwise, just ignore.
}
void UserJetFinder::execute(Jet::jet_list_t &inputJets){
// here you place whatever code to do jet finding from
// inputJets.
// The easiest is probably to fill a fresh list of jets :
Jet::jet_list_t tmp_list;
// ... Fill ... tmp_list
// then clear inputJets :
clear_list(inputJets);
// and refill it with new jets so rest of spartyjet tools can
// process it
inputJets = tmp_list; // recopy
}
}

File Metadata

Mime Type
text/x-c
Expires
Thu, Apr 24, 6:36 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4832600
Default Alt Text
UserJetFinder.cc (710 B)

Event Timeline