CMS 3D CMS Logo

MillePedeFileExtractor_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("MillePedeFileExtractor")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 # This is just a test configuration. It should not be loaded directly in any
8 # other configuration.
9 # The filenames below are just suggestions.
10 # To get all info about this module, type:
11 # edmPluginHelp -p MillePedeFileExtractor
12 
13 # Using the normal standard messagelogger, with its standard configuration,
14 # but setting the category of messages to MillePedeFileActions
15 process.MessageLogger = process.MessageLogger.clone(
16  categories = cms.untracked.vstring('MillePedeFileActions'),
17  )
18 
19 # Limit our test to 5 events (we work on run level anyway)
20 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(5))
21 
22 process.source = cms.Source("PoolSource",
23  fileNames = cms.untracked.vstring(
24 
27  'file:PromptCalibProdSiPixelAli1.root',
28  'file:PromptCalibProdSiPixelAli2.root',
29  )
30 )
31 
32 from Alignment.MillePedeAlignmentAlgorithm.millePedeFileExtractor_cfi import millePedeFileExtractor
33 process.testMillePedeFileExtractor = millePedeFileExtractor.clone(
34  #FIXME: handle with an InputLabel instead of
35  #TODO: Above sentence needs to be finished, otherwise I don't know what to fix.
36  fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverter",""),
37  # You can add formatting directives like "%04d" in the output file name to setup numbering.
38  outputBinaryFile = cms.string('pippo%04d.dat'),
39  fileDir = cms.string('/afs/cern.ch/work/b/bvanbesi/private/PCLALI/CMSSW_7_4_4/src/'))
40 
41 
42 process.p = cms.Path(process.testMillePedeFileExtractor)