 |
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];
35 std::string output =
argv[2];
36 std::string input =
argv[3];
38 std::string
type =
"DEFAULT";
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())) {
51 if (std::regex_match(output,
std::regex(
os->label() +
"\\.root.*")) ||
52 std::regex_match(output,
std::regex(
".*\\." +
os->label() +
"\\.root.*")))
63 }
else if (
type ==
"xAODNoMeta") {
69 mergeCmd +=
" " + output +
" " + input;
list mergeCmd
merge output script
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.