Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:28

0001 from __future__ import print_function
0002 # Auto generated configuration file
0003 # using: 
0004 # Revision: 1.19 
0005 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0006 # with command line options: debug --no_exec --conditions auto:run2_mc_25ns14e33_v4 -s DIGI:pdigi_valid,L1,DIGI2RAW,RAW2DIGI --datatier GEN-SIM-DIGI-RAW-HLTDEBUG -n 10 --era Run2_25ns --eventcontent FEVTDEBUGHLT --filein filelist:step1_dasquery.log --fileout file:step2.root
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 
0010 #from Configuration.Eras.Era_Run2_25ns_cff import Run2_25ns
0011 #process = cms.Process('L1SEQS',Run2_25ns)
0012 from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
0013 process = cms.Process('L1SEQS',Run2_2016)
0014 
0015 process.MessageLogger = cms.Service(
0016     "MessageLogger",
0017     destinations = cms.untracked.vstring('l1tdebug','cerr'),
0018     l1tdebug = cms.untracked.PSet(threshold = cms.untracked.string('DEBUG')),
0019     cerr = cms.untracked.PSet(threshold  = cms.untracked.string('WARNING')),
0020     debugModules = cms.untracked.vstring('*'))
0021 
0022 
0023 # import of standard configurations
0024 process.load('Configuration.StandardSequences.Services_cff')
0025 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0026 process.load('FWCore.MessageService.MessageLogger_cfi')
0027 process.load('Configuration.EventContent.EventContent_cff')
0028 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0029 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0030 process.load('Configuration.StandardSequences.MagneticField_cff')
0031 process.load('Configuration.StandardSequences.Digi_cff')
0032 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0033 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0034 process.load('Configuration.StandardSequences.RawToDigi_cff')
0035 process.load('Configuration.StandardSequences.L1Reco_cff')
0036 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0037 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0038 
0039 process.maxEvents = cms.untracked.PSet(
0040     input = cms.untracked.int32(10)
0041 )
0042 
0043 # Input source
0044 process.source = cms.Source("PoolSource",
0045     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0046 #     fileNames = cms.untracked.vstring('file:/afs/cern.ch/work/g/gflouris/public/SingleMuPt6180_noanti_10k_eta1.root'),
0047     fileNames = cms.untracked.vstring('/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/0A812333-427C-E511-A80A-0025905964A2.root', 
0048         '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/1E9D9F9B-467C-E511-85B6-0025905A6090.root', 
0049         '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/AA4FBC07-3E7C-E511-B9FC-00261894386C.root', 
0050         '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/E2072991-3E7C-E511-803D-002618943947.root', 
0051         '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/FAE20D9D-467C-E511-AF39-0025905B85D8.root'),
0052     inputCommands = cms.untracked.vstring('keep *', 
0053         'drop *_genParticles_*_*', 
0054         'drop *_genParticlesForJets_*_*', 
0055         'drop *_kt4GenJets_*_*', 
0056         'drop *_kt6GenJets_*_*', 
0057         'drop *_iterativeCone5GenJets_*_*', 
0058         'drop *_ak4GenJets_*_*', 
0059         'drop *_ak7GenJets_*_*', 
0060         'drop *_ak8GenJets_*_*', 
0061         'drop *_ak4GenJetsNoNu_*_*', 
0062         'drop *_ak8GenJetsNoNu_*_*', 
0063         'drop *_genCandidatesForMET_*_*', 
0064         'drop *_genParticlesForMETAllVisible_*_*', 
0065         'drop *_genMetCalo_*_*', 
0066         'drop *_genMetCaloAndNonPrompt_*_*', 
0067         'drop *_genMetTrue_*_*', 
0068         'drop *_genMetIC5GenJs_*_*'),
0069     secondaryFileNames = cms.untracked.vstring()
0070 )
0071 
0072 process.options = cms.untracked.PSet(
0073 
0074 )
0075 
0076 # Production Info
0077 process.configurationMetadata = cms.untracked.PSet(
0078     annotation = cms.untracked.string('debug nevts:10'),
0079     name = cms.untracked.string('Applications'),
0080     version = cms.untracked.string('$Revision: 1.19 $')
0081 )
0082 
0083 # Output definition
0084 
0085 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0086     dataset = cms.untracked.PSet(
0087         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-HLTDEBUG'),
0088         filterName = cms.untracked.string('')
0089     ),
0090     eventAutoFlushCompressedSize = cms.untracked.int32(1048576),
0091     fileName = cms.untracked.string('file:step2.root'),
0092     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0093     splitLevel = cms.untracked.int32(0)
0094 )
0095 
0096 # Additional output definition
0097 
0098 # Other statements
0099 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0100 from Configuration.AlCa.GlobalTag import GlobalTag
0101 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0102 
0103 # Path and EndPath definitions
0104 process.digitisation_step = cms.Path(process.pdigi_valid)
0105 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0106 process.digi2raw_step = cms.Path(process.DigiToRaw)
0107 process.raw2digi_step = cms.Path(process.RawToDigi)
0108 process.l1reco_step = cms.Path(process.L1Reco)
0109 process.endjob_step = cms.EndPath(process.endOfProcess)
0110 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0111 
0112 # additional tests:
0113 process.dumpED = cms.EDAnalyzer("EventContentAnalyzer")
0114 process.dumpES = cms.EDAnalyzer("PrintEventSetupContent")
0115 process.load('L1Trigger.L1TCommon.l1tSummaryStage2Digis_cfi')
0116 process.load('L1Trigger.L1TCommon.l1tSummaryStage2SimDigis_cfi')
0117 
0118 process.debug_step = cms.Path(
0119 #    process.dumpES + 
0120 #    process.dumpED +
0121     process.l1tSummaryStage2Digis +
0122     process.l1tSummaryStage2SimDigis
0123 )
0124 
0125 # Schedule definition
0126 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step,process.raw2digi_step,process.l1reco_step,process.debug_step,process.endjob_step,process.FEVTDEBUGHLToutput_step)
0127 
0128 print("L1T Emulation Sequence is:  ")
0129 print(process.SimL1Emulator)
0130 #print "L1T DigiToRaw Sequence is:  "
0131 #print process.L1TDigiToRaw
0132 #print "L1T RawToDigi Sequence is:  "
0133 #print process.L1TRawToDigi
0134 #print "L1T Reco Sequence is:  "
0135 #print process.L1Reco
0136 print("DigiToRaw is:  ")
0137 print(process.DigiToRaw)