Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:07

0001 # ----------------------------------------------------------------------------------
0002 # define basic process
0003 # ----------------------------------------------------------------------------------
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 import FWCore.Utilities.FileUtils as FileUtils
0007 process = cms.Process("L1HybridTrack")
0008 
0009 # ----------------------------------------------------------------------------------
0010 # import standard configurations
0011 # ----------------------------------------------------------------------------------
0012 
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_cff')
0017 
0018 process.load('Configuration.Geometry.GeometryExtended2026D88Reco_cff') 
0019 process.load('Configuration.Geometry.GeometryExtended2026D88_cff')
0020 
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 from Configuration.AlCa.GlobalTag import GlobalTag
0025 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '')
0026 
0027 process.load('L1Trigger.TrackTrigger.TrackTrigger_cff')
0028 
0029 # ----------------------------------------------------------------------------------
0030 # input
0031 # ----------------------------------------------------------------------------------
0032 
0033 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0034 inputMC = ["/store/mc/CMSSW_12_6_0/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_125X_mcRun4_realistic_v5_2026D88PU200RV183v2-v1/30000/0959f326-3f52-48d8-9fcf-65fc41de4e27.root"]
0035 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring(*inputMC))
0036 
0037 # ----------------------------------------------------------------------------------
0038 # DTC emulation
0039 # ----------------------------------------------------------------------------------
0040 
0041 process.load( 'L1Trigger.TrackerDTC.ProducerED_cff' )
0042 process.dtc = cms.Path( process.TrackerDTCProducer )
0043 
0044 # ----------------------------------------------------------------------------------
0045 # L1 tracking
0046 # ----------------------------------------------------------------------------------
0047 
0048 process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff")
0049 
0050 # prompt tracking only
0051 process.TTTracksEmulation = cms.Path(process.L1THybridTracks)
0052 process.TTTracksEmulationWithTruth = cms.Path(process.L1THybridTracksWithAssociators)
0053 
0054 # extended tracking only
0055 #process.TTTracksEmulation = cms.Path(process.L1TExtendedHybridTracks)
0056 #process.TTTracksEmulationWithTruth = cms.Path(process.L1TExtendedHybridTracksWithAssociators)
0057 
0058 # both prompt+extended hybrid tracking
0059 #process.TTTracksEmulation = cms.Path(process.L1TPromptExtendedHybridTracks)
0060 #process.TTTracksEmulationWithTruth = cms.Path(process.L1TPromptExtendedHybridTracksWithAssociators)
0061 
0062 # ----------------------------------------------------------------------------------
0063 # output module
0064 # ----------------------------------------------------------------------------------
0065 
0066 process.out = cms.OutputModule( "PoolOutputModule",
0067                                 fileName = cms.untracked.string("L1Tracks.root"),
0068                                 fastCloning = cms.untracked.bool( False ),
0069                                 outputCommands = cms.untracked.vstring('drop *',
0070                                                                        'keep *_TTTrack*_Level1TTTracks_*', 
0071 )
0072 )
0073 process.FEVToutput_step = cms.EndPath(process.out)
0074 
0075 # ----------------------------------------------------------------------------------
0076 # schedule
0077 # ----------------------------------------------------------------------------------
0078 
0079 process.schedule = cms.Schedule(process.dtc,process.TTTracksEmulationWithTruth,process.FEVToutput_step)