File indexing completed on 2024-04-06 12:22:07
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process( "Demo" )
0005 process.load( 'FWCore.MessageService.MessageLogger_cfi' )
0006 process.load( 'Configuration.EventContent.EventContent_cff' )
0007 process.load( 'Configuration.Geometry.GeometryExtended2026D88Reco_cff' )
0008 process.load( 'Configuration.Geometry.GeometryExtended2026D88_cff' )
0009 process.load( 'Configuration.StandardSequences.MagneticField_cff' )
0010 process.load( 'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff' )
0011 process.load( 'L1Trigger.TrackTrigger.TrackTrigger_cff' )
0012
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0015
0016
0017 process.load( 'L1Trigger.TrackerDTC.ProducerED_cff' )
0018
0019 process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff")
0020
0021 process.load( 'L1Trigger.TrackFindingTracklet.Producer_cff' )
0022
0023 process.load( 'L1Trigger.TrackFindingTracklet.Demonstrator_cff' )
0024 from L1Trigger.TrackFindingTracklet.Customize_cff import *
0025
0026 fwConfig( process )
0027
0028
0029 process.tt = cms.Sequence ( process.TrackerDTCProducer
0030 + process.L1THybridTracks
0031 + process.TrackFindingTrackletProducerIRin
0032 + process.TrackFindingTrackletProducerTBout
0033 + process.TrackFindingTrackletProducerDRin
0034 + process.TrackFindingTrackletProducerDR
0035 )
0036 process.demo = cms.Path( process.tt + process.TrackerTFPDemonstrator )
0037 process.schedule = cms.Schedule( process.demo )
0038
0039
0040 import FWCore.ParameterSet.VarParsing as VarParsing
0041 options = VarParsing.VarParsing( 'analysis' )
0042
0043 inputMC = ["/store/relval/CMSSW_12_6_0_pre4/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_125X_mcRun4_realistic_v2_2026D88PU200-v1/2590000/00b3d04b-4c7b-4506-8d82-9538fb21ee19.root"]
0044
0045 options.register( 'inputMC', inputMC, VarParsing.VarParsing.multiplicity.singleton, VarParsing.VarParsing.varType.string, "Files to be processed" )
0046
0047 options.register( 'Events',100,VarParsing.VarParsing.multiplicity.singleton, VarParsing.VarParsing.varType.int, "Number of Events to analyze" )
0048 options.parseArguments()
0049
0050 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(False) )
0051 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(options.Events) )
0052 process.source = cms.Source(
0053 "PoolSource",
0054 fileNames = cms.untracked.vstring( options.inputMC ),
0055
0056 secondaryFileNames = cms.untracked.vstring(),
0057 duplicateCheckMode = cms.untracked.string( 'noDuplicateCheck' )
0058 )
0059 process.Timing = cms.Service( "Timing", summaryOnly = cms.untracked.bool( True ) )