Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:38

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #keep the logging output to a nice level
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("Demo")
0008 process.load("CondTools.SiPixel.SiPixelCalibConfiguration_cfi")
0009 
0010 process.load("Geometry.TrackerSimData.trackerSimGeometryXML_cfi")
0011 
0012 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0013 
0014 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0015 
0016 process.DQMStore = cms.Service("DQMStore")
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1570)
0020 )
0021 process.source = cms.Source("PoolSource",
0022     # replace 'myfile.root' with the source file you want to use
0023     fileNames = cms.untracked.vstring('file:/afs/cern.ch/user/v/vasquez/scratch0/CMSSW_2_0_0_pre9/src/CalibTracker/SiPixelGainCalibration/test/calibdigis.root')
0024 )
0025 
0026 process.MessageLogger = cms.Service("MessageLogger")
0027 
0028 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0029 
0030 process.siPixelErrorsDigisToCalibDigis = cms.EDAnalyzer("SiPixelErrorsDigisToCalibDigis",
0031     saveFile = cms.untracked.bool(True),
0032     outputFilename = cms.string('myResults.root'),
0033     SiPixelProducerLabelTag = cms.InputTag("siPixelCalibDigis")
0034 )
0035 
0036 process.p = cms.Path(process.siPixelErrorsDigisToCalibDigis)
0037 
0038