Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664217
JetTool.cc
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
JetTool.cc
View Options
#include
"JetTool.hh"
namespace
SpartyJet
{
// void JetTool::configure_ysplitter(bool d,int t,int a,int r,int n,double cr) {
// ys_do = d;
// ys_type = t;
// ys_angle = a;
// ys_recom = r;
// ys_n = n;
// if(cr == -1)
// ys_coneRadius = getConeRadius();
// else
// ys_coneRadius = cr;
// }
// void JetTool::init_ysplitter(JetMomentMap *mmap) {
// if(mmap != NULL) {
// mmap = mmap;
// mmap->schedule_jet_moment_array("yvals");
// }
// }
// void JetTool::execute_ysplitter(JetCollection* inputJets) {
// JetMomentMap *mmap = inputJets->get_JetMomentMap();
// // retrieve position of moment in map
// int yvals_pos = 0;
// ys_tool = new YSplitterTool(ys_type,ys_angle,ys_recom,ys_n,ys_coneRadius);
// yvals_pos = mmap->get_jet_moment_arrayPos("yvals");
// JetCollection::iterator it = inputJets->begin();
// JetCollection::iterator itE = inputJets->end();
// Jet* ijet;
// for(; it != itE; it++) {
// ijet = *it;
// std::vector<float> yvals = ys_tool->getYvals(ijet);
// mmap->set_jet_moment_array(yvals_pos,ijet,yvals);
// }
// }
}
// namespace SpartyJet
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Apr 24, 6:33 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4851376
Default Alt Text
JetTool.cc (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment