Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MillePedeFileExtractor")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 # This is just a test configuration. It should not be loaded directly in any
0008 # other configuration.
0009 # The filenames below are just suggestions.
0010 # To get all info about this module, type:
0011 # edmPluginHelp -p MillePedeFileExtractor
0012 
0013 # Using the normal standard messagelogger, with its standard configuration,
0014 # but setting the category of messages to MillePedeFileActions
0015 process.MessageLogger = process.MessageLogger.clone(
0016         categories = cms.untracked.vstring('MillePedeFileActions'),
0017         )
0018 
0019 # Limit our test to 5 events (we work on run level anyway)
0020 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(5))
0021 
0022 process.source = cms.Source("PoolSource",
0023     fileNames = cms.untracked.vstring(
0024         ##'file:/afs/cern.ch/work/c/cerminar/pcl/ali/frombroen/new/CMSSW_7_4_4/src/PromptCalibProdSiPixelAli.root',
0025         ##'file:/afs/cern.ch/work/c/cerminar/pcl/ali/frombroen/new/CMSSW_7_4_4/src/PromptCalibProdSiPixelAli_2.root'
0026         ##'file:output.root',
0027         'file:PromptCalibProdSiPixelAli1.root',
0028         'file:PromptCalibProdSiPixelAli2.root',
0029     )
0030 )
0031 
0032 from Alignment.MillePedeAlignmentAlgorithm.millePedeFileExtractor_cfi import millePedeFileExtractor
0033 process.testMillePedeFileExtractor = millePedeFileExtractor.clone(
0034     #FIXME: handle with an InputLabel instead of 
0035     #TODO: Above sentence needs to be finished, otherwise I don't know what to fix.
0036     fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverter",""),
0037     # You can add formatting directives like "%04d" in the output file name to setup numbering.
0038     outputBinaryFile = cms.string('pippo%04d.dat'),
0039     fileDir = cms.string('/afs/cern.ch/work/b/bvanbesi/private/PCLALI/CMSSW_7_4_4/src/'))
0040     ##fileDir = cms.string('/afs/cern.ch/work/c/cerminar/pcl/ali/frombroen/new/CMSSW_7_4_4/src/'))
0041 
0042 process.p = cms.Path(process.testMillePedeFileExtractor)