File indexing completed on 2024-04-06 12:21:16
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("L1NTUPLE")
0005
0006
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0012 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0013 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0014 process.load('Configuration.StandardSequences.RawToDigi_cff')
0015 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0016 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0017
0018
0019
0020 from Configuration.AlCa.autoCond import autoCond
0021 process.GlobalTag.globaltag = cms.string( autoCond['run2_mc'] )
0022
0023
0024 from L1Trigger.L1TNtuples.RelValInputFiles import *
0025 process.source = cms.Source (
0026 "PoolSource",
0027 fileNames = cms.untracked.vstring( RelValInputFile_RAW() )
0028 )
0029
0030
0031 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0032
0033
0034 process.TFileService = cms.Service("TFileService",
0035 fileName = cms.string('L1Tree.root')
0036 )
0037
0038
0039 process.load("L1Trigger.L1TNtuples.l1NtupleProducer_cfi")
0040
0041 process.p = cms.Path(
0042 process.RawToDigi
0043 +process.l1NtupleProducer
0044 )
0045