Go to the documentation of this file.00001
00002 import FWCore.ParameterSet.Config as cms
00003
00004
00005 from Configuration.Generator.PythiaUESettings_cfi import *
00006
00007 TauolaNoPolar = cms.PSet(
00008 UseTauolaPolarization = cms.bool(False)
00009 )
00010 TauolaPolar = cms.PSet(
00011 UseTauolaPolarization = cms.bool(True)
00012 )
00013
00014
00015 from TauAnalysis.MCEmbeddingTools.MCParticleReplacer_cfi import *
00016 newSource.algorithm = "ZTauTau"
00017 newSource.ZTauTau.TauolaOptions.InputCards.mdtau = cms.int32(0)
00018 newSource.ZTauTau.minVisibleTransverseMomentum = cms.untracked.double(0)
00019 newSource.ZTauTau.transformationMode = cms.untracked.int32(3)
00020
00021 source = cms.Source("PoolSource",
00022 skipEvents = cms.untracked.uint32(0),
00023 fileNames = cms.untracked.vstring('file:patTuple_PF2PAT.root')
00024 )
00025
00026 filterEmptyEv = cms.EDFilter("EmptyEventsFilter",
00027 minEvents = cms.untracked.int32(1),
00028 target = cms.untracked.int32(1)
00029 )
00030
00031 adaptedMuonsFromWmunu = cms.EDProducer("PATMuonMETAdapter",
00032 patMuCands = cms.untracked.InputTag("patMuonsPFlow"),
00033 patMet = cms.untracked.InputTag("patMETsPFlow")
00034 )
00035
00036
00037 removedInputMuons = cms.EDProducer('ZmumuPFEmbedder',
00038 tracks = cms.InputTag("generalTracks"),
00039 selectedMuons = cms.InputTag("adaptedMuonsFromWmunu","zMusExtracted"),
00040 keepMuonTrack = cms.bool(False)
00041 )
00042
00043 Generator = newSource.clone()
00044 Generator.src = cms.InputTag("adaptedMuonsFromWmunu","zMusExtracted")
00045
00046 ProductionFilterSequence = cms.Sequence(adaptedMuonsFromWmunu*removedInputMuons*Generator*filterEmptyEv)