23.05.2014 Views

Athena Developer Guide

Athena Developer Guide

Athena Developer Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Athena</strong> Chapter 11 Histogram facilities Version/Issue: 2.0.0<br />

Histograms<br />

IH is to gra m<br />

IHistogram1D<br />

IHistogram 2D<br />

TYPE<br />

1D<br />

GenHisto1D<br />

DataObject<br />

TYPE<br />

2D<br />

GenHisto2D<br />

1<br />

1<br />

1<br />

1<br />

IA x i s<br />

1<br />

TYPE1D<br />

1<br />

Axis<br />

2<br />

1<br />

TYPE2D<br />

H1D and H1DVar are currently<br />

the only two im plem ented<br />

specializations of G enH isto1D<br />

H1D<br />

H2D is currently the only one<br />

im plem ented specialization of<br />

GenHisto2D<br />

H2D<br />

H1DVar<br />

Figure 11.1 Histograms data model.<br />

11.2 The Histogram service.<br />

An instance of the histogram data service is created by the application manager. After the service has<br />

been initialised, the histogram data store will contain a root directory “/stat” in which users may<br />

book histograms and/or create sub-directories (for example, in the code fragment below, the histogram<br />

is stored in the subdirectory “/stat/simple“). A suggested naming convention for the<br />

sub-directories is given in Section 1.2.3.<br />

As discussed in Section 5.2, the Algorithm base class defines a member function<br />

IHistogramSvc* histoSvc()<br />

page 78

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!