ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12#include <string>
13#include <vector>
15
16namespace 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:
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
100 };
101}
102
103#endif
void testInvariant() const
test the invariant of this object
ClassDefOverride(SampleGrid, 1)
SampleGrid(const std::string &name)
standard constructor
virtual std::vector< std::string > doMakeFileList() const override
make a list of all files, prestaging them if necessary
virtual std::string getFileName(std::size_t index) const override
the name of the file with the given index
virtual std::size_t getNumFiles() const override
the number of files in the sample
virtual std::unique_ptr< SampleLocal > doMakeLocal() const override
Make this a local sample, i.e.
SampleGrid()
standard constructor
Sample(const std::string &name)
standard constructor
const std::string & name() const
the name of the sample we are using
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition PrunDriver.h:15
Definition index.py:1