ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
15
16namespace SH
17{
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
46
47
52 public:
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
virtual void doClose()
closes the file we are writing to
virtual TFile * getFile()
the file we are writing to
void testInvariant() const
test the invariant of this object
DiskWriterLocal(const std::string &val_path)
standard constructor
~DiskWriterLocal()
standard destructor
DiskWriterLocal & operator=(const DiskWriterLocal &)=delete
virtual std::string getPath() const
the path where this file can be accessed or the empty string if it is not known (yet).
DiskWriterLocal(const DiskWriterLocal &)=delete
TFile * m_file
the actual file object
std::string m_path
the path being used
DiskWriter()
standard constructor
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition PrunDriver.h:15