| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# 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 21 of file P2D.cpp.

## Constructor & Destructor Documentation

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

Default Constructor.

Definition at line 24 of file P2D.cpp.

    00024                 {
    00025       m_classType = "IProfile2D";
    00026       m_rep = new TProfile2D();
    00027       m_rep->SetErrorOption("s");
    00028       m_rep->SetDirectory(0);
    00029       m_sumEntries = 0;
    00030     }

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

Default Constructor with representation object.

Definition at line 99 of file P2D.cpp.

    00099                                             {
    00100   m_rep = 0;
    00101   m_classType = "IProfile2D";
    00102   rep->SetDirectory(0);
    00103   adoptRepresentation(rep);
    00104   m_sumEntries = 0;
    00105 }

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

Destructor.

Definition at line 34 of file P2D.cpp.

    00034 {}

## Member Function Documentation

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

Fill bin content.

Definition at line 36 of file P2D.cpp.

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

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

Retrieve reference to class defininition identifier.

Reimplemented from DataObject.

Definition at line 41 of file P2D.cpp.

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

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 42 of file P2D.cpp.

    00042 { return CLID_ProfileH2; }

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

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