CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlCaHarvesting_cff.py
Go to the documentation of this file.
2 
3 # import the needed ingredients
7 
8 # commoon ingredients
9 from CondCore.DBCommon.CondDBCommon_cfi import CondDBCommon
10 CondDBCommon.connect = "sqlite_file:promptCalibConditions.db"
11 
12 PoolDBOutputService = cms.Service("PoolDBOutputService",
13  CondDBCommon,
14  toPut = cms.VPSet(),
15  loadBlobStreamer = cms.untracked.bool(False),
16  # timetype = cms.untracked.string('lumiid')
17  # timetype = cms.untracked.string('runnumber')
18  )
19 
20 
21 from DQMServices.Components.DQMFileSaver_cfi import * # FIXME
22 dqmSaver.convention = 'Offline'
23 dqmSaver.workflow = '/Express/PCLTest/ALCAPROMPT'
24 #dqmSaver.saveAtJobEnd = True
25 
26 # workflow definitions
27 
28 ALCAHARVESTBeamSpotByRun = alcaBeamSpotHarvester.clone()
29 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string("runbased")
30 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string("BeamSpotObjectsRcdByRun")
31 
32 
33 ALCAHARVESTBeamSpotByRun_metadata = cms.PSet(record = cms.untracked.string('BeamSpotObjectsRcdByRun'),
34 # destDB = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_BEAMSPOT"),
35 # destDBValidation = cms.untracked.string("oracle://cms_orcoff_prep/CMS_COND_BEAMSPOT"),
36 # tag = cms.untracked.string("BeamSpotObjects_PCL_byRun_v0_offline"),
37 # Timetype = cms.untracked.string("runnumber"),
38 # IOVCheck = cms.untracked.string("All"),
39 # DuplicateTagHLT = cms.untracked.string("BeamSpotObjects_PCL_byRun_v0_hlt"),
40 # DuplicateTagEXPRESS = cms.untracked.string(""),
41 # DuplicateTagPROMPT = cms.untracked.string("BeamSpotObjects_PCL_byRun_v0_prompt"),
42  )
43 
44 
45 ALCAHARVESTBeamSpotByRun_dbOutput = cms.PSet(record = cms.string('BeamSpotObjectsRcdByRun'),
46  tag = cms.string('BeamSpotObject_ByRun'),
47  timetype = cms.untracked.string('runnumber'))
48 
49 
50 ALCAHARVESTBeamSpotByLumi = alcaBeamSpotHarvester.clone()
51 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string("lumibased")
52 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string("BeamSpotObjectsRcdByLumi")
53 
54 
55 ALCAHARVESTBeamSpotByLumi_metadata = cms.PSet(record = cms.untracked.string('BeamSpotObjectsRcdByLumi'),
56 # destDB = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_BEAMSPOT"),
57 # destDBValidation = cms.untracked.string("oracle://cms_orcoff_prep/CMS_COND_BEAMSPOT"),
58 # tag = cms.untracked.string("BeamSpotObjects_PCL_byLumi_v0_offline"),
59 # Timetype = cms.untracked.string("lumiid"),
60 # IOVCheck = cms.untracked.string("All"),
61 # DuplicateTagHLT = cms.untracked.string("BeamSpotObjects_PCL_byLumi_v0_hlt"),
62 # DuplicateTagEXPRESS = cms.untracked.string(""),
63 # DuplicateTagPROMPT = cms.untracked.string("BeamSpotObjects_PCL_byLumi_v0_prompt"),
64  )
65 
66 ALCAHARVESTBeamSpotByLumi_dbOutput = cms.PSet(record = cms.string('BeamSpotObjectsRcdByLumi'),
67  tag = cms.string('BeamSpotObject_ByLumi'),
68  timetype = cms.untracked.string('lumiid'))
69 
70 
71 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string('SiStripBadStripRcd'),
72 # destDB = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_STRIP"),
73 # destDBValidation = cms.untracked.string("oracle://cms_orcoff_prep/CMS_COND_STRIP"),
74 # tag = cms.untracked.string("SiStripBadChannel_PCL_v0_offline"),
75 # Timetype = cms.untracked.string("runnumber"),
76 # IOVCheck = cms.untracked.string("All"),
77 # DuplicateTagHLT = cms.untracked.string("SiStripBadChannel_PCL_v0_hlt"),
78 # DuplicateTagEXPRESS = cms.untracked.string(""),
79 # DuplicateTagPROMPT = cms.untracked.string("SiStripBadChannel_PCL_v0_prompt"),
80  )
81 
82 
83 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string('SiStripBadStripRcd'),
84  tag = cms.string('SiStripBadStrip_pcl'),
85  timetype = cms.untracked.string('runnumber'))
86 
87 
88 # define the paths
89 
90 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
91 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
92 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
93 
94 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)
95 
96 #promptCalibHarvest = cms.Path(alcaBeamSpotHarvester)
97 
98 
99