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 = 10
0007 process.MessageLogger.L1GtTrigReport=dict()
0008 process.MessageLogger.HLTrigReport=dict()
0009 
0010 process.options = cms.untracked.PSet(
0011     wantSummary = cms.untracked.bool(False)
0012 )
0013 
0014 #process.load(INPUTFILELIST)
0015 process.source = cms.Source("PoolSource",fileNames =cms.untracked.vstring(
0016      '/store/mc/Summer10/DiPion_E1to300/GEN-SIM-RECO/START36_V9_S09-v1/0024/4CEE3150-E581-DF11-B9C4-001A92971BDC.root'
0017     
0018     ))
0019 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(50) )
0020 
0021 ##################### digi-2-raw plus L1 emulation #########################
0022 
0023 process.load("Configuration.StandardSequences.Services_cff")
0024 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0025 process.load('Configuration.StandardSequences.MagneticField_cff')
0026 process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff')
0027 
0028 #################### Conditions and L1 menu ################################
0029 
0030 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0031 from Configuration.AlCa.autoCond import autoCond
0032 process.GlobalTag.globaltag=autoCond['run1_mc']
0033 
0034 process.load('Calibration.IsolatedParticles.isolatedTracksHcalScale_cfi')
0035 process.isolatedTracksHcalScale.MaxDxyPV  = 10.
0036 process.isolatedTracksHcalScale.MaxDzPV   = 10.
0037 process.isolatedTracksHcalScale.Verbosity = 1
0038 
0039 process.primaryVertexFilter = cms.EDFilter("GoodVertexFilter",
0040                                            vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0041                                            minimumNDOF      = cms.uint32(4) ,
0042                                            maxAbsZ          = cms.double(20.0),
0043                                            maxd0            = cms.double(10.0)
0044                                            )
0045 
0046 
0047 process.TFileService = cms.Service("TFileService",
0048                                    fileName = cms.string('IsolatedTracksHcalScale.root')
0049                                    )
0050 
0051 #process.p1 = cms.Path(process.primaryVertexFilter*process.IsolatedTracksHcalScale)
0052 process.p1 = cms.Path( process.isolatedTracksHcalScale )