Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76670
b: "refs/heads/CMSSW_7_1_X"
c: 1df6f32
h: "refs/heads/CMSSW_7_1_X"
v: v3
  • Loading branch information
Giuseppe Della Ricca committed Oct 30, 2009
1 parent c6fba92 commit deb35f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": 8c681cdb3ec3b950ccc929505af510520f3b92a7
"refs/heads/CMSSW_7_1_X": 1df6f32c473c1d1822fb223a2cc3c07afb153eae
5 changes: 4 additions & 1 deletion trunk/DQM/EcalCommon/tools/ec_mon3/ec_mon_cmssw_task_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ open CONFIGFILE, ">>$config{'ec_mon_master_rundir'}/dqm-data/tmp/monitor-$runnum
print CONFIGFILE <<EOF1;
import FWCore.ParameterSet.Config as cms
import os
os.environ['TNS_ADMIN']='/etc'
dbName = ''
dbHostName = ''
dbHostPort = 1521
Expand Down Expand Up @@ -446,7 +449,7 @@ EOF2

close CONFIGFILE;

$task = "source $cmssw_setup ; cd $cmssw_path ; eval `scramv1 runtime -sh` ; cd $config{'ec_mon_master_rundir'}/dqm-data/tmp/ ; TNS_ADMIN=/etc ; time cmsRun monitor-$runnum.py";
$task = "source $cmssw_setup ; cd $cmssw_path ; eval `scramv1 runtime -sh` ; cd $config{'ec_mon_master_rundir'}/dqm-data/tmp/ ; time cmsRun monitor-$runnum.py";

if ( -e "$config{'ec_mon_master_rundir'}/dqm-data/logs/$runnum.cmssw.log" ) {
system("rm -f $config{'ec_mon_master_rundir'}/dqm-data/logs/$runnum.cmssw.log >> /dev/null 2>&1");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ open CONFIGFILE, ">>$config{'ec_mon_master_rundir'}/dqm-data/tmp/pedestal-offset
print CONFIGFILE <<EOF1;
import FWCore.ParameterSet.Config as cms
import os
os.environ['TNS_ADMIN']='/etc'
dbName = ''
dbHostName = ''
dbHostPort = 1521
Expand Down Expand Up @@ -264,7 +267,7 @@ EOF3

close CONFIGFILE;

$task = "source $cmssw_setup ; cd $cmssw_path ; eval `scramv1 runtime -sh` ; cd $config{'ec_mon_master_rundir'}/dqm-data/tmp/ ; TNS_ADMIN=/etc ; time cmsRun pedestal-offset-$runnum.py";
$task = "source $cmssw_setup ; cd $cmssw_path ; eval `scramv1 runtime -sh` ; cd $config{'ec_mon_master_rundir'}/dqm-data/tmp/ ; time cmsRun pedestal-offset-$runnum.py";

if ( -e "$config{'ec_mon_master_rundir'}/dqm-data/logs/pedestal-offset-$runnum.log" ) {
system("rm -f $config{'ec_mon_master_rundir'}/dqm-data/logs/pedestal-offset-$runnum.log >> /dev/null 2>&1");
Expand Down

0 comments on commit deb35f9

Please sign in to comment.