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  cerr = cms.untracked.PSet(
9  enable = cms.untracked.bool(False)
10  ),
11  files = cms.untracked.PSet(
12  messages = cms.untracked.PSet(
13  extension = cms.untracked.string('txt')
14  )
15  )
16 )
17 
18 
19 process.source = cms.Source("EmptySource",
20  firstRun = cms.untracked.uint32(1)
21 )
22 process.maxEvents = cms.untracked.PSet(
23  input = cms.untracked.int32(1)
24 )
25 
26 
27 
28 # Conditions (Global Tag is used here):
29 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
30 #process.GlobalTag.globaltag = 'GR_R_74_V15B'
31 #process.prefer("GlobalTag")
32 
33 process.PedHist = cms.EDAnalyzer("EcalPedestalHistory",
34 
35  runnumber = cms.untracked.int32(234594),
36  ECALType = cms.string("EE"),
37  runType = cms.string("Pedes"),
38  startevent = cms.untracked.uint32(1),
39  xtalnumber = cms.untracked.int32(0),
40 
41 # Source = cms.PSet(
42  GenTag = cms.string('GLOBAL'),
43  RunTag = cms.string('PEDESTAL'),
44 # firstRun = cms.string('240000'),
45  firstRun = cms.string('157000'),
46  lastRun = cms.string('100000000'),
47  LocationSource = cms.string('P5'),
48  OnlineDBUser = cms.string('cms_ecal_r'),
49  OnlineDBPassword = cms.string('3c4l_r34d3r'),
50  debug = cms.bool(True),
51  Location = cms.string('P5_Co'),
52  OnlineDBSID = cms.string('cms_orcon_adg')
53 # )
54 )
55 
56 process.p = cms.Path(process.PedHist)
57