Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
import FWCore.ParameterSet.Config as cms

process = cms.Process("MillePedeFileConverter")

process.load("FWCore.MessageService.MessageLogger_cfi")

# This is just a test configuration. It should not be loaded directly in any
# other configuration.
# The filenames below are just suggestions.
# To get all info about this module, type:
# edmPluginHelp -p MillePedeFileConverter

# Using the normal standard messagelogger, with its standard configuration,
# but setting the category of messages to MillePedeFileActions
process.MessageLogger = process.MessageLogger.clone(
        categories = cms.untracked.vstring('MillePedeFileActions'),
        )

# Limit our test to 5 events (we work on run level anyway)
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(5) )


process.source = cms.Source("EmptySource")


# Loading the autogenerated millePedeFileConverter_cfi:
from Alignment.MillePedeAlignmentAlgorithm.millePedeFileConverter_cfi import millePedeFileConverter
process.testMillePedeFileConverter = millePedeFileConverter.clone()
process.testMillePedeFileConverter. inputBinaryFile = "milleBinary_0.dat"

process.out = cms.OutputModule("PoolOutputModule",
    fileName = cms.untracked.string('myOutputFile.root')
)

process.p = cms.Path(process.testMillePedeFileConverter)

process.e = cms.EndPath(process.out)