00001 /* @(#)root/histpainter:$Id: Hparam.h 20882 2007-11-19 11:31:26Z rdm $ */ 00002 00003 /************************************************************************* 00004 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00005 * All rights reserved. * 00006 * * 00007 * For the licensing terms see $ROOTSYS/LICENSE. * 00008 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00009 *************************************************************************/ 00010 00011 #ifndef ROOT_Hparam 00012 #define ROOT_Hparam 00013 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // THparam // 00018 // // 00019 // structure to store current histogram parameters. // 00020 // // 00021 ////////////////////////////////////////////////////////////////////////// 00022 00023 00024 #ifndef ROOT_Rtypes 00025 #include "Rtypes.h" 00026 #endif 00027 00028 typedef struct Hparam_t { 00029 //*-*- structure to store current histogram parameters 00030 //*-* =============================================== 00031 //*-* 00032 Double_t xbinsize; //bin size in case of equidistant bins 00033 Double_t xlowedge; //low edge of axis 00034 Double_t xmin; //minimum value along X 00035 Double_t xmax; //maximum value along X 00036 Double_t ybinsize; //bin size in case of equidistant bins 00037 Double_t ylowedge; //low edge of axis 00038 Double_t ymin; //minimum value along y 00039 Double_t ymax; //maximum value along y 00040 Double_t zbinsize; //bin size in case of equidistant bins 00041 Double_t zlowedge; //low edge of axis 00042 Double_t zmin; //minimum value along Z 00043 Double_t zmax; //maximum value along Z 00044 Double_t factor; //multiplication factor (normalization) 00045 Double_t allchan; //integrated sum of contents 00046 Double_t baroffset; //offset of bin for bars or legos [0,1] 00047 Double_t barwidth; //width of bin for bars and legos [0,1] 00048 Int_t xfirst; //first bin number along X 00049 Int_t xlast; //last bin number along X 00050 Int_t yfirst; //first bin number along Y 00051 Int_t ylast; //last bin number along Y 00052 Int_t zfirst; //first bin number along Z 00053 Int_t zlast; //last bin number along Z 00054 } Hparam_t; 00055 00056 #endif