Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Della Ricca committed Oct 30, 2009
1 parent 8c681cd commit 1df6f32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion 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 1df6f32

Please sign in to comment.