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

H1DVar.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/GaudiSvc/src/HistogramSvc/H1DVar.h,v 1.1.1.2 2001/04/18 18:32:50 tlindner Exp $
00002 #ifndef HISTOGRAMSVC_H1DVAR_H
00003 #define HISTOGRAMSVC_H1DVAR_H 1
00004 
00005 
00006 // Include files
00007 #include "GaudiKernel/Kernel.h"
00008 #include "GaudiKernel/StatusCode.h"
00009 #include "GaudiKernel/DataObject.h"
00010 #include "GaudiKernel/IHistogram1D.h"
00011 #include "GenHisto1D.h"
00012 
00013 #include "HTL/Histograms.h"
00014 
00015 //------------------------------------------------------------------------------
00016 //
00017 // ClassName:   H1DVar 
00018 //  
00019 // Description: Definition of 1D histogram with fixed binning
00020 //
00021 //              It implements functions form the interface IHisto1D
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 H1DVar : public GenHisto1D< Histo1DVar >                                 {
00036 
00037 public:
00038 
00039   //----------------------------------------------------------------------------
00040   // Constructors with all parameters
00041 
00042   H1DVar(
00043        const std::string& title,                 // HTL   - histogram title
00044        const std::string& histoID,               // GAUDI - histogram identifier
00045        std::vector<double> edges,                // HTL   - X-axis
00046        End_Point_Convention epc = RIGHT_OPEN );  // HTL   - end point convention
00047 
00048   H1DVar(
00049        const std::string& title,                 // HTL   - histogram title
00050        int histoID,                              // GAUDI - histogram identifier
00051        std::vector<double> edges,                // HTL   - X-axis
00052        End_Point_Convention epc = RIGHT_OPEN );  // HTL   - end point convention
00053 
00054   H1DVar(
00055        const std::string& title,                 // HTL   - histogram title
00056        Histo1DVar& h,                            // concrete HTL histogram
00057        std::vector<double> edges,                // HTL   - X-axis
00058        End_Point_Convention epc = RIGHT_OPEN );  // HTL   - end point convention
00059 
00060 public:
00061   
00064   virtual const CLID& clID() const                 { return H1DVar::classID(); }
00065   static const CLID& classID()                           { return CLID_H1DVar; }
00066 
00067 };
00068 
00069 
00070 #endif    // HISTOGRAMSVC_H1DVAR_H

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