2 import FWCore.ParameterSet.Config
as cms
7 TauolaNoPolar = cms.PSet(
8 UseTauolaPolarization = cms.bool(
False)
10 TauolaPolar = cms.PSet(
11 UseTauolaPolarization = cms.bool(
True)
16 newSource.algorithm =
"ZTauTau"
17 newSource.ZTauTau.TauolaOptions.InputCards.mdtau = cms.int32(0)
18 newSource.ZTauTau.minVisibleTransverseMomentum = cms.untracked.double(0)
19 newSource.ZTauTau.transformationMode = cms.untracked.int32(3)
21 source = cms.Source(
"PoolSource",
22 skipEvents = cms.untracked.uint32(0),
23 fileNames = cms.untracked.vstring(
'file:patTuple_PF2PAT.root')
26 filterEmptyEv = cms.EDFilter(
"EmptyEventsFilter",
27 minEvents = cms.untracked.int32(1),
28 target = cms.untracked.int32(1)
31 adaptedMuonsFromWmunu = cms.EDProducer(
"PATMuonMETAdapter",
32 patMuCands = cms.untracked.InputTag(
"patMuonsPFlow"),
33 patMet = cms.untracked.InputTag(
"patMETsPFlow")
37 removedInputMuons = cms.EDProducer(
'ZmumuPFEmbedder',
38 tracks = cms.InputTag(
"generalTracks"),
39 selectedMuons = cms.InputTag(
"adaptedMuonsFromWmunu",
"zMusExtracted"),
40 keepMuonTrack = cms.bool(
False)
43 generator = newSource.clone()
44 generator.src = cms.InputTag(
"adaptedMuonsFromWmunu",
"zMusExtracted")
46 ProductionFilterSequence = cms.Sequence(adaptedMuonsFromWmunu*removedInputMuons*generator*filterEmptyEv)