Go to the source code of this file.
◆ ClassImp()
- Author
- Nils Krumnack
Definition at line 22 of file DiskOutputLocal.cxx.
26 void DiskOutputLocal ::
27 testInvariant ()
const
36 : m_prefix (
"/ThisIsANonExistantPath")
44 DiskOutputLocal (
const std::string& val_prefix)
45 : m_prefix (val_prefix)
52 std::unique_ptr<DiskWriter> DiskOutputLocal ::
53 doMakeWriter (
const std::string& sampleName,
54 const std::string& segmentName,
55 const std::string&
suffix)
const
58 return std::make_unique<DiskWriterLocal>
59 (targetURL (sampleName, segmentName,
suffix));
64 std::string DiskOutputLocal ::
65 getTargetURL (
const std::string& sampleName,
66 const std::string& segmentName,
67 const std::string&
suffix)
const
70 std::ostringstream
file;
72 if (m_prefix.back() !=
'-')
75 if (!segmentName.empty())
76 file <<
"-" << segmentName;