CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ppsAlignmentHarvester.text_results_path = cms.string("")
17 ppsAlignmentHarvester.write_sqlite_results = cms.bool(True)
18 ppsAlignmentHarvester.x_ali_rel_final_slope_fixed = cms.bool(False)
19 ppsAlignmentHarvester.y_ali_final_slope_fixed = cms.bool(False)
20 
21 ALCAHARVESTPPSAlignment = cms.Task(
22  EDMtoMEConvertPPSAlignment,
23  DQMInfoPPSAlignment,
24  ppsAlignmentHarvester
25 )