Page MenuHomeHEPForge

JetTool.hh
No OneTemporary

JetTool.hh

#ifndef _JETTOOL_HH_
#define _JETTOOL_HH_
#include "Jet.hh"
#include <list>
#include <string>
#include "CustomMessage.hh"
#include "JetMomentMap.hh"
#include "JetCollection.hh"
// JetTool is the base class from which
// all operations on jet_list must be perform
// Concrete class such as jet finder algo must be implemented
// in a derived class.
namespace SpartyJet {
class JetMomentMap;
class JetTool {
public :
JetTool(){};
virtual ~JetTool(){};
JetTool(std::string name) : m_name(name) { m_log.set_name(name);};
virtual void init(JetMomentMap *mmap=0) { };
virtual void execute(JetCollection &inputJets) {};
virtual void finalize() {};
// virtual void set_mmap(JetMomentMap *mmap){m_mmap =mmap;}
std::string name(){return m_name;}
virtual bool contains_area() {return false;}
virtual double getConeRadius() {return 0.0;}
// void configure_ysplitter(bool d,int t=1,int a=1,int r=1,int n=-1,double cr=-1);
// void init_ysplitter(JetMomentMap *mmap);
// void execute_ysplitter(JetCollection* inputJets);
protected:
//JetMomentMap *m_mmap;
std::string m_name;
Message m_log;
//ysplitter
// YSplitterTool* ys_tool;
// bool ys_do;
// int ys_type;
// int ys_angle;
// int ys_recom;
// int ys_n;
// double ys_coneRadius;
};
} // namespace SpartyJet
#endif

File Metadata

Mime Type
text/x-c++
Expires
Thu, Apr 24, 6:34 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4840129
Default Alt Text
JetTool.hh (1 KB)

Event Timeline