|
ATLAS Offline Software
|
Go to the documentation of this file.
16 if (gSystem->Exec(
cmd.c_str()) != 0) {
23 using namespace asg::msgUserCode;
34 std::string jobDefFile =
argv[1];
38 std::string
type =
"DEFAULT";
39 std::string mergeCmd =
"";
41 TFile jd(jobDefFile.c_str());
43 std::unique_ptr<TList> outs{
dynamic_cast<TList*
>(jd.Get(
"outputs"))};
44 if (outs.get() ==
nullptr) {
47 TIter itr(outs.get());
49 while ((
obj = itr())) {
60 if (mergeCmd.empty()) {
62 mergeCmd =
"xAODMerge -s";
63 }
else if (
type ==
"xAODNoMeta") {
64 mergeCmd =
"xAODMerge";
static const std::string optMergeCmd
void try_exec(const std::string &cmd)
static const std::string optType
int main(int argc, char **argv)
#define RCU_THROW_MSG(message)
StatusCode Init(const char *appname)
Function initialising ROOT/PyROOT for using the ATLAS EDM.