Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:35:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Ana")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(*[("rfio:/castor/cern.ch/user/t/tboccali/ttbar_fastsim_224_reco/TTbar_cfi_GEN_FASTSIM_PU.root.%d" % (x + 1)) for x in range(20)])
0007 )
0008 
0009 process.load("Configuration.StandardSequences.Geometry_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 process.GlobalTag.globaltag = 'IDEAL_V11::All'
0013 
0014 process.load("TrackingTools.TransientTrack.TransientTrackBuilder_cfi")
0015 
0016 process.load("RecoJets.JetAssociationProducers.ic5JetVertexCompatibility_cfi")
0017 
0018 process.pileupJetAnalyzer = cms.EDAnalyzer("PileupJetAnalyzer",
0019     jetTracksAssoc = cms.InputTag("ic5JetTracksAssociatorAtVertex"),
0020     jetTagLabel = cms.InputTag("ic5JetVertexCompatibility"),
0021     signalFraction = cms.double(0.5),
0022     jetMinE = cms.double(10),
0023     jetMinEt = cms.double(10),
0024     jetMaxEta = cms.double(2.7),
0025     trackPtLimit = cms.double(100)
0026 )
0027 
0028 process.TFileService = cms.Service("TFileService",
0029     fileName = cms.string("analysis.root")
0030 )
0031 
0032 process.path = cms.Path(
0033     process.ic5JetVertexCompatibility *
0034     process.pileupJetAnalyzer
0035 )