CMS 3D CMS Logo

PPSAlignmentHarvester_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Components.EDMtoMEConverter_cfi import EDMtoMEConverter
3 
4 from CalibPPS.AlignmentGlobal.ppsAlignmentHarvester_cfi import ppsAlignmentHarvester as ppsAlignmentHarvester_
5 
6 EDMtoMEConvertPPSAlignment = EDMtoMEConverter.clone()
7 EDMtoMEConvertPPSAlignment.lumiInputTag = cms.InputTag("MEtoEDMConvertPPSAlignment", "MEtoEDMConverterLumi")
8 EDMtoMEConvertPPSAlignment.runInputTag = cms.InputTag("MEtoEDMConvertPPSAlignment", "MEtoEDMConverterRun")
9 
10 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
11 DQMInfoPPSAlignment = DQMEDHarvester('DQMHarvestingMetadata',
12  subSystemFolder=cms.untracked.string('AlCaReco')
13  )
14 
15 ppsAlignmentHarvester = ppsAlignmentHarvester_.clone(
16  text_results_path = "",
17  write_sqlite_results = True
18  )
19 
20 ALCAHARVESTPPSAlignment = cms.Task(
21  EDMtoMEConvertPPSAlignment,
22  DQMInfoPPSAlignment,
23  ppsAlignmentHarvester
24 )