Go to the source code of this file.
◆ ClassImp()
- Author
- Nils Krumnack
Definition at line 22 of file DiskOutputXRD.cxx.
27 testInvariant ()
const
36 : m_prefix (
"root://ThisIsANonExistantPath")
44 DiskOutputXRD (
const std::string& val_prefix)
45 : m_prefix (val_prefix)
54 std::unique_ptr<DiskWriter> DiskOutputXRD ::
55 doMakeWriter (
const std::string& sampleName,
56 const std::string& segmentName,
57 const std::string&
suffix)
const
60 return std::make_unique<DiskWriterXRD>
61 (targetURL (sampleName, segmentName,
suffix));
66 std::string DiskOutputXRD ::
67 getTargetURL (
const std::string& sampleName,
68 const std::string& segmentName,
69 const std::string&
suffix)
const
72 std::ostringstream
file;
74 if (m_prefix.back() !=
'-')
77 if (!segmentName.empty())
78 file <<
"-" << segmentName;