File indexing completed on 2024-11-27 03:17:55
0001
0002
0003 import FWCore.ParameterSet.Config as cms
0004
0005 from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
0006 process = cms.Process('L1GTSUMMARY',Run2_2016)
0007
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0011 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0012 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0013 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0014
0015
0016
0017
0018
0019
0020
0021 process.maxEvents = cms.untracked.PSet(
0022 input = cms.untracked.int32(10)
0023 )
0024
0025
0026 process.source = cms.Source("PoolSource",
0027 secondaryFileNames = cms.untracked.vstring(),
0028 fileNames = cms.untracked.vstring(
0029 '/store/data/Run2016H/ZeroBias/RAW/v1/000/283/946/00000/94A3398F-239E-E611-94A7-FA163EE85157.root'
0030 ),
0031 skipEvents = cms.untracked.uint32(0)
0032 )
0033
0034 process.output =cms.OutputModule("PoolOutputModule",
0035 outputCommands = cms.untracked.vstring('keep *'),
0036 fileName = cms.untracked.string('poolout.root')
0037 )
0038
0039 process.options = cms.untracked.PSet()
0040
0041
0042
0043 from Configuration.AlCa.GlobalTag import GlobalTag
0044 process.GlobalTag = GlobalTag(process.GlobalTag, '90X_dataRun2_v0', '')
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 process.load('L1Trigger.L1TGlobal.L1TGlobalSummary_cfi')
0062 process.L1TGlobalSummary.AlgInputTag = cms.InputTag("gtStage2Digis")
0063 process.L1TGlobalSummary.ExtInputTag = cms.InputTag("gtStage2Digis")
0064 process.L1TGlobalSummary.MinBx = cms.int32(-2)
0065 process.L1TGlobalSummary.MaxBx = cms.int32(2)
0066
0067 process.L1TGlobalSummary.DumpTrigResults= cms.bool(True)
0068
0069
0070
0071
0072 process.raw2digi_step = cms.Path(process.RawToDigi)
0073 process.p = cms.Path(process.L1TGlobalSummary)
0074
0075 process.schedule = cms.Schedule(process.raw2digi_step,process.p)
0076
0077 rootout=False
0078 if rootout:
0079 process.outpath = cms.EndPath(process.output)
0080 process.schedule.append(process.outpath)
0081
0082 dump=False
0083 if dump:
0084 outfile = open('dump_config.py','w')
0085 print(process.dumpPython(), file=outfile)
0086 outfile.close()