-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 77311 b: "refs/heads/CMSSW_7_1_X" c: bd9ed77 h: "refs/heads/CMSSW_7_1_X" i: 77309: ccca38a 77307: da11092 77303: 834dd0b 77295: 552d348 77279: 1e83f0b 77247: 39b67d6 77183: 85fb53c 77055: bb55e30 76799: 568e590 v: v3
- Loading branch information
Vasile Mihai Ghete
committed
Nov 6, 2009
1 parent
2ae3efd
commit 327d0c5
Showing
3 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": af465c24f7845338043464a5e66b1df97a6218ca | ||
"refs/heads/CMSSW_7_1_X": bd9ed775070e7f37ffc5772b3851d9a8a94c4d1f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
trunk/L1TriggerConfig/L1GtConfigProducers/test/L1GtOnlineWriteSqlTest_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# cfg file to write a SQL file from OMDS - must be run on .cms cluster | ||
|
||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("L1ConfigWritePayloadDummy") | ||
|
||
###################### user choices ###################### | ||
|
||
testKeyL1Menu = cms.string('L1Menu_Commissioning2009_v6/L1T_Scales_20080926_startup/Imp0/0x100e') | ||
|
||
###################### end user choices ################### | ||
|
||
# number of events and source | ||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
process.source = cms.Source("EmptyIOVSource", | ||
timetype = cms.string('runnumber'), | ||
firstValue = cms.uint64(4294967295), | ||
lastValue = cms.uint64(4294967295), | ||
interval = cms.uint64(1) | ||
) | ||
|
||
# Generate dummy L1TriggerKeyList | ||
process.load("CondTools.L1Trigger.L1TriggerKeyListDummy_cff") | ||
|
||
# Get configuration data from OMDS. This is the subclass of L1ConfigOnlineProdBase. | ||
process.load("L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuOnline_cfi") | ||
|
||
from CondTools.L1Trigger.L1CondDBPayloadWriter_cff import initPayloadWriter | ||
initPayloadWriter( process ) | ||
process.L1CondDBPayloadWriter.writeL1TriggerKey = cms.bool(False) | ||
|
||
process.load("CondTools.L1Trigger.L1TriggerKeyDummy_cff") | ||
process.L1TriggerKeyDummy.objectKeys = cms.VPSet( | ||
cms.PSet( | ||
record = cms.string('L1GtTriggerMenuRcd'), | ||
type = cms.string('L1GtTriggerMenu'), | ||
key = testKeyL1Menu | ||
) | ||
) | ||
|
||
process.p = cms.Path(process.L1CondDBPayloadWriter) | ||
|
||
# Message Logger | ||
process.load("FWCore.MessageLogger.MessageLogger_cfi") | ||
process.MessageLogger.cout.placeholder = cms.untracked.bool(False) | ||
process.MessageLogger.cout.threshold = cms.untracked.string('DEBUG') | ||
process.MessageLogger.debugModules = cms.untracked.vstring('*') | ||
|