00001
00002 #ifndef ANAPHE_AIDABOUNDEDPROFILE2D
00003 #define ANAPHE_AIDABOUNDEDPROFILE2D 1
00004
00005 #include "AIDA_Profile2D.h"
00006
00007 namespace Anaphe {
00008 namespace AIDA_Histogram_native {
00009
00011
00012 class AIDA_BoundedProfile2D : public AIDA_Profile2D
00013 {
00014
00015 public:
00017 AIDA_BoundedProfile2D( const std::string& title,
00018 int numberOfBinsX,
00019 double lowEdgeX,
00020 double highEdgeX,
00021 int numberOfBinsY,
00022 double lowEdgeY,
00023 double highEdgeY,
00024 double lowBound,
00025 double highBound );
00027 AIDA_BoundedProfile2D( const std::string& title,
00028 const std::vector< double >& edgesX,
00029 const std::vector< double >& edgesY,
00030 double lowBound,
00031 double highBound );
00033 AIDA_BoundedProfile2D( const AIDA_BoundedProfile2D& h );
00035 virtual ~AIDA_BoundedProfile2D() {};
00036
00038 virtual bool reset();
00039 virtual int extraEntries() const;
00040 virtual bool fill( double x, double y, double z, double weight = 1. ) ;
00041 virtual bool add( const AIDA::IProfile2D & h );
00042
00043 private:
00045 int m_extraEntries;
00046
00048 double m_lowBound;
00049 double m_highBound;
00050
00052 AIDA_BoundedProfile2D& operator=( const AIDA_BoundedProfile2D& );
00053 };
00054
00055 }
00056 }
00057
00058 #endif