|
ATLAS Offline Software
|
Go to the documentation of this file.
78 RCU_THROW_MSG (
"Sample::numFiles not supported for SampleComposite");
88 RCU_THROW_MSG (
"Sample::fileName not supported for SampleComposite");
99 std::vector<std::string>
result;
103 std::vector<std::string> subresult = (*sample)->makeFileList();
104 result.insert (
result.end(), subresult.begin(), subresult.end());
115 RCU_THROW_MSG (
"Sample::makeLocal not supported for SampleComposite");
128 (*sample)->updateLocation (from,
to);
141 if ((*sample)->contains (
name))
156 (*sample)->addSamples (
result);
JetConstituentVector::iterator iterator
virtual std::size_t getNumFiles() const
the number of files in the sample
SampleComposite()
standard constructor
virtual bool getContains(const std::string &name) const
whether this sample contains a sample of the given name
void testInvariant() const
test the invariant of this object
std::vector< SamplePtr >::const_iterator SamplesIter
the iterator for m_samples
virtual void doAddSamples(SampleHandler &result)
add all samples this sample corresponds to to the given sample handler
#define RCU_REQUIRE_SOFT(x)
ClassImp(SH::SampleComposite) namespace SH
void add(const SamplePtr &sample)
add a sample to the list
virtual void doUpdateLocation(const std::string &from, const std::string &to)
update all file references starting with from to to
virtual std::string getFileName(std::size_t index) const
the name of the file with the given index
virtual std::vector< std::string > doMakeFileList() const
make a list of all files, prestaging them if necessary
const std::string & name() const
the name of the sample we are using
bool contains(const std::string &name) const
whether this sample contains a sample of the given name
virtual SamplePtr doMakeLocal() const
Make this a local sample, i.e.
#define RCU_CHANGE_INVARIANT(x)
std::vector< SamplePtr > m_samples
the list of samples we use
This module provides a lot of global definitions, forward declarations and includes that are used by ...
#define RCU_THROW_MSG(message)
This module defines an implementation of Sample that contains composite samples.
#define RCU_READ_INVARIANT(x)
#define RCU_NEW_INVARIANT(x)