ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
SampleHandler
SampleHandler
DiskWriterLocal.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
#ifndef SAMPLE_HANDLER__DISK_WRITER_LOCAL_H
9
#define SAMPLE_HANDLER__DISK_WRITER_LOCAL_H
10
11
12
#include <
SampleHandler/Global.h
>
13
14
#include <
SampleHandler/DiskWriter.h
>
15
16
namespace
SH
17
{
20
class
DiskWriterLocal
:
public
DiskWriter
21
{
22
//
23
// public interface
24
//
25
30
public
:
31
void
testInvariant
()
const
;
32
33
41
public
:
42
DiskWriterLocal
(
const
std::string& val_path);
43
44
DiskWriterLocal
(
const
DiskWriterLocal
&) =
delete
;
45
DiskWriterLocal
&
operator=
(
const
DiskWriterLocal
&) =
delete
;
46
47
52
public
:
53
~DiskWriterLocal
();
54
55
56
57
//
58
// inherited interface
59
//
60
62
private
:
63
virtual
std::string
getPath
()
const
;
64
65
67
private
:
68
virtual
TFile *
getFile
();
69
70
72
private
:
73
virtual
void
doClose
();
74
75
76
77
//
78
// private interface
79
//
80
82
private
:
83
std::string
m_path
;
84
86
private
:
87
TFile *
m_file
;
88
};
89
}
90
91
#endif
Global.h
DiskWriter.h
SH::DiskWriterLocal::doClose
virtual void doClose()
closes the file we are writing to
Definition
DiskWriterLocal.cxx:93
SH::DiskWriterLocal::getFile
virtual TFile * getFile()
the file we are writing to
Definition
DiskWriterLocal.cxx:83
SH::DiskWriterLocal::testInvariant
void testInvariant() const
test the invariant of this object
Definition
DiskWriterLocal.cxx:28
SH::DiskWriterLocal::DiskWriterLocal
DiskWriterLocal(const std::string &val_path)
standard constructor
Definition
DiskWriterLocal.cxx:35
SH::DiskWriterLocal::~DiskWriterLocal
~DiskWriterLocal()
standard destructor
Definition
DiskWriterLocal.cxx:50
SH::DiskWriterLocal::operator=
DiskWriterLocal & operator=(const DiskWriterLocal &)=delete
SH::DiskWriterLocal::getPath
virtual std::string getPath() const
the path where this file can be accessed or the empty string if it is not known (yet).
Definition
DiskWriterLocal.cxx:74
SH::DiskWriterLocal::DiskWriterLocal
DiskWriterLocal(const DiskWriterLocal &)=delete
SH::DiskWriterLocal::m_file
TFile * m_file
the actual file object
Definition
DiskWriterLocal.h:87
SH::DiskWriterLocal::m_path
std::string m_path
the path being used
Definition
DiskWriterLocal.h:83
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