|
ATLAS Offline Software
|
Go to the documentation of this file.
29 using namespace EL::msgEventLoop;
39 std::pair<Detail::ManagerOrder,std::string> SubmitManager ::
40 getManagerOrder ()
const noexcept
42 return std::make_pair (ManagerOrder::OPERATION,
"");
64 data.options.fetchDefaults (*
data.driver->options());
79 std::unique_ptr<TFile>
file (TFile::Open ((
data.submitDir +
"/driver.root").c_str(),
"RECREATE"));
80 file->WriteObject (
data.driver,
"driver");
83 data.job->sampleHandler().save (
data.submitDir +
"/input");
85 std::ofstream
file ((
data.submitDir +
"/location").c_str());
94 =
data.submitDir +
"/hist-" + (*sample)->name() +
".root";
95 std::unique_ptr<SH::SampleHist>
hist
97 hist->meta()->fetch (*(*sample)->meta());
100 sh_hist.
save (
data.submitDir +
"/hist");
114 ANA_MSG_FATAL (
"Driver::submit not implemented in class " <<
typeid(*
data.driver).name());
121 std::ofstream ((
data.submitDir +
"/submitted").c_str());
135 ANA_MSG_FATAL (
"Driver::resubmit not implemented in class " <<
typeid(*
data.driver).name());
146 return ::StatusCode::SUCCESS;
char data[hepevt_bytes_allocation_ATLAS]
@ fillOptions
in this step we fill the options structure, combining the different locations from which we can pull ...
std::vector< Sample * >::const_iterator iterator
the iterator to use
void add(Sample *sample)
add a sample to the handler
static const std::string name
description: the name of the service
@ postSubmit
do whatever needs to be done after the submission is done
A sample that represents a single histogram file.
bool const RAWDATA *ch2 const
static const std::string optDisableMetrics
description: the option to turn off collection of performance data
@ addSystemAlgs
add any system algorithms to the job that may need to get added
@ finalResubmit
the final resubmit step
void save(const std::string &directory) const
save the list of samples to the given directory
@ initialSubmit
the initial submit step
::StatusCode StatusCode
StatusCode definition for legacy code.
@ initial
this is just the initial step we do, nothing really happens here
This module defines the arguments passed from the BATCH driver to the BATCH worker.
@ prepareSubmitDir
prepare files in our submission directory
an internal data structure for passing data between different manager objects anbd step
@ finalSubmit
the final submit step
A class that manages a list of Sample objects.
@ submitJob
do the actual job submission
@ initialResubmit
the initial resubmit step