|
ATLAS Offline Software
|
Go to the documentation of this file.
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");
61 std::cerr <<
"exception closing file " <<
m_path <<
": "
62 <<
e.what() << std::endl;
66 std::cerr <<
"unknown exception closing file " <<
m_path << std::endl;
virtual void doClose()
closes the file we are writing to
virtual TFile * getFile()
the file we are writing to
std::string m_path
the path being used
TFile * m_file
the actual file object
void testInvariant() const
test the invariant of this object
~DiskWriterLocal()
standard destructor
#define RCU_REQUIRE2_SOFT(x, y)
std::string m_path
the path being used
#define RCU_DESTROY_INVARIANT(x)
#define RCU_CHANGE_INVARIANT(x)
virtual std::string getPath() const
the path where this file can be accessed or the empty string if it is not known (yet).
This module provides a lot of global definitions, forward declarations and includes that are used by ...
#define RCU_THROW_MSG(message)
DiskWriterLocal(const std::string &val_path)
standard constructor
void close()
closes the file we are writing to
#define RCU_READ_INVARIANT(x)
#define RCU_NEW_INVARIANT(x)