ATLAS Offline Software
Loading...
Searching...
No Matches
SampleMeta.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SAMPLE_HANDLER__SAMPLE_META_H
6#define SAMPLE_HANDLER__SAMPLE_META_H
7
8//
9// Distributed under the Boost Software License, Version 1.0.
10// (See accompanying file LICENSE_1_0.txt or copy at
11// http://www.boost.org/LICENSE_1_0.txt)
12
13// Please feel free to contact me (krumnack@iastate.edu) for bug
14// reports, feature suggestions, praise and complaints.
15
16
17
19
21
22namespace SH
23{
30 class SampleMeta : public Sample
31 {
32 //
33 // public interface
34 //
35
40 public:
41 void testInvariant () const;
42
43
51 public:
53
54
62 public:
63 SampleMeta (const std::string& name);
64
65
66
67 //
68 // inherited interface
69 //
70
72 private:
73 virtual std::size_t getNumFiles () const;
74
76 private:
77 virtual std::string getFileName (std::size_t index) const;
78
80 private:
81 virtual SamplePtr doMakeLocal () const;
82
84 protected:
85 virtual std::vector<std::string> doMakeFileList () const;
86
87
88
89 //
90 // private interface
91 //
92
94 };
95}
96
97#endif
virtual std::size_t getNumFiles() const
the number of files in the sample
virtual std::vector< std::string > doMakeFileList() const
make a list of all files, prestaging them if necessary
SampleMeta()
standard constructor
virtual std::string getFileName(std::size_t index) const
the name of the file with the given index
SampleMeta(const std::string &name)
standard constructor
virtual SamplePtr doMakeLocal() const
Make this a local sample, i.e.
ClassDef(SampleMeta, 1)
void testInvariant() const
test the invariant of this object
friend class SamplePtr
Definition Sample.h:448
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