an implementation of DiskOutput using the XRD protocol
More...
#include <DiskOutputXRD.h>
an implementation of DiskOutput using the XRD protocol
- Rationale
- this is to be used when storing output n-tuples on xrootd servers
Definition at line 22 of file DiskOutputXRD.h.
◆ DiskOutputXRD() [1/2]
SH::DiskOutputXRD::DiskOutputXRD |
( |
| ) |
|
standard default constructor
- Guarantee
- strong
- Failures
- out of memory I
- Warning
- this is only to be used for the root streaming mechanism, not by the end user
◆ DiskOutputXRD() [2/2]
SH::DiskOutputXRD::DiskOutputXRD |
( |
const std::string & |
val_prefix | ) |
|
|
explicit |
standard constructor
- Guarantee
- strong
- Failures
- out of memory II
- Precondition
- val_prefix.find ("root://") == 0
◆ ClassDef() [1/2]
◆ ClassDef() [2/2]
◆ doMakeWriter()
virtual std::unique_ptr<DiskWriter> SH::DiskOutputXRD::doMakeWriter |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
protectedvirtual |
create a DiskWriter object managing an output file
- Precondition
- !sampleName.empty()
- Postcondition
- result != nullptr
- Guarantee
- strong
- Failures
- out of memory II
i/o errors
- Rationale
- the virtual part of DiskOutput::makeWriter
Implements SH::DiskOutput.
◆ getTargetURL()
virtual std::string SH::DiskOutputXRD::getTargetURL |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
protectedvirtual |
◆ makeWriter()
std::unique_ptr<DiskWriter> SH::DiskOutput::makeWriter |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
inherited |
create a DiskWriter object managing an output file
- Precondition
- !sampleName.empty()
- Postcondition
- result != nullptr
- Guarantee
- strong
- Failures
- out of memory II
i/o errors
◆ targetURL()
std::string SH::DiskOutput::targetURL |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
segmentName, |
|
|
const std::string & |
suffix |
|
) |
| const |
|
inherited |
the final output location for the given segment
- Precondition
- !sampleName.empty()
- Postcondition
- !result.empty()
- Guarantee
- strong
- Failures
- out of memory II
◆ testInvariant()
void SH::DiskOutputXRD::testInvariant |
( |
| ) |
const |
test the invariant of this object
- Guarantee
- no-fail
◆ m_prefix
std::string SH::DiskOutputXRD::m_prefix |
|
private |
the prefix to apply when creating files
Definition at line 81 of file DiskOutputXRD.h.
The documentation for this class was generated from the following file: