ATLAS Offline Software
Classes
DataModelCompatSvc.h File Reference

Provides backwards compatibility for reading DataVector (and other) classes. More...

#include "RootUtils/ILogger.h"
#include "AthenaBaseComps/AthService.h"
#include "GaudiKernel/IIncidentListener.h"
Include dependency graph for DataModelCompatSvc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DataModelCompatSvc
 Service for DataVector backwards compatibility. More...
 

Detailed Description

Provides backwards compatibility for reading DataVector (and other) classes.

Author
scott snyder
Date
Nov 2005 When setting up DataVector inheritance using DATAVECTOR_BASE, a side effect is that the persistent form of the data may change. Including this service will fix up the root metadata to allow reading old data. In fact, any sort of DataVector to DataVector conversions will be allowed, provided that A* can be converted to B*.

Note: we currently don't notice when the input file changes. This may cause problems if you're mixing files of different versions.

This service also sets up other needed conversions.

Definition in file DataModelCompatSvc.h.