ATLAS Offline Software
Loading...
Searching...
No Matches
SampleMeta.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_META_H
8#define SAMPLE_HANDLER__SAMPLE_META_H
9
11
13
14namespace SH
15{
22 class SampleMeta final : public Sample
23 {
24 //
25 // public interface
26 //
27
32 public:
33 void testInvariant () const;
34
35
43 public:
45
46
54 public:
55 SampleMeta (const std::string& name);
56
57
58
59 //
60 // inherited interface
61 //
62
64 private:
65 virtual std::size_t getNumFiles () const override;
66
68 private:
69 virtual std::string getFileName (std::size_t index) const override;
70
72 private:
73 virtual std::unique_ptr<SampleLocal> doMakeLocal () const override;
74
76 protected:
77 virtual std::vector<std::string> doMakeFileList () const override;
78
79
80
81 //
82 // private interface
83 //
84
86 };
87}
88
89#endif
virtual std::size_t getNumFiles() const override
the number of files in the sample
SampleMeta()
standard constructor
ClassDefOverride(SampleMeta, 1)
SampleMeta(const std::string &name)
standard constructor
virtual std::vector< std::string > doMakeFileList() const override
make a list of all files, prestaging them if necessary
void testInvariant() const
test the invariant of this object
virtual std::unique_ptr< SampleLocal > doMakeLocal() const override
Make this a local sample, i.e.
virtual std::string getFileName(std::size_t index) const override
the name of the file with the given index
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