00001
00002 #ifndef ANAPHE_AIDABOUNDEDPROFILE1D
00003 #define ANAPHE_AIDABOUNDEDPROFILE1D 1
00004
00005 #include "AIDA_Profile1D.h"
00006
00007 namespace Anaphe {
00008 namespace AIDA_Histogram_native {
00009
00011
00012 class AIDA_BoundedProfile1D : public AIDA_Profile1D
00013 {
00014
00015 public:
00017 AIDA_BoundedProfile1D( const std::string& title,
00018 int numberOfBins,
00019 double lowEdge,
00020 double highEdge,
00021 double lowBound,
00022 double highBound );
00024 AIDA_BoundedProfile1D( const std::string& title,
00025 const std::vector< double >& edges,
00026 double lowBound,
00027 double highBound );
00029 AIDA_BoundedProfile1D( const AIDA_BoundedProfile1D& h );
00031 virtual ~AIDA_BoundedProfile1D() {};
00032
00034 virtual bool reset();
00035 virtual int extraEntries() const;
00036 virtual bool fill( double x, double y, double weight = 1. ) ;
00037 virtual bool add( const AIDA::IProfile1D & h );
00038
00039 private:
00041 int m_extraEntries;
00042
00044 double m_lowBound;
00045 double m_highBound;
00046
00048 AIDA_BoundedProfile1D& operator=( const AIDA_BoundedProfile1D& );
00049 };
00050
00051 }
00052 }
00053
00054 #endif