Add function which checks if an input is a ROOT file
The function Cbm::File::IsRootFile checks if a file with the given name exists and if this is confirmed it checks if the file is either a ROOT file or a ROOT file stored in a ZIP file. ROOT is able to handle ROOT files stored in a ZIP archive. The function returns true when the file is a ROOT file and false in any other case.
Showing
- core/base/CMakeLists.txt 1 addition, 0 deletionscore/base/CMakeLists.txt
- core/base/CbmBaseLinkDef.h 2 additions, 0 deletionscore/base/CbmBaseLinkDef.h
- core/base/utils/CbmFileUtils.cxx 93 additions, 0 deletionscore/base/utils/CbmFileUtils.cxx
- core/base/utils/CbmFileUtils.h 17 additions, 0 deletionscore/base/utils/CbmFileUtils.h
Loading
Please register or sign in to comment