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

Hist3D.hpp

Go to the documentation of this file.
00001 #ifndef CAFE_HIST3D_HPP__
00002 #define CAFE_HIST3D_HPP__
00003 
00004 #include <string>
00005 #include "cafe/Processor.hpp"
00006 
00007 class TFile;
00008 class TH3F;
00009 class TTreeFormula;
00010 class TTreeFormulaManager;
00011 
00012 
00013 namespace cafe {
00014 
00015     class Formula;
00016 
00037     class Hist3D : public Processor {
00038     public:
00039         Hist3D(const char *name);
00040         ~Hist3D();
00041         void begin();
00042         void inputFileOpened(TFile *file);
00043         bool processEvent(Event& event);
00044     private:
00045         std::string  _title;
00046         int          _num_binsX;
00047         double       _bin_minX, _bin_maxX;
00048         int          _num_binsY;
00049         double       _bin_minY, _bin_maxY;
00050         int          _num_binsZ;
00051         double       _bin_minZ, _bin_maxZ;
00052         TH3F         *_hist;
00053         Formula      *_select;
00054         Formula      *_draw1;
00055         Formula      *_draw2;
00056         Formula      *_draw3;
00057         TTreeFormulaManager *_mgr;
00058         std::string  _weight;
00059     public:
00060         ClassDef(Hist3D, 0);
00061     };
00062 
00063 }
00064 
00065 
00066 #endif // CAFE_HIST3D_HPP__

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