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

Anaphe::AIDA_Histogram_native::ProfileBin2D Class Reference

#include <ProfileBin2D.h>

Inheritance diagram for Anaphe::AIDA_Histogram_native::ProfileBin2D:

Inheritance graph
[legend]
Collaboration diagram for Anaphe::AIDA_Histogram_native::ProfileBin2D:

Collaboration graph
[legend]
List of all members.

Public Methods

 ProfileBin2D ()
 Constructor.

 ~ProfileBin2D ()
 Destructor.

bool fill (double weight, double coordX, double coordY, double coordZ)
bool reset ()
 Reset method.

bool scale (double factor)
 Scale method.

bool increment (const ProfileBin2D &otherBin)
 Increment methods.

bool increment (int extraEntries, double extraHeight, double extraError, double extraSpread, double extraCentreX, double extraCentreY)
bool set (int entriesNew, double heightNew, double errorNew, double spreadNew, double centreXNew, double centreYNew)
 Set method.

double centreOfGravityY () const
 Returns the gravity point along Y.


Private Attributes

double m_sumOfWeightTimesCoordinate

Constructor & Destructor Documentation

Anaphe::AIDA_Histogram_native::ProfileBin2D::ProfileBin2D  
 

Definition at line 3 of file ProfileBin2D.cpp.

Anaphe::AIDA_Histogram_native::ProfileBin2D::~ProfileBin2D   [inline]
 

Definition at line 18 of file ProfileBin2D.h.


Member Function Documentation

double Anaphe::AIDA_Histogram_native::ProfileBin2D::centreOfGravityY   const
 

Definition at line 61 of file ProfileBin2D.cpp.

References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::sumOfWeights().

Referenced by Anaphe::AIDA_Histogram_native::AIDA_Profile2D::binMeanY(), and Anaphe::AIDA_Histogram_native::AIDA_Profile2D::calculateStatistics().

bool Anaphe::AIDA_Histogram_native::ProfileBin2D::fill double    weight,
double    coordX,
double    coordY,
double    coordZ
 

Main fill method. The weight of the entry and the x, y, z coordinates

bool Anaphe::AIDA_Histogram_native::ProfileBin2D::increment int    extraEntries,
double    extraHeight,
double    extraError,
double    extraSpread,
double    extraCentreX,
double    extraCentreY
 

Definition at line 34 of file ProfileBin2D.cpp.

References increment(), and set().

bool Anaphe::AIDA_Histogram_native::ProfileBin2D::increment const ProfileBin2D &    otherBin
 

Definition at line 26 of file ProfileBin2D.cpp.

References Anaphe::AIDA_Histogram_native::ProfileBin1D::increment(), and m_sumOfWeightTimesCoordinate.

Referenced by increment().

bool Anaphe::AIDA_Histogram_native::ProfileBin2D::reset  
 

Reimplemented from Anaphe::AIDA_Histogram_native::ProfileBin1D.

Definition at line 10 of file ProfileBin2D.cpp.

References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::reset().

bool Anaphe::AIDA_Histogram_native::ProfileBin2D::scale double    factor
 

Reimplemented from Anaphe::AIDA_Histogram_native::ProfileBin1D.

Definition at line 18 of file ProfileBin2D.cpp.

References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::scale().

bool Anaphe::AIDA_Histogram_native::ProfileBin2D::set int    entriesNew,
double    heightNew,
double    errorNew,
double    spreadNew,
double    centreXNew,
double    centreYNew
 

Definition at line 48 of file ProfileBin2D.cpp.

References m_sumOfWeightTimesCoordinate, and Anaphe::AIDA_Histogram_native::ProfileBin1D::set().

Referenced by increment().


Member Data Documentation

double Anaphe::AIDA_Histogram_native::ProfileBin2D::m_sumOfWeightTimesCoordinate [private]
 

Reimplemented from Anaphe::AIDA_Histogram_native::ProfileBin1D.

Definition at line 47 of file ProfileBin2D.h.

Referenced by centreOfGravityY(), increment(), reset(), scale(), and set().


The documentation for this class was generated from the following files:
Generated on Tue Nov 19 12:32:25 2002 for AIDA_Histogram_native by doxygen1.2.16