From 9d11a9aff80315ec45e3051e6abaa46110e19b4d Mon Sep 17 00:00:00 2001 From: Colin Bernet Date: Thu, 1 Oct 2009 10:14:37 +0000 Subject: [PATCH] added documentation to the castorMerge script --- .../Configuration/python/ProductionTools/castorMerge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoParticleFlow/Configuration/python/ProductionTools/castorMerge.py b/RecoParticleFlow/Configuration/python/ProductionTools/castorMerge.py index abf7574ca8334..dda6dc5fc7319 100755 --- a/RecoParticleFlow/Configuration/python/ProductionTools/castorMerge.py +++ b/RecoParticleFlow/Configuration/python/ProductionTools/castorMerge.py @@ -67,7 +67,7 @@ def processFiles( regexp, files ): parser = OptionParser() -parser.usage = "%prog : merge a set of CMSSW root files on castor." +parser.usage = "%prog : merge a set of CMSSW root files on castor.\n\nThe regexp pattern should contain 2 statements in parenthesis: the first one should match the file prefix, and the second one the file number. The name of the merged file will start by the file prefix. The file number is used to decide which files to take in input. The chunk size is the number of input files to be merged in a given output file.\n\nExample (just try!):\n./castorMerge.py /castor/cern.ch/user/c/cbern/CMSSW312/SinglePions '(.*)_(\d+)\.root' 2 -n" parser.add_option("-n", "--negate", action="store_true", dest="negate", help="do not produce the merged files",