The following figure presents an overview over the C++ classes of the Xspec module and their relations.
The Xspec module provides an interface to data in the XSPEC format. Event data storage is implemented by the GPha class that provides the number of events measured per channel. The effective area taking into account any event selection cuts is implemented by the GArf class. And energy redistribution information is implemented by the GRmf class.