3 genTausFromZsForEmbeddingKineReweight = cms.EDProducer(
"GenParticlesFromZsSelectorForMCEmbedding",
4 src = cms.InputTag(
"genParticles"),
5 pdgIdsMothers = cms.vint32(23, 22),
6 pdgIdsDaughters = cms.vint32(15),
7 maxDaughters = cms.int32(2),
8 minDaughters = cms.int32(2),
9 before_or_afterFSR = cms.string(
"afterFSR")
11 genZdecayToTausForEmbeddingKineReweight = cms.EDProducer(
"CandViewShallowCloneCombiner",
12 checkCharge = cms.bool(
True),
13 cut = cms.string(
'charge = 0'),
14 decay = cms.string(
"genTausFromZsForEmbeddingKineReweight@+ genTausFromZsForEmbeddingKineReweight@-")
17 embeddingKineReweightGENembedding = cms.EDProducer(
"EmbeddingKineReweightProducer",
18 inputFileName = cms.FileInPath(
"TauAnalysis/MCEmbeddingTools/data/embeddingKineReweight_genEmbedding_mutau.root"),
20 genTau2PtVsGenTau1Pt = cms.string(
'embeddingKineReweight_muon2Pt_vs_muon1Pt'),
21 genTau2EtaVsGenTau1Eta = cms.string(
'embeddingKineReweight_muon2Eta_vs_muon1Eta'),
22 genDiTauMassVsGenDiTauPt = cms.string(
'embeddingKineReweight_diMuonMass_vs_diMuonPt')
24 srcGenDiTaus = cms.InputTag(
'genZdecayToTausForEmbeddingKineReweight'),
25 minWeight = cms.double(0.),
26 maxWeight = cms.double(1.e+1),
27 verbosity = cms.int32(0)
30 embeddingKineReweightRECembedding = embeddingKineReweightGENembedding.clone(
31 inputFileName = cms.FileInPath(
"TauAnalysis/MCEmbeddingTools/data/embeddingKineReweight_recEmbedding_mutau.root"),
33 genTau2PtVsGenTau1Pt = cms.string(
'embeddingKineReweight_muon2Pt_vs_muon1Pt'),
34 genTau2EtaVsGenTau1Eta = cms.string(
'embeddingKineReweight_muon2Eta_vs_muon1Eta'),
35 genDiTauMassVsGenDiTauPt = cms.string(
'embeddingKineReweight_diMuonMass_vs_diMuonPt')
37 verbosity = cms.int32(0)
62 embeddingKineReweightSequenceGENembedding = cms.Sequence(
63 genTausFromZsForEmbeddingKineReweight
64 + genZdecayToTausForEmbeddingKineReweight
65 + embeddingKineReweightGENembedding
68 embeddingKineReweightSequenceRECembedding = cms.Sequence(
69 genTausFromZsForEmbeddingKineReweight
70 + genZdecayToTausForEmbeddingKineReweight
71 + embeddingKineReweightRECembedding
74 embeddingKineReweightSequence = cms.Sequence(
75 embeddingKineReweightSequenceGENembedding
76 + embeddingKineReweightSequenceRECembedding