Skip to content

Commit

Permalink
add outputBaseDir input argument for online DQM
Browse files Browse the repository at this point in the history
  • Loading branch information
syuvivida committed Jun 29, 2023
1 parent 085daa5 commit 9a024fe
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion DQM/Integration/python/clients/visualization-live_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 14 additions & 0 deletions DQM/Integration/python/config/inputsource_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,20 @@
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
# this additional input argument was added in the hltd framework
# only for the visualization clients
# Note, the other clients do not use this input parameter

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
Expand Down
13 changes: 13 additions & 0 deletions DQM/Integration/python/config/pbsource_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@
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
# this additional input argument was added in the hltd framework
# only for the visualization clients
# Note, the other clients do not use this input parameter

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
Expand Down

0 comments on commit 9a024fe

Please sign in to comment.