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

H2D.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/GaudiSvc/src/HistogramSvc/H2D.h,v 1.1.1.2 2001/04/18 18:32:50 tlindner Exp $
00002 #ifndef HISTOGRAMSVC_H2D_H
00003 #define HISTOGRAMSVC_H2D_H 1
00004 
00005 
00006 // Include files
00007 #include "GaudiKernel/Kernel.h"
00008 #include "GaudiKernel/StatusCode.h"
00009 #include "GaudiKernel/DataObject.h"
00010 // H1DVar.h has to be included before GenHisto2D.h
00011 #include "H1DVar.h"
00012 #include "GenHisto2D.h"
00013 #include "HTL/Histograms.h"
00014 
00015 //------------------------------------------------------------------------------
00016 //
00017 // ClassName:   H2D 
00018 //  
00019 // Description: Definition of 2D histogram with fixed binning
00020 //
00021 //              It implements functions form the interface IHisto2D
00022 // 
00023 //              It implements functions from IHistoBase
00024 //              - print functions, which convert the histogram
00025 //                into ASCII graphical representation
00026 //              - operator<< , which calls internally the print() function
00027 //              - write functions, which convert the histogram
00028 //                into ASCI table (containing numbers with e.g. bin height)
00029 //
00030 // Author:      Pavel Binko
00031 //
00032 //------------------------------------------------------------------------------
00033 
00034 
00035 class H2D : public GenHisto2D< Histo2D >                                       {
00036 
00037 public:
00038 
00039   //----------------------------------------------------------------------------
00040   // Constructors with all parameters
00041 
00042   H2D( const std::string& title,                 // HTL   - histogram title
00043        const std::string& histoID,               // GAUDI - histogram identifier
00044        int nBinsX,                               // HTL   - X-axis
00045        double lowX,
00046        double highX,
00047        int nBinsY,                               // HTL   - Y-axis
00048        double lowY,
00049        double highY,
00050        End_Point_Convention epcX = RIGHT_OPEN ); // HTL   - end point convention
00051 
00052   H2D( const std::string& title,                 // HTL   - histogram title
00053        int histoID,                              // GAUDI - histogram identifier
00054        int nBinsX,                               // HTL   - X-axis
00055        double lowX,
00056        double highX,
00057        int nBinsY,                               // HTL   - Y-axis
00058        double lowY,
00059        double highY,
00060        End_Point_Convention epcX = RIGHT_OPEN ); // HTL   - end point convention
00061 
00062 
00063 public:
00064   
00067   virtual const CLID& clID() const                    { return H2D::classID(); }
00068   static const CLID& classID()                              { return CLID_H2D; }
00069 
00070 };
00071 
00072 
00073 #endif    // HISTOGRAMSVC_H2D_H

Generated at Wed Nov 21 12:22:30 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000