Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
Hparam.h
Go to the documentation of this file.
1 /* @(#)root/histpainter:$Id$ */
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_Hparam
12 #define ROOT_Hparam
13 
14 
15 ////////////////////////////////////////////////////////////////////////////////
16 /*! \struct Hparam_t
17 \brief Histogram parameters structure.
18 
19 Structure to store current histogram parameters.
20 Used internally by `THistpainter` to manage histogram parameters.
21 
22 */
23 
24 #include "Rtypes.h"
25 
26 typedef struct Hparam_t {
27  Double_t xbinsize; ///< bin size in case of equidistant bins
28  Double_t xlowedge; ///< low edge of axis
29  Double_t xmin; ///< minimum value along X
30  Double_t xmax; ///< maximum value along X
31  Double_t ybinsize; ///< bin size in case of equidistant bins
32  Double_t ylowedge; ///< low edge of axis
33  Double_t ymin; ///< minimum value along y
34  Double_t ymax; ///< maximum value along y
35  Double_t zbinsize; ///< bin size in case of equidistant bins
36  Double_t zlowedge; ///< low edge of axis
37  Double_t zmin; ///< minimum value along Z
38  Double_t zmax; ///< maximum value along Z
39  Double_t factor; ///< multiplication factor (normalization)
40  Double_t allchan; ///< integrated sum of contents
41  Double_t baroffset; ///< offset of bin for bars or legos [0,1]
42  Double_t barwidth; ///< width of bin for bars and legos [0,1]
43  Int_t xfirst; ///< first bin number along X
44  Int_t xlast; ///< last bin number along X
45  Int_t yfirst; ///< first bin number along Y
46  Int_t ylast; ///< last bin number along Y
47  Int_t zfirst; ///< first bin number along Z
48  Int_t zlast; ///< last bin number along Z
49 } Hparam_t;
50 
51 #endif