Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Formula.hpp

Go to the documentation of this file.
00001 #ifndef CAFE_FORMULA_HPP__
00002 #define CAFE_FORMULA_HPP__
00003 
00004 #include "TObject.h"
00005 #include <string>
00006 
00007 class TFile;
00008 class TTreeFormula;
00009 
00010 namespace cafe {
00011 
00012     class Processor;
00013 
00028     class Formula {
00029     public:
00030         Formula(cafe::Processor *owner);
00031         virtual ~Formula();
00032     public:
00033         void inputFileOpened(TFile *file);
00034 
00035         void          setFormula(const std::string& formula);
00036         TTreeFormula *getFormula();
00037 
00038     private:
00039         std::string      _expr;
00040         cafe::Processor *_owner;
00041         TTreeFormula    *_formula;
00042     public:
00043         ClassDef(Formula, 0);
00044     };
00045 
00046 }
00047 
00048 #endif // CAFE_FORMULA_HPP__

Generated on Tue Mar 28 10:13:04 2006 for CAF by doxygen 1.3.4