Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-24 09:52:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("L1SKIM")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 100000
0007 
0008 process.options = cms.untracked.PSet(
0009     wantSummary = cms.untracked.bool(True)
0010 )
0011 
0012 #process.load(INPUTFILELIST)
0013 process.source = cms.Source("PoolSource",fileNames =cms.untracked.vstring(
0014     '/store/mc/Winter10/QCD_Pt_30to50_TuneZ2_7TeV_pythia6/AODSIM/E7TeV_ProbDist_2010Data_BX156_START39_V8-v1/0010/FCC19F72-200F-E011-9FBB-001A928116E8.root'
0015     ))
0016 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(5) )
0017 
0018 ##################### digi-2-raw plus L1 emulation #########################
0019 process.load("Configuration.StandardSequences.Services_cff")
0020 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0021 process.load('Configuration.StandardSequences.MagneticField_cff')
0022 process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff')
0023 
0024 #################### Conditions and L1 menu ################################
0025 
0026 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0027 from Configuration.AlCa.autoCond import autoCond
0028 process.GlobalTag.globaltag=autoCond['run1_mc']
0029 
0030 process.primaryVertexFilter = cms.EDFilter("GoodVertexFilter",
0031                                            vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0032                                            minimumNDOF      = cms.uint32(4) ,
0033                                            maxAbsZ          = cms.double(20.0),
0034                                            maxd0            = cms.double(10.0)
0035                                            )
0036 process.load('Calibration.IsolatedParticles.isolatedParticlesGeneratedJets_cfi')
0037 
0038 process.TFileService = cms.Service("TFileService",
0039                                    fileName = cms.string('IsolatedTracksGenParticles.root')
0040                                    )
0041 
0042 
0043 # define an EndPath to analyze all other path results
0044 process.hltTrigReport = cms.EDAnalyzer( 'HLTrigReport',
0045       HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT') 
0046 )
0047 
0048 process.load("L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi")
0049 process.l1GtTrigReport.L1GtRecordInputTag = 'gtDigis'
0050 process.l1GtTrigReport.PrintVerbosity = 0
0051 #=============================================================================
0052 
0053 process.p1 = cms.Path(process.primaryVertexFilter*process.isolatedParticlesGeneratedJets)