CbmRoot
Loading...
Searching...
No Matches
Cbm::File Namespace Reference

Functions

bool IsRootFile (std::string filename)
 Check if a the file exist and is a root file.
 

Function Documentation

◆ IsRootFile()

bool Cbm::File::IsRootFile ( std::string filename)

Check if a the file exist and is a root file.

Parameters
[in]filenameThe filename of the file to be checked \value true if file is an existing root file, 0 in any other case

Definition at line 22 of file CbmFileUtils.cxx.

References buffer.

Referenced by CbmTransport::AddInput(), CbmPlutoGenerator::CbmPlutoGenerator(), and CbmPlutoGenerator::CbmPlutoGenerator().