CMS 3D CMS Logo

runPedHist.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("Noise")
4 
5 process.load("FWCore.MessageService.test.Services_cff")
6 
7 process.MessageLogger = cms.Service("MessageLogger",
8  destinations = cms.untracked.vstring('messages.txt'),
9 )
10 
11 
12 process.source = cms.Source("EmptySource",
13  firstRun = cms.untracked.uint32(1)
14 )
15 process.maxEvents = cms.untracked.PSet(
16  input = cms.untracked.int32(1)
17 )
18 
19 
20 
21 # Conditions (Global Tag is used here):
22 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
23 #process.GlobalTag.globaltag = 'GR_R_74_V15B'
24 #process.prefer("GlobalTag")
25 
26 process.PedHist = cms.EDAnalyzer("EcalPedestalHistory",
27 
28  runnumber = cms.untracked.int32(234594),
29  ECALType = cms.string("EE"),
30  runType = cms.string("Pedes"),
31  startevent = cms.untracked.uint32(1),
32  xtalnumber = cms.untracked.int32(0),
33 
34 # Source = cms.PSet(
35  GenTag = cms.string('GLOBAL'),
36  RunTag = cms.string('PEDESTAL'),
37 # firstRun = cms.string('240000'),
38  firstRun = cms.string('157000'),
39  lastRun = cms.string('100000000'),
40  LocationSource = cms.string('P5'),
41  OnlineDBUser = cms.string('cms_ecal_r'),
42  OnlineDBPassword = cms.string('3c4l_r34d3r'),
43  debug = cms.bool(True),
44  Location = cms.string('P5_Co'),
45  OnlineDBSID = cms.string('cms_orcon_adg')
46 # )
47 )
48 
49 process.p = cms.Path(process.PedHist)
50