ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
SampleHandler
SampleHandler
SampleGrid.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef SAMPLE_HANDLER_SAMPLE_GRID_HH
8
#define SAMPLE_HANDLER_SAMPLE_GRID_HH
9
10
#include <
SampleHandler/Global.h
>
11
12
#include <string>
13
#include <vector>
14
#include <
SampleHandler/Sample.h
>
15
16
namespace
SH
17
{
35
class
SampleGrid
final :
public
Sample
36
{
37
//
38
// public interface
39
//
40
45
public
:
46
void
testInvariant
()
const
;
47
48
57
public
:
58
SampleGrid
();
59
60
68
public
:
69
SampleGrid
(
const
std::string&
name
);
70
71
72
73
//
74
// inherited interface
75
//
76
78
protected
:
79
virtual
std::size_t
getNumFiles
()
const override
;
80
82
protected
:
83
virtual
std::string
getFileName
(std::size_t
index
)
const override
;
84
86
protected
:
87
virtual
std::unique_ptr<SampleLocal>
doMakeLocal
()
const override
;
88
90
protected
:
91
virtual
std::vector<std::string>
doMakeFileList
()
const override
;
92
93
94
95
//
96
// private interface
97
//
98
99
ClassDefOverride
(
SampleGrid
, 1);
100
};
101
}
102
103
#endif
Global.h
Sample.h
SH::SampleGrid::testInvariant
void testInvariant() const
test the invariant of this object
SH::SampleGrid::ClassDefOverride
ClassDefOverride(SampleGrid, 1)
SH::SampleGrid::SampleGrid
SampleGrid(const std::string &name)
standard constructor
SH::SampleGrid::doMakeFileList
virtual std::vector< std::string > doMakeFileList() const override
make a list of all files, prestaging them if necessary
SH::SampleGrid::getFileName
virtual std::string getFileName(std::size_t index) const override
the name of the file with the given index
SH::SampleGrid::getNumFiles
virtual std::size_t getNumFiles() const override
the number of files in the sample
SH::SampleGrid::doMakeLocal
virtual std::unique_ptr< SampleLocal > doMakeLocal() const override
Make this a local sample, i.e.
SH::SampleGrid::SampleGrid
SampleGrid()
standard constructor
SH::Sample::Sample
Sample(const std::string &name)
standard constructor
SH::Sample::name
const std::string & name() const
the name of the sample we are using
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition
PrunDriver.h:15
index
Definition
index.py:1
Generated on
for ATLAS Offline Software by
1.17.0