ATLAS Offline Software
Loading...
Searching...
No Matches
SampleGrid.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_GRID_HH
6#define SAMPLE_HANDLER_SAMPLE_GRID_HH
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
20#include <string>
21#include <vector>
23
24namespace SH
25{
43 class SampleGrid : public Sample
44 {
45 //
46 // public interface
47 //
48
53 public:
54 void testInvariant () const;
55
56
65 public:
67
68
76 public:
77 SampleGrid (const std::string& name);
78
79
80
81 //
82 // inherited interface
83 //
84
86 protected:
87 virtual std::size_t getNumFiles () const;
88
90 protected:
91 virtual std::string getFileName (std::size_t index) const;
92
94 protected:
95 virtual SamplePtr doMakeLocal () const;
96
98 protected:
99 virtual std::vector<std::string> doMakeFileList () const;
100
101
102
103 //
104 // private interface
105 //
106
108 };
109}
110
111#endif
void testInvariant() const
test the invariant of this object
ClassDef(SampleGrid, 1)
SampleGrid(const std::string &name)
standard constructor
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
virtual std::string getFileName(std::size_t index) const
the name of the file with the given index
virtual SamplePtr doMakeLocal() const
Make this a local sample, i.e.
SampleGrid()
standard constructor
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