an implementation of DiskOutput using the XRD protocol
More...
#include <DiskOutputXRD.h>
|
| void | testInvariant () const |
| | test the invariant of this object
|
| | DiskOutputXRD () |
| | standard default constructor
|
| | DiskOutputXRD (const std::string &val_prefix) |
| | standard constructor
|
| std::unique_ptr< DiskWriter > | makeWriter (const std::string &sampleName, const std::string &segmentName, const std::string &suffix) const |
| | create a DiskWriter object managing an output file
|
| std::string | targetURL (const std::string &sampleName, const std::string &segmentName, const std::string &suffix) const |
| | the final output location for the given segment
|
|
| virtual std::unique_ptr< DiskWriter > | doMakeWriter (const std::string &sampleName, const std::string &segmentName, const std::string &suffix) const |
| | create a DiskWriter object managing an output file
|
| virtual std::string | getTargetURL (const std::string &sampleName, const std::string &segmentName, const std::string &suffix) const |
| | ClassDef (DiskOutput, 1) |
|
| std::string | m_prefix |
| | the prefix to apply when creating files
|
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 |
◆ 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: