| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions | Static Public Member Functions

# Gaudi::Profile2D Class Reference

AIDA implementation for 2 D profiles using ROOT TProfile2D. More...

Inheritance diagram for Gaudi::Profile2D:
[legend]
Collaboration diagram for Gaudi::Profile2D:
[legend]

List of all members.

## Public Member Functions
| Profile2D ()
| Default Constructor.
| Profile2D (TProfile2D *rep)
| Default Constructor with representation object.
virtual | ~Profile2D ()
| Destructor.
bool | fill (double x, double y, double z, double weight)
| Fill bin content.
virtual const CLID & | clID () const
| Retrieve reference to class defininition identifier.
## Static Public Member Functions
static const CLID & | classID ()
| Retrieve reference to class definition structure (static access)

## Detailed Description

AIDA implementation for 2 D profiles using ROOT TProfile2D.

Author:
  M.Frank

Definition at line 27 of file P2D.cpp.

## Constructor & Destructor Documentation

Gaudi::Profile2D::Profile2D | ( | ) | `[inline]`

Default Constructor.

Definition at line 30 of file P2D.cpp.

                    {
          m_classType = "IProfile2D";
          m_rep = new TProfile2D();
          m_rep->SetErrorOption("s");
          m_rep->SetDirectory(0);
          m_sumEntries = 0;
        }

Gaudi::Profile2D::Profile2D | ( | TProfile2D * | rep ) |

Default Constructor with representation object.

Definition at line 103 of file P2D.cpp.

                                                {
      m_rep = 0;
      m_classType = "IProfile2D";
      rep->SetDirectory(0);
      adoptRepresentation(rep);
      m_sumEntries = 0;
    }

virtual Gaudi::Profile2D::~Profile2D | ( | ) | `[inline, virtual]`

Destructor.

Definition at line 40 of file P2D.cpp.

    {}

## Member Function Documentation

static const CLID& Gaudi::Profile2D::classID | ( | ) | `[inline, static]`

Retrieve reference to class definition structure (static access)

Retrieve Pointer to class definition structure.

Reimplemented from DataObject.

Definition at line 48 of file P2D.cpp.

    { return CLID_ProfileH2; }

virtual const CLID& Gaudi::Profile2D::clID | ( | ) | const`[inline, virtual]`

Retrieve reference to class defininition identifier.

Reimplemented from DataObject.

Definition at line 47 of file P2D.cpp.

    { return Gaudi::Profile2D::classID(); }

bool Gaudi::Profile2D::fill | ( | double | x,
|  | double | y,
|  | double | z,
|  | double | weight
| ) |  | `[inline]`

Fill bin content.

Definition at line 42 of file P2D.cpp.

                                                             {
          m_rep->Fill(x,y,z,weight);
          return true;
        }

The documentation for this class was generated from the following file:

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiSvc/src/HistogramSvc/P2D.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines