Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 import copy
0003 
0004 process = cms.Process('analyzePatTau')
0005 
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0009 #process.MessageLogger.cerr.threshold = cms.untracked.string('INFO')
0010 process.load('Configuration.StandardSequences.Geometry_cff')
0011 process.load('Configuration.StandardSequences.MagneticField_cff')
0012 #process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff')
0014 process.GlobalTag.globaltag = 'IDEAL_V9::All'
0015 
0016 process.maxEvents = cms.untracked.PSet(            
0017     input = cms.untracked.int32(-1)    
0018 )
0019 
0020 process.source = cms.Source("PoolSource",
0021     fileNames = cms.untracked.vstring(
0022         'file:patTuple.root'
0023     )
0024 )
0025 
0026 process.maxEvents = cms.untracked.PSet(            
0027     input = cms.untracked.int32(-1)    
0028 )
0029 
0030 process.analyzePatTau = cms.EDAnalyzer("PatTauAnalyzer",
0031     src = cms.InputTag('cleanLayer1Taus'),
0032     requireGenTauMatch = cms.bool(True),
0033     discrByLeadTrack = cms.string("leadingTrackPtCut"),
0034     discrByIso = cms.string("byIsolation"),
0035     discrByTaNC = cms.string("byTaNCfrHalfPercent")
0036 )
0037 
0038 process.TFileService = cms.Service("TFileService", 
0039     fileName = cms.string('patTau_Histograms.root')
0040 )
0041 
0042 process.p = cms.Path( process.analyzePatTau )
0043 
0044 # print-out all python configuration parameter information
0045 #print process.dumpPython()