ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
SampleHandler
SampleHandler
DiskWriterXRD.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef SAMPLE_HANDLER__DISK_WRITER_XRD_H
9
#define SAMPLE_HANDLER__DISK_WRITER_XRD_H
10
11
12
#include <
SampleHandler/Global.h
>
13
14
#include <
SampleHandler/DiskWriter.h
>
15
#include <memory>
16
17
namespace
SH
18
{
21
class
DiskWriterXRD
final :
public
DiskWriter
22
{
23
//
24
// public interface
25
//
26
30
public
:
31
void
testInvariant
()
const
;
32
33
40
public
:
41
DiskWriterXRD
(
const
std::string& val_path);
42
43
47
public
:
48
~DiskWriterXRD
();
49
50
51
52
//
53
// inherited interface
54
//
55
57
private
:
58
virtual
std::string
getPath
()
const override
;
59
60
62
private
:
63
virtual
TFile *
getFile
()
override
;
64
65
67
private
:
68
virtual
void
doClose
()
override
;
69
70
71
72
//
73
// private interface
74
//
75
77
private
:
78
std::string
m_tmp
;
79
81
private
:
82
std::string
m_path
;
83
85
private
:
86
std::unique_ptr<TFile>
m_file
;
87
};
88
}
89
90
#endif
Global.h
DiskWriter.h
SH::DiskWriterXRD::m_tmp
std::string m_tmp
the temporary path being used
Definition
DiskWriterXRD.h:78
SH::DiskWriterXRD::m_path
std::string m_path
the path being used
Definition
DiskWriterXRD.h:82
SH::DiskWriterXRD::m_file
std::unique_ptr< TFile > m_file
the actual file object
Definition
DiskWriterXRD.h:86
SH::DiskWriterXRD::doClose
virtual void doClose() override
closes the file we are writing to
Definition
DiskWriterXRD.cxx:124
SH::DiskWriterXRD::getPath
virtual std::string getPath() const override
the path where this file can be accessed or the empty string if it is not known (yet).
Definition
DiskWriterXRD.cxx:105
SH::DiskWriterXRD::testInvariant
void testInvariant() const
test the invariant of this object
Definition
DiskWriterXRD.cxx:36
SH::DiskWriterXRD::DiskWriterXRD
DiskWriterXRD(const std::string &val_path)
standard constructor
Definition
DiskWriterXRD.cxx:43
SH::DiskWriterXRD::~DiskWriterXRD
~DiskWriterXRD()
standard destructor
Definition
DiskWriterXRD.cxx:81
SH::DiskWriterXRD::getFile
virtual TFile * getFile() override
the file we are writing to
Definition
DiskWriterXRD.cxx:114
SH::DiskWriter::DiskWriter
DiskWriter()
standard constructor
Definition
DiskWriter.cxx:30
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition
PrunDriver.h:15
Generated on
for ATLAS Offline Software by
1.17.0