ATLAS Offline Software
DiskOutputLocal.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_LOCAL_H
9 #define SAMPLE_HANDLER__DISK_OUTPUT_LOCAL_H
10 
11 
12 #include <SampleHandler/Global.h>
13 
15 
16 namespace SH
17 {
22  class DiskOutputLocal final : public DiskOutput
23  {
24  //
25  // public interface
26  //
27 
32  public:
33  void testInvariant () const;
34 
35 
44  public:
46 
47 
54  public:
55  explicit DiskOutputLocal (const std::string& val_prefix);
56 
57 
58 
59  //
60  // inherited interface
61  //
62 
63  protected:
64  virtual std::unique_ptr<DiskWriter>
65  doMakeWriter (const std::string& sampleName,
66  const std::string& segmentName,
67  const std::string& suffix) const;
68 
69  protected:
70  virtual std::string
71  getTargetURL (const std::string& sampleName,
72  const std::string& segmentName,
73  const std::string& suffix) const;
74 
75 
76 
77  //
78  // private interface
79  //
80 
82  private:
83  std::string m_prefix;
84 
86  };
87 }
88 
89 #endif
SH::DiskOutputLocal::m_prefix
std::string m_prefix
the prefix to apply when creating files
Definition: DiskOutputLocal.h:83
hotSpotInTAG.suffix
string suffix
Definition: hotSpotInTAG.py:186
SH::DiskOutputLocal::DiskOutputLocal
DiskOutputLocal(const std::string &val_prefix)
standard constructor
SH::DiskOutputLocal
an implementation of DiskOutput for local disks
Definition: DiskOutputLocal.h:23
SH::DiskOutputLocal::DiskOutputLocal
DiskOutputLocal()
standard default constructor
SH::DiskOutput
a class/interface representing an output location for files
Definition: DiskOutput.h:46
SH::DiskOutputLocal::ClassDef
ClassDef(DiskOutputLocal, 1)
DiskOutput.h
SH::DiskOutputLocal::getTargetURL
virtual std::string getTargetURL(const std::string &sampleName, const std::string &segmentName, const std::string &suffix) const
SH::DiskOutputLocal::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
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition: PrunDriver.h:15
Global.h
SH::DiskOutputLocal::testInvariant
void testInvariant() const
test the invariant of this object