File indexing completed on 2025-04-17 02:42:25
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("Demo")
0004
0005
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010
0011
0012 from Configuration.AlCa.GlobalTag import GlobalTag
0013 process.GlobalTag = GlobalTag(process.GlobalTag, '140X_dataRun3_HLT_v3', '')
0014
0015
0016 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0017
0018
0019 process.source = cms.Source("PoolSource",
0020 fileNames = cms.untracked.vstring(
0021 '/store/data/Run2024I/ScoutingPFRun3/HLTSCOUT/v1/000/386/478/00000/0100d00a-69a6-4710-931f-b1c660f87675.root'
0022 )
0023 )
0024
0025 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1000))
0026
0027
0028 process.run3ScoutingElectronBestTrack = cms.EDProducer('Run3ScoutingElectronBestTrackProducer',
0029 Run3ScoutingElectron = cms.InputTag('hltScoutingEgammaPacker'),
0030 TrackPtMin = cms.vdouble(12.0, 12.0),
0031 TrackChi2OverNdofMax = cms.vdouble(3.0, 2.0),
0032 RelativeEnergyDifferenceMax = cms.vdouble(1.0, 1.0),
0033 DeltaPhiMax = cms.vdouble(0.06, 0.06)
0034 )
0035
0036
0037 process.output = cms.OutputModule("PoolOutputModule",
0038 fileName = cms.untracked.string('output_file.root'),
0039 outputCommands = cms.untracked.vstring('drop *',
0040 'keep *_run3ScoutingElectronBestTrack_*_*')
0041 )
0042
0043
0044 process.p = cms.Path(process.run3ScoutingElectronBestTrack)
0045 process.e = cms.EndPath(process.output)
0046
0047
0048 process.schedule = cms.Schedule(process.p, process.e)