CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MillePedeFileConverter_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("MillePedeFileConverter")
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 MillePedeFileConverter
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 
23 process.source = cms.Source("EmptySource")
24 
25 
26 # Loading the autogenerated millePedeFileConverter_cfi:
27 from Alignment.MillePedeAlignmentAlgorithm.millePedeFileConverter_cfi import millePedeFileConverter
28 process.testMillePedeFileConverter = millePedeFileConverter.clone()
29 process.testMillePedeFileConverter. inputBinaryFile = "milleBinary_0.dat"
30 
31 process.out = cms.OutputModule("PoolOutputModule",
32  fileName = cms.untracked.string('myOutputFile.root')
33 )
34 
35 process.p = cms.Path(process.testMillePedeFileConverter)
36 
37 process.e = cms.EndPath(process.out)