27 void DiskWriterLocal ::
28 testInvariant ()
const
35 DiskWriterLocal (
const std::string& val_path)
40 std::string dir = gSystem->DirName (val_path.c_str());
41 gSystem->mkdir (dir.c_str(),
true);
42 m_file =
new TFile (val_path.c_str(),
"RECREATE");
59 }
catch (std::exception& e)
61 std::cerr <<
"exception closing file " <<
m_path <<
": "
62 << e.what() << std::endl;
66 std::cerr <<
"unknown exception closing file " <<
m_path << std::endl;
73 std::string DiskWriterLocal ::
82 TFile *DiskWriterLocal ::
92 void DiskWriterLocal ::
#define RCU_DESTROY_INVARIANT(x)
#define RCU_CHANGE_INVARIANT(x)
#define RCU_REQUIRE2_SOFT(x, y)
#define RCU_NEW_INVARIANT(x)
#define RCU_READ_INVARIANT(x)
#define RCU_THROW_MSG(message)
TFile * m_file
the actual file object
std::string m_path
the path being used
void close()
closes the file we are writing to
This module provides a lot of global definitions, forward declarations and includes that are used by ...