ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
SampleHandler
SampleHandler
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
10
#include <
SampleHandler/Global.h
>
11
12
#include <
SampleHandler/Sample.h
>
13
14
namespace
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
:
44
SampleMeta
();
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
85
ClassDefOverride
(
SampleMeta
, 1);
86
};
87
}
88
89
#endif
Global.h
Sample.h
SH::SampleMeta::getNumFiles
virtual std::size_t getNumFiles() const override
the number of files in the sample
SH::SampleMeta::SampleMeta
SampleMeta()
standard constructor
SH::SampleMeta::ClassDefOverride
ClassDefOverride(SampleMeta, 1)
SH::SampleMeta::SampleMeta
SampleMeta(const std::string &name)
standard constructor
SH::SampleMeta::doMakeFileList
virtual std::vector< std::string > doMakeFileList() const override
make a list of all files, prestaging them if necessary
SH::SampleMeta::testInvariant
void testInvariant() const
test the invariant of this object
SH::SampleMeta::doMakeLocal
virtual std::unique_ptr< SampleLocal > doMakeLocal() const override
Make this a local sample, i.e.
SH::SampleMeta::getFileName
virtual std::string getFileName(std::size_t index) const override
the name of the file with the given index
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