diff --git a/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/run_CollUtils_xml b/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/run_CollUtils_xml index 5d2536033486e7ce0ad1360fed6e8b2cfafb5e4b..87d9716fc3f3f824b1e5cf1e0161a0eade25f694 100755 --- a/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/run_CollUtils_xml +++ b/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/run_CollUtils_xml @@ -3,7 +3,7 @@ DATADIR=/afs/cern.ch/atlas/offline/test/POOLCollectionTools XMLINPUT=$DATADIR/tagExtract_PUR.xml UTIL=CollAppend -UTIL2=CollAppend.exe +UTIL2=AthCollAppend # remove detritus from previous tests rm -f PoolCollectionCatalog.xml @@ -24,7 +24,7 @@ fi cmd="$UTIL -xmlInput $XMLINPUT" echo $cmd #$cmd -# Check Atlas version CollAppend +# Check Atlas version AthCollAppend cmd="$UTIL2 -xmlInput $XMLINPUT" echo $cmd $cmd diff --git a/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/tagExtract_PUR.xml b/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/tagExtract_PUR.xml index 7870d674fb96ca25e562217565c59bd013596f1d..af335bc0a64d2391d75b5994e1cfd42f11cbc147 100644 --- a/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/tagExtract_PUR.xml +++ b/AtlasTest/DatabaseTest/POOLCollectionToolsTest/test/tagExtract_PUR.xml @@ -1,8 +1,8 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <!DOCTYPE ArgList> <ArgList> - <ToolInfo date="Tue Nov 9 18:49:00 2010
" toolID="CollAppend.exe"> + <ToolInfo date="Tue Nov 9 18:49:00 2010
" toolID="AthCollAppend"> <CliArg name="QueryInfo" option="-query"> <datum/> <CliArg name="DstInfo" option="-dst"> diff --git a/Database/APR/CollectionUtilities/src/Args2Container.dtd b/Database/APR/CollectionUtilities/src/Args2Container.dtd index 24ef8df732b8152be18389fdfbc79a53cf4bd4bf..69d8bd95e13bfe2f4dd9ad063f9e7490d7dcbcd2 100644 --- a/Database/APR/CollectionUtilities/src/Args2Container.dtd +++ b/Database/APR/CollectionUtilities/src/Args2Container.dtd @@ -7,7 +7,7 @@ <!DOCTYPE ArgList> <ArgList> - <ToolInfo date="Mon May 24 18:13:30 2010
" toolID="CollAppend.exe"> + <ToolInfo date="Mon May 24 18:13:30 2010
" toolID="AthCollAppend"> <CliArg name="QueryInfo" option="-query"> <datum>RunNumber=153200 AND (bitand(L1PassedTrigMaskTAV7, power(2,36)) = 0)</datum> </CliArg> diff --git a/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt b/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt index 8a269318fdff1990e7bfba1369b877769b5ffe70..b02ece0dfb0e84a3da6fa2c359ab17302661961e 100644 --- a/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt +++ b/Database/AthenaPOOL/AtlasCollectionTools/CMakeLists.txt @@ -24,13 +24,10 @@ atlas_add_library( AtlasCollectionTools LINK_LIBRARIES GoodRunsListsLib PRIVATE_LINK_LIBRARIES CollectionBase CollectionUtilities POOLCore PersistencySvc StorageSvc ) -atlas_add_executable( CollAppend +atlas_add_executable( AthCollAppend src/CollAppend.cxx LINK_LIBRARIES GoodRunsListsLib CollectionBase CollectionUtilities POOLCore PersistencySvc StorageSvc AtlasCollectionTools ) -atlas_add_executable( CollAppendXML - src/CollAppendXML.cxx - LINK_LIBRARIES GoodRunsListsLib CollectionBase CollectionUtilities POOLCore PersistencySvc StorageSvc AtlasCollectionTools ) # Install files from the package: atlas_install_python_modules( python/countGuidsClient.py python/eventLookupClient.py ) diff --git a/Database/AthenaPOOL/AtlasCollectionTools/cmt/requirements b/Database/AthenaPOOL/AtlasCollectionTools/cmt/requirements index 2e32146a1a991835189860372a0d5dbeb40f2258..d20067c71c21b4b6fc1519062393f66f7b4c0700 100755 --- a/Database/AthenaPOOL/AtlasCollectionTools/cmt/requirements +++ b/Database/AthenaPOOL/AtlasCollectionTools/cmt/requirements @@ -12,10 +12,8 @@ library AtlasCollectionTools LumiMetaHandler.cxx GlobalUniqueKey.cxx GlobalSum.c #application CollSplitByRun CollSplitByRun.cxx #macro_append CollSplitByRun_dependencies " AtlasCollectionTools" -application CollAppend CollAppend.cxx -macro_append CollAppend_dependencies " AtlasCollectionTools" -application CollAppendXML CollAppendXML.cxx -macro_append CollAppendXML_dependencies " AtlasCollectionTools" +application AthCollAppend CollAppend.cxx +macro_append AthCollAppend_dependencies " AtlasCollectionTools" #application GRLtest GRLtest.cxx macro_append AtlasCollectionTools_cppflags " `xml2-config --cflags`" diff --git a/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppend.cxx b/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppend.cxx index e31e2e3298c6965f350a76b4b17ea661df9f85c5..367d047646aeb4c0fca1c820e64ec87d7ceca355 100755 --- a/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppend.cxx +++ b/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppend.cxx @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) doh = metareg->insert(std::make_pair("WeightedEventSum",gsum)).second; if (!doh) cerr << "Could not add " << gsum->name() << " for WeightedEventSum" << endl; - string thisProgram("CollAppend.exe"); + string thisProgram("AthCollAppend"); // Convert argv to vector of strings vector<string> argv_v; for( int i=0; i<argc; ++ i ) diff --git a/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppendXML.cxx b/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppendXML.cxx deleted file mode 100755 index 7cd75338d98e7b31037931558a0fd23fe05b6433..0000000000000000000000000000000000000000 --- a/Database/AthenaPOOL/AtlasCollectionTools/src/CollAppendXML.cxx +++ /dev/null @@ -1,30 +0,0 @@ -/* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration -*/ - -/** - * @file CollAppendXML.cpp - * @brief Utility to generate XML for CollAppend argument list - * @author K. Karr <Kristo.Karr@cern.ch> - * @author Marcin.Nowak@cern.ch - * $Id: CollAppendXML.cxx,v 1.31 2009-05-04 15:57:47 cranshaw Exp $ - */ - -#include "CollectionUtilities/CollAppendBase.h" -#include <iostream> - -using namespace std; -using namespace pool; - -int main(int argc, char *argv[]) -{ - string thisProgram("CollAppend.exe"); - // Convert argv to vector of strings - vector<string> argv_v; - for( int i=0; i<argc; ++ i ) - argv_v.push_back( argv[i] ); - - CollAppendBase worker(thisProgram); - return worker.execute( argv_v ); -} - diff --git a/Tools/PyJobTransformsMisc/share/merge_trf.py b/Tools/PyJobTransformsMisc/share/merge_trf.py index b016369c04173f99dc67f29f595f979c82f12ebc..2222d3eb680ec6491c820376929787edfb9c2f3d 100755 --- a/Tools/PyJobTransformsMisc/share/merge_trf.py +++ b/Tools/PyJobTransformsMisc/share/merge_trf.py @@ -126,9 +126,9 @@ MERGEDICT = { 'ntuple': { 'scriptpath' : 'hadd', 'verifymerge' : verifyTAGmerge, 'posttrfaction' : 'mv %(outputfile)s.root %(outputfile)s' }, - 'tag1': { 'scriptpath' : 'export ROOTENV_NO_HOME=1; CollAppend.exe', + 'tag1': { 'scriptpath' : 'export ROOTENV_NO_HOME=1; AthCollAppend', 'usage' : '%(scriptpath)s -src %(inputfilelist)s -dst %(outputfile)s %(extraopts)s', - 'description' : 'Merge TAG files with CollAppend.exe (Atlas)', + 'description' : 'Merge TAG files with AthCollAppend (Atlas)', 'splitinputfilelist' : True, 'extraopts' : '-nevtcached 5000 -merge', 'inputfilelistseparator' : ' ',