ATLAS Offline Software
DiskOutputXRD.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef SAMPLE_HANDLER__DISK_OUTPUT_XRD_H
9 #define SAMPLE_HANDLER__DISK_OUTPUT_XRD_H
10 
11 
12 #include <SampleHandler/Global.h>
13 
15 
16 namespace SH
17 {
22  class DiskOutputXRD final : public DiskOutput
23  {
24  //
25  // public interface
26  //
27 
31  public:
32  void testInvariant () const;
33 
34 
42  public:
44 
45 
52  public:
53  explicit DiskOutputXRD (const std::string& val_prefix);
54 
55 
56 
57  //
58  // inherited interface
59  //
60 
61  protected:
62  virtual std::unique_ptr<DiskWriter>
63  doMakeWriter (const std::string& sampleName,
64  const std::string& segmentName,
65  const std::string& suffix) const;
66 
67  protected:
68  virtual std::string
69  getTargetURL (const std::string& sampleName,
70  const std::string& segmentName,
71  const std::string& suffix) const;
72 
73 
74 
75  //
76  // private interface
77  //
78 
80  private:
81  std::string m_prefix;
82 
84  };
85 }
86 
87 #endif
SH::DiskOutputXRD
an implementation of DiskOutput using the XRD protocol
Definition: DiskOutputXRD.h:23
SH::DiskOutputXRD::m_prefix
std::string m_prefix
the prefix to apply when creating files
Definition: DiskOutputXRD.h:81
hotSpotInTAG.suffix
string suffix
Definition: hotSpotInTAG.py:186
SH::DiskOutputXRD::getTargetURL
virtual std::string getTargetURL(const std::string &sampleName, const std::string &segmentName, const std::string &suffix) const
SH::DiskOutputXRD::ClassDef
ClassDef(DiskOutputXRD, 1)
SH::DiskOutputXRD::testInvariant
void testInvariant() const
test the invariant of this object
SH::DiskOutput
a class/interface representing an output location for files
Definition: DiskOutput.h:46
DiskOutput.h
SH::DiskOutputXRD::DiskOutputXRD
DiskOutputXRD(const std::string &val_prefix)
standard constructor
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition: PrunDriver.h:15
SH::DiskOutputXRD::doMakeWriter
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
Global.h
SH::DiskOutputXRD::DiskOutputXRD
DiskOutputXRD()
standard default constructor