Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('L1TEMULATION')
0004 
0005 process.load('Configuration.StandardSequences.Services_cff')
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 ## process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0008 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0009 process.load('Configuration.EventContent.EventContent_cff')
0010 process.load('Configuration.Geometry.GeometryIdeal_cff')
0011 
0012 # Select the Message Logger output you would like to see:
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(-200)
0017     )
0018 
0019 # Input source
0020 process.source = cms.Source("PoolSource",
0021     secondaryFileNames = cms.untracked.vstring(),
0022     fileNames = cms.untracked.vstring("/store/relval/CMSSW_7_5_0_pre4/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU25ns_MCRUN2_75_V1-v1/00000/0CD12657-DAF7-E411-91F2-002618943910.root")
0023     )
0024 
0025 
0026 process.output = cms.OutputModule(
0027     "PoolOutputModule",
0028     splitLevel = cms.untracked.int32(0),
0029     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0030 #    outputCommands = cms.untracked.vstring('keep *',
0031 #                                           'drop FEDRawDataCollection_rawDataRepacker_*_*',
0032 #                                           'drop FEDRawDataCollection_virginRawDataRepacker_*_*'),
0033     outputCommands = cms.untracked.vstring('drop *',
0034                                            'keep *_*_*_L1TEMULATION'),
0035     fileName = cms.untracked.string('SimL1Emulator_Stage1_PP.root'),
0036     dataset = cms.untracked.PSet(
0037         filterName = cms.untracked.string(''),
0038         dataTier = cms.untracked.string('')
0039     )
0040                                            )
0041 process.options = cms.untracked.PSet()
0042 
0043 # Other statements
0044 ## from Configuration.AlCa.GlobalTag import GlobalTag
0045 ## process.GlobalTag.connect = cms.string('frontier://FrontierProd/CMS_COND_31X_GLOBALTAG')
0046 from Configuration.AlCa.GlobalTag import GlobalTag
0047 process.GlobalTag.globaltag = cms.string('MCRUN2_75_V1')
0048 
0049 process.load('L1Trigger.L1TCalorimeter.caloConfigStage1PP_cfi')
0050 
0051 process.load('L1Trigger.L1TCalorimeter.L1TCaloStage1_PPFromRaw_cff')
0052 
0053 # GT
0054 from L1Trigger.Configuration.SimL1Emulator_cff import simGtDigis
0055 process.simGtDigis = simGtDigis.clone()
0056 process.simGtDigis.GmtInputTag = 'simGmtDigis'
0057 process.simGtDigis.GctInputTag = 'simCaloStage1LegacyFormatDigis'
0058 process.simGtDigis.TechnicalTriggersInputTags = cms.VInputTag( )
0059 
0060 
0061 ### Get new RCT calibrations from CondDB until new GlobalTag is ready
0062 ### Goes with tauL1Calib_LUT.txt
0063 ### Need new GCT jet calibrations to go with it
0064 #from CondCore.DBCommon.CondDBSetup_cfi import CondDBSetup
0065 #process.rctSFDB = cms.ESSource("PoolDBESSource",
0066 #    CondDBSetup,
0067 #    connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS'),
0068 #    DumpStat=cms.untracked.bool(True),
0069 #    toGet = cms.VPSet(
0070 #        cms.PSet(
0071 #            record = cms.string('L1RCTParametersRcd'),
0072 #            tag = cms.string('L1RCTParametersRcd_L1TDevelCollisions_ExtendedScaleFactorsV4')
0073 #        )
0074 #    )
0075 #)
0076 ## process.prefer("caloParmsDB")
0077 #process.es_prefer_rctSFDB = cms.ESPrefer( "PoolDBESSource", "rctSFDB" )
0078 
0079 ## load the CaloStage1 params
0080 ## process.GlobalTag.toGet = cms.VPSet(
0081 ##   cms.PSet(record = cms.string("L1TCaloParamsRcd"),
0082 ##            tag = cms.string("L1TCaloParams_CRAFT09_hlt"),
0083 ##            connect = cms.string("sqlite:l1config.db")
0084 ##           )
0085 ## )
0086 
0087 process.p1 = cms.Path(
0088     process.L1TCaloStage1_PPFromRaw
0089     +process.simGtDigis
0090     +process.l1ExtraLayer2
0091     )
0092 
0093 process.output_step = cms.EndPath(process.output)
0094 
0095 process.schedule = cms.Schedule(
0096     process.p1, process.output_step
0097     )
0098 
0099 # Spit out filter efficiency at the end.
0100 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))