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/Summer11/QCD_Pt-1800_TuneZ2_7TeV_pythia6/AODSIM/PU_S3_START42_V11-v2/0000/04C728A6-927D-E011-8313-00304867915A.root'
0015 #    '/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM-RECO/IDEAL_PU_S4_START42_V11-v1/0000/0014B7FC-43B7-E011-9EB8-003048678FB8.root'
0016     ))
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0018 
0019 ##################### digi-2-raw plus L1 emulation #########################
0020 process.load("Configuration.StandardSequences.Services_cff")
0021 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0022 process.load('Configuration.StandardSequences.MagneticField_cff')
0023 process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff')
0024 
0025 #################### Conditions and L1 menu ################################
0026 
0027 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0028 from Configuration.AlCa.autoCond import autoCond
0029 process.GlobalTag.globaltag=autoCond['run1_mc']
0030 
0031 process.primaryVertexFilter = cms.EDFilter("GoodVertexFilter",
0032                                            vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0033                                            minimumNDOF      = cms.uint32(4) ,
0034                                            maxAbsZ          = cms.double(20.0),
0035                                            maxd0            = cms.double(10.0)
0036                                            )
0037 
0038 process.load("Calibration.IsolatedParticles.isolatedGenParticles_cfi")
0039 process.isolatedGenParticles.GenSrc            = "Dummy"
0040 process.isolatedGenParticles.UseHepMC          = False
0041 process.isolatedGenParticles.Verbosity         = 0
0042 
0043 process.TFileService = cms.Service("TFileService",
0044                                    fileName = cms.string('IsolatedTracksGenParticles.root')
0045                                    )
0046 
0047 
0048 # define an EndPath to analyze all other path results
0049 process.hltTrigReport = cms.EDAnalyzer( 'HLTrigReport',
0050       #HLTriggerResults = cms.InputTag( 'TriggerResults','','REDIGI36X')
0051       HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT') 
0052 )
0053 
0054 process.load("L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi")
0055 #process.l1GtTrigReport.L1GtRecordInputTag = 'simGtDigis'
0056 process.l1GtTrigReport.L1GtRecordInputTag = 'gtDigis'
0057 process.l1GtTrigReport.PrintVerbosity = 0
0058 #=============================================================================
0059 
0060 process.p1 = cms.Path(process.primaryVertexFilter*process.isolatedGenParticles)