Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:04

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("BTAG")
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet(  input = cms.untracked.int32(3000))
0008 
0009 #process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0010 #   ignoreTotal = cms.untracked.int32(1) # default is one
0011 #)
0012 
0013 process.source = cms.Source("PoolSource",
0014     fileNames = cms.untracked.vstring(
0015         'file:patTuple_micro.root'
0016 )
0017 )
0018 
0019 # output module
0020 #
0021 
0022 process.load("Configuration.EventContent.EventContent_cff")
0023 process.load('Configuration/StandardSequences/Geometry_cff')
0024 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0025 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0026 process.load('Configuration/StandardSequences/Reconstruction_cff')
0027 process.load('Configuration/EventContent/EventContent_cff')
0028 
0029 
0030 process.AOD1 = cms.OutputModule("PoolOutputModule",
0031     fileName = cms.untracked.string('btag001.root')
0032 )
0033 
0034 process.GlobalTag.globaltag = 'POSTLS162_V1::All'
0035 
0036 process.unpackTV = cms.EDProducer('PATTrackAndVertexUnpacker',
0037  slimmedVertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
0038  additionalTracks= cms.InputTag("lostTracks"),
0039  packedCandidates = cms.InputTag("packedPFCandidates")
0040 )
0041 
0042 process.ak4JetTracksAssociatorAtVertexPF.jets = cms.InputTag("slimmedJets")
0043 process.ak4JetTracksAssociatorAtVertexPF.tracks = cms.InputTag("unpackTV")
0044 process.impactParameterTagInfos.primaryVertex = cms.InputTag("unpackTV")
0045 process.p = cms.Path(process.unpackTV*process.ak4JetTracksAssociatorAtVertexPF*process.impactParameterTagInfos*process.secondaryVertexTagInfos*process.combinedSecondaryVertexBJetTags)
0046 process.endpath= cms.EndPath(process.AOD1)
0047 
0048