8 int main(
int argc,
char** argv)
11 std::cout <<
"usage: concat_cafs INFILES OUTFILE\n"
12 <<
" concat_cafs INFILES... OUTFILE\n"
13 <<
" concat_cafs 'WILDCARD' OUTFILE\n"
14 <<
" concat_cafs SAMDEF OUTFILE\n"
15 <<
"Warning: this argument order is different to hadd"
20 std::vector<std::string> infiles;
21 for(
int i = 1; i < argc-1; ++i) infiles.push_back(argv[i]);
22 const std::string outfile = argv[argc-1];
25 if(infiles.size() == 1){
40 std::cout <<
"Created " << outfile << std::endl;
void SetMetadata(const std::string &key, const std::string &val)
Override any metadata key in the output file.
process_name opflashCryoW ana
virtual void Go() override
Load all the registered spectra.
int main(int argc, char **argv)
BEGIN_PROLOG could also be cout