ATLAS Offline Software
h Class Reference

DetCondFloat is a class to hold sets of Identifiers and arrays of floats for detector element specific information Richard Hawkings, started 29/1/04. More...

#include <DetCondFloat.h>

Collaboration diagram for h:

Detailed Description

DetCondFloat is a class to hold sets of Identifiers and arrays of floats for detector element specific information Richard Hawkings, started 29/1/04.

Based on AlignableTransform but with vectors of floats of arbitrary size (at initialisation time). These objects are designed to reside in the detector store and be kept in the conditionsDB.

Methods are provided to create a new object with a float vector of a specified size, add an Identifier and associated array of floats, and to associate a new Identifier with some already stored set of floats This sharing mechanism can be used to tranparently associate one set of constants to a large number of identifiers (i.e. detector elements) and then increase the granularity later

Access to the data is provided by the find method, which returns a pointer to the floats associated with a particular identifier (or a null pointer if the identifier is not known. The index within the internal storage of a particular identifier's data can also be retrieved, for use in a subsequent call to the share method (this index is also returned by the add method). print and print2 methods print the data with varying amounts of detail


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