diff --git a/DQM/Integration/python/clients/visualization-live-secondInstance_cfg.py b/DQM/Integration/python/clients/visualization-live-secondInstance_cfg.py index a056d7d4a9557..ec2b36cea9a08 100644 --- a/DQM/Integration/python/clients/visualization-live-secondInstance_cfg.py +++ b/DQM/Integration/python/clients/visualization-live-secondInstance_cfg.py @@ -79,7 +79,7 @@ m = re.search(r"\((\w+)\)", str(source.runNumber)) runno = str(m.group(1)) - outDir= '/fff/BU0/output/EvD/run'+runno+'/streamEvDOutput2' + outDir= options.outputBaseDir+'/EvD/run'+runno+'/streamEvDOutput2' else: runno = options.runNumber outDir = "./upload" diff --git a/DQM/Integration/python/clients/visualization-live_cfg.py b/DQM/Integration/python/clients/visualization-live_cfg.py index d1adac1c8b1b2..d62f03b8e9400 100644 --- a/DQM/Integration/python/clients/visualization-live_cfg.py +++ b/DQM/Integration/python/clients/visualization-live_cfg.py @@ -77,7 +77,7 @@ m = re.search(r"\((\w+)\)", str(source.runNumber)) runno = str(m.group(1)) - outDir= '/fff/BU0/output/EvD/run'+runno+'/streamEvDOutput' + outDir= options.outputBaseDir+'/EvD/run'+runno+'/streamEvDOutput' else: runno = options.runNumber outDir = "./upload" diff --git a/DQM/Integration/python/config/inputsource_cfi.py b/DQM/Integration/python/config/inputsource_cfi.py index 0da9bea589e9e..b4744fa7e16fd 100644 --- a/DQM/Integration/python/config/inputsource_cfi.py +++ b/DQM/Integration/python/config/inputsource_cfi.py @@ -67,6 +67,17 @@ VarParsing.VarParsing.varType.string, "Unique run key from RCMS for Frontier") +# Parameter for output directory of the event display clients +# visualization-live and visualization-live-secondInstance + +options.register('outputBaseDir', + '/fff/BU0/output', + VarParsing.VarParsing.multiplicity.singleton, + VarParsing.VarParsing.varType.string, + "Directory where the visualization output files will appear.") + + + options.parseArguments() # Fix to allow scram to compile