HTL User Manual (original) (raw)

CERN Accelerating science

This website is no longer maintained. Its content may be obsolete.
Please visit https://home.cern/ for current CERN information.

HTL User Manual

CERN

LHC++

Dino Ferrero Merlino

CERN IT/API

May 2000


Table of Contents

1. Overview

What is HTL?

Use of templates

Motivation

2. HTL at a glance

Booking and filling persistent histograms

Booking and filling transient histograms

Making a transient histogram persistent

HTL histogram classes

Accessing bin content, bin error, bin center

Line-printer and ASCII table output

3. Partitions and Bins

Partitions

Bins

4. Histograms with variable partitions and Profile histograms

Variable partition histograms

Profile Histograms

5. Operations on histograms

What do histogram operations apply to?

Cloning a histogram

Operations on histograms

6. Histogram Factories and Naming Trees

Histogram factories

Naming histograms

Retrieving named histograms

7. Using interfaces

Interfaces in HTL

Example using Interface classes

8. Constructors

Types of constructors

9. Retrieving statistics and entries information

Shortcuts

General method

A. Supported compilers

B. Statistics and error propagation

Histogram statistics

Bin errors

C. Performance

Introduction

Comparison between HBOOK, HistOOgrams, and HTL

Conclusion

D. Running the examples

List of available examples

Setting up for using the examples

Structure of each example

One dimensional histograms

One dimensional variable histograms

Two dimensional histograms

Two dimensional variable histograms

Profile histograms

Filling histograms with random numbers

Saving histogram as text table

Histogram naming

Basic histogram operations

Read histograms

Create transient histograms

Create sliced projections

PostScript version of this manual


Go toCERN| IT| API| LHC++ Home

MG (3 July 2000)