// @(#)root/html:$Name: $:$Id: THtml.cxx,v 1.124 2006/11/24 16:01:02 $ // Author: Mathieu Benoit ////////////////////////////////////////////////////////////////////////// // Source file : class CTDR_Tree // // Abstract class for class field and detector // ////////////////////////////////////////////////////////////////////////// #ifndef CTDR_TREE_H_DEF #define CTDR_TREE_H_DEF #include "TTree.h" #include "TFile.h" #include "TClass.h" class CTDR_Tree: public TObject{ protected: int NDivx; // number of slices in x int NDivy; // number of slices in y int NDivz; // number of slices in z double Lx; // Size in X double Ly; // Size in Y double Lz; // Size in Z double lowx; // Lowest x point of a cube double lowy; // Lowest y point of a cube double lowz; // Lowest z point of a cube double highx; // Highest x point of a cube double highy; // Highest y point of a cube double highz; // Highest z point of a cube public: CTDR_Tree(); CTDR_Tree(int NdivX,int NdivY, int NdivZ,double LX, double LY, double LZ); void SetPoints(double x, double y, double z); Long64_t Hash(double x ,double y , double z); ClassDef(CTDR_Tree,0); // Abstract tree class }; #endif