Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:54

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("GeometryInfo")
0003 
0004 # minimum of logs
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('INFO')
0012     )
0013 )
0014 
0015 # load alignment corrections
0016 process.load("CalibPPS.ESProducers.ctppsRPAlignmentCorrectionsDataESSourceXML_cfi")
0017 process.ctppsRPAlignmentCorrectionsDataESSourceXML.RealFiles = cms.vstring("CondFormats/PPSObjects/xml/sample_alignment_corrections.xml")
0018 process.ctppsRPAlignmentCorrectionsDataESSourceXML.MeasuredFiles = cms.vstring("CondFormats/PPSObjects/xml/sample_alignment_corrections.xml")
0019 process.ctppsRPAlignmentCorrectionsDataESSourceXML.MisalignedFiles = cms.vstring("CondFormats/PPSObjects/xml/sample_alignment_corrections.xml")
0020 
0021 # no events to process
0022 process.source = cms.Source("EmptySource")
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1)
0026 )
0027 
0028 process.ctppsAlignmentInfo = cms.EDAnalyzer("CTPPSAlignmentInfo",
0029     alignmentType = cms.untracked.string("real"),
0030 )
0031 
0032 process.p = cms.Path(
0033     process.ctppsAlignmentInfo
0034 )