File indexing completed on 2024-04-06 12:21:43
0001
0002
0003
0004
0005
0006
0007
0008 import FWCore.ParameterSet.Config as cms
0009
0010 process = cms.Process( "Demo" )
0011 process.load( 'FWCore.MessageService.MessageLogger_cfi' )
0012 process.load( 'Configuration.Geometry.GeometryExtended2026D76Reco_cff' )
0013 process.load( 'Configuration.Geometry.GeometryExtended2026D76_cff' )
0014 process.load( 'Configuration.StandardSequences.MagneticField_cff' )
0015 process.load( 'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff' )
0016 process.load( 'L1Trigger.TrackTrigger.TrackTrigger_cff' )
0017
0018 from Configuration.AlCa.GlobalTag import GlobalTag
0019 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0020
0021
0022 process.load( 'L1Trigger.TrackerDTC.AnalyzerDAQ_cff' )
0023
0024
0025 process.path = cms.Path( process.TrackerDTCAnalyzerDAQ )
0026 process.schedule = cms.Schedule( process.path )
0027
0028
0029 import FWCore.ParameterSet.VarParsing as VarParsing
0030 options = VarParsing.VarParsing( 'analysis' )
0031
0032 Samples = [
0033
0034
0035 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/00026541-6200-4eed-b6f8-d3a1fd720e9c.root',
0036 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/013d0125-8f6e-496b-8335-614398c9210d.root',
0037 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/058bd134-86de-47e1-bcde-379ed9b79e1b.root',
0038 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/0915d66c-cbd4-4ef6-9971-7dd59e198b56.root',
0039 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/09823c8d-e443-4066-8347-8c704929cb2b.root',
0040 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/0c39a1aa-93ee-41c1-8543-6d90c09114a7.root',
0041 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/0fcdcc53-fb9f-4f0b-8529-a4d60d914c14.root',
0042 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/16760a5c-9cd2-41c3-82e5-399bb962d537.root',
0043 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/1752640f-2001-4d14-9276-063ec07cea92.root',
0044 '/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/180712c9-31a5-4f2a-bf92-a7fbee4dabad.root'
0045 ]
0046 options.register( 'inputMC', Samples, VarParsing.VarParsing.multiplicity.singleton, VarParsing.VarParsing.varType.string, "Files to be processed" )
0047
0048 options.register( 'Events',100,VarParsing.VarParsing.multiplicity.singleton, VarParsing.VarParsing.varType.int, "Number of Events to analyze" )
0049 options.parseArguments()
0050
0051 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(False) )
0052 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(options.Events) )
0053 process.source = cms.Source(
0054 "PoolSource",
0055 fileNames = cms.untracked.vstring( options.inputMC ),
0056 secondaryFileNames = cms.untracked.vstring(),
0057 duplicateCheckMode = cms.untracked.string( 'noDuplicateCheck' )
0058 )
0059 process.Timing = cms.Service( "Timing", summaryOnly = cms.untracked.bool( True ) )
0060 process.TFileService = cms.Service( "TFileService", fileName = cms.string( "Hist.root" ) )