Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4GUI/TGo4CreateHisDefaults.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 
00017 
00018 #ifndef TGO4CREATEHISDEFAULTS_H
00019 #define TGO4CREATEHISDEFAULTS_H
00020 #include "TNamed.h"
00021 
00026 class TGo4CreateHisDefaults : public TNamed{
00027 public:
00028 
00029     TGo4CreateHisDefaults(const char * Name, const char * Title);
00030 
00031     void SetHisDefaults(int type=1,int noOfBinsX=10, int noOfBinsY=10,int noOfBinsZ=10, long xmin=0,
00032       long xmax=10,long ymin=0,long ymax=10,long zmin=0,long zmax=10)
00033    {
00034       Type=type;
00035       NoOfBinsX=noOfBinsX;
00036       NoOfBinsY=noOfBinsY;
00037       NoOfBinsZ=noOfBinsZ;
00038       Xmin=xmin;
00039       Xmax=xmax;
00040       Ymin=ymin;
00041       Ymax=ymax;
00042       Zmin=zmin;
00043       Zmax=zmax;
00044 
00045 
00046    }
00047 
00048     void GetHisDefaults(int &GetType,int &GetNoOfBinsX, int &GetNoOfBinsY,int &GetNoOfBinsZ, long &GetXmin,
00049       long &GetXmax,long &GetYmin,long &GetYmax,long &GetZmin,long &GetZmax)
00050    {
00051       GetType=Type;
00052       GetNoOfBinsX=NoOfBinsX;
00053       GetNoOfBinsY=NoOfBinsY;
00054       GetNoOfBinsZ=NoOfBinsZ;
00055       GetXmin=Xmin;
00056       GetXmax=Xmax;
00057       GetYmin=Ymin;
00058       GetYmax=Ymax;
00059       GetZmin=Zmin;
00060       GetZmax=Zmax;
00061    }
00062 
00063 private:
00064 
00065    int Type;
00066    int NoOfBinsX;
00067    long Ymax;
00068    int NoOfBinsY;
00069    int NoOfBinsZ;
00070    long Xmin;
00071    long Xmax;
00072    long Ymin;
00073    long Zmin;
00074    long Zmax;
00075 };
00076 #endif //TGO4CREATEHISDEFAULTS_H
00077 
00078 
00079 
00080 
00081 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:59 2005 for Go4-v2.10-5 by doxygen1.2.15