GGS(GenericGEANT4Simulation)Software
2.7.0
|
Class to handle group of Root files. More...
#include <GGSTFilesHandler.h>
Public Member Functions | |
GGSTFilesHandler () | |
Constructor. | |
~GGSTFilesHandler () | |
Destructor. | |
unsigned int | GetNFiles () |
The number of files handled by this object. More... | |
const std::string & | GetFileName (unsigned int iFile) |
Fetch the name of a handled file. More... | |
Friends | |
class | GGSTRootReader |
Class to handle group of Root files.
This is a helper class for GGSTRootReader to help the management of groups of Root files. Files opened with different calls of GGSTRootReader::Open (possibly with wildcards or using a txt file containing the list of Root files) are handled by different GGSTFilesHandler objects. These handlers are in turn used to specify the files to be chained and read by each reader, allowing to read output informations spreaded on different files.
This class must be considered as an opaque handler from the point of view of the user. However some methods to retrieve informations about the handled files are present.
Definition at line 39 of file GGSTFilesHandler.h.
const std::string & GGSTFilesHandler::GetFileName | ( | unsigned int | iFile | ) |
Fetch the name of a handled file.
iFile | The index of the desired file. |
Definition at line 35 of file GGSTFilesHandler.cpp.
|
inline |
The number of files handled by this object.
Definition at line 51 of file GGSTFilesHandler.h.