Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:15

0001 /* @(#)root/histpainter:$Id$ */
0002 
0003 /*************************************************************************
0004  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0005  * All rights reserved.                                                  *
0006  *                                                                       *
0007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0009  *************************************************************************/
0010 
0011 #ifndef ROOT_Hparam
0012 #define ROOT_Hparam
0013 
0014 
0015 ////////////////////////////////////////////////////////////////////////////////
0016 /*! \struct Hparam_t
0017     \brief Histogram parameters structure.
0018 
0019 Structure to store current histogram's parameters.
0020 
0021 Used internally by THistPainter to manage histogram parameters.
0022 
0023 */
0024 
0025 #include "RtypesCore.h"
0026 
0027 typedef struct Hparam_t {
0028    Double_t  xbinsize;      ///< Bin size in case of equidistant bins
0029    Double_t  xlowedge;      ///< Low edge of axis
0030    Double_t  xmin;          ///< Minimum value along X
0031    Double_t  xmax;          ///< Maximum value along X
0032    Double_t  ybinsize;      ///< Bin size in case of equidistant bins
0033    Double_t  ylowedge;      ///< Low edge of axis
0034    Double_t  ymin;          ///< Minimum value along y
0035    Double_t  ymax;          ///< Maximum value along y
0036    Double_t  zbinsize;      ///< Bin size in case of equidistant bins
0037    Double_t  zlowedge;      ///< Low edge of axis
0038    Double_t  zmin;          ///< Minimum value along Z
0039    Double_t  zmax;          ///< Maximum value along Z
0040    Double_t  factor;        ///< Multiplication factor (normalization)
0041    Double_t  allchan;       ///< Integrated sum of contents
0042    Double_t  baroffset;     ///< Offset of bin for bars or legos [0,1]
0043    Double_t  barwidth;      ///< Width of bin for bars and legos [0,1]
0044    Int_t     xfirst;        ///< First bin number along X
0045    Int_t     xlast;         ///< Last bin number along X
0046    Int_t     yfirst;        ///< First bin number along Y
0047    Int_t     ylast;         ///< Last bin number along Y
0048    Int_t     zfirst;        ///< First bin number along Z
0049    Int_t     zlast;         ///< Last bin number along Z
0050 } Hparam_t;
0051 
0052 #endif