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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
import FWCore.ParameterSet.Config as cms

import Configuration.Geometry.defaultPhase2ConditionsEra_cff as _settings
_PH2_GLOBAL_TAG, _PH2_ERA = _settings.get_era_and_conditions(_settings.DEFAULT_VERSION)

process = cms.Process("CompareGeometryTest", _PH2_ERA)

process.source = cms.Source("EmptySource")
process.maxEvents = cms.untracked.PSet(
        input = cms.untracked.int32(1)
        )

process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.threshold = cms.untracked.string('INFO')
process.MessageLogger.cerr.INFO = cms.untracked.PSet(
    limit = cms.untracked.int32(0)
)
process.MessageLogger.cerr.TestMTDIdealGeometry = cms.untracked.PSet(
    # limit = cms.untracked.int32(-1)
    limit = cms.untracked.int32(0)
)
process.MessageLogger.cerr.TestMTDNumbering = cms.untracked.PSet(
    # limit = cms.untracked.int32(-1)
    limit = cms.untracked.int32(0)
)
process.MessageLogger.cerr.TestMTDPath = cms.untracked.PSet(
    # limit = cms.untracked.int32(-1)
    limit = cms.untracked.int32(0)
)
process.MessageLogger.cerr.TestMTDPosition = cms.untracked.PSet(
    # limit = cms.untracked.int32(-1)
    limit = cms.untracked.int32(0)
)
process.MessageLogger.files.mtdCommonDataDDD = cms.untracked.PSet(
    DEBUG = cms.untracked.PSet(
        limit = cms.untracked.int32(0)
    ),
    ERROR = cms.untracked.PSet(
        limit = cms.untracked.int32(0)
    ),
    FWKINFO = cms.untracked.PSet(
        limit = cms.untracked.int32(0)
    ),
    INFO = cms.untracked.PSet(
        limit = cms.untracked.int32(0)
    ),
    MTDUnitTest = cms.untracked.PSet(
        limit = cms.untracked.int32(-1)
    ),
    WARNING = cms.untracked.PSet(
        limit = cms.untracked.int32(0)
    ),
    noLineBreaks = cms.untracked.bool(True),
    threshold = cms.untracked.string('INFO')
)

process.load('Configuration.Geometry.GeometryExtendedRun4Default_cff')

process.testBTL = cms.EDAnalyzer("TestMTDIdealGeometry",
                               ddTopNodeName = cms.untracked.string('BarrelTimingLayer')
                               )

process.testETL = cms.EDAnalyzer("TestMTDIdealGeometry",
                               ddTopNodeName = cms.untracked.string('EndcapTimingLayer')
                               )

process.Timing = cms.Service("Timing")

process.p1 = cms.Path(cms.wait(process.testBTL)+process.testETL)