![]() |
ATLAS Offline Software
|
#include <SampleHandler/ToolsSplit.h>#include <RootCoreUtils/Assert.h>#include <SampleHandler/MessageCheck.h>#include <SampleHandler/MetaFields.h>#include <SampleHandler/MetaObject.h>#include <SampleHandler/MetaVector.h>#include <SampleHandler/SampleHandler.h>#include <SampleHandler/SampleLocal.h>#include <TFile.h>#include <TTree.h>#include <memory>#include <sstream>#include <stdexcept>Go to the source code of this file.
Namespaces | |
| namespace | SH |
| This module provides a lot of global definitions, forward declarations and includes that are used by all modules. | |
Functions | |
| void | SH::scanNEvents (SampleHandler &sh) |
| effects: scan each sample in the sample handler and store the number of entries per file in the meta-data guarantee: basic, may only scan some failures: out of memory failures: read errors failures: invalid sample type | |
| void | SH::scanNEvents (Sample &sample) |
| effects: scan the given sample and store the number of entries per file in the meta-data guarantee: strong failures: out of memory failures: read errors failures: invalid sample type | |
| SampleHandler | SH::splitSample (Sample &sample, Long64_t nevt) |
| effects: split the given sample into a set of samples, with each sample containing either exactly one file or at most nevt events side effects: if scanNEvents hasn't been run on this sample, run it. | |