1 |
########################################
|
2 |
#### Created 14-Apr-09
|
3 |
#### by A.-M. Magnan
|
4 |
#### a.magnan@imperial.ac.uk
|
5 |
########################################
|
6 |
|
7 |
import FWCore.ParameterSet.Config as cms
|
8 |
import copy
|
9 |
|
10 |
####################################################################
|
11 |
######### phase space info #########################################
|
12 |
####################################################################
|
13 |
|
14 |
# import sequence for production of generator level information about phase-space simulated in Monte Carlo
|
15 |
# (needed to avoid overlap in phase-space simulated in different QCD background Monte Carlo samples)
|
16 |
|
17 |
genPhaseSpaceEventInfo = cms.EDProducer("GenPhaseSpaceEventInfoProducer",
|
18 |
srcGenEventScale = cms.InputTag('genEventScale'),
|
19 |
srcGenParticles = cms.InputTag('genParticles')
|
20 |
)
|
21 |
|
22 |
produceGenPhaseSpaceEventInfoForTauAnalyses = cms.Sequence(genPhaseSpaceEventInfo)
|
23 |
|
24 |
####################################################################
|
25 |
#########tau genjets ###############################################
|
26 |
####################################################################
|
27 |
|
28 |
from PhysicsTools.JetMCAlgos.TauGenJets_cfi import *
|
29 |
|
30 |
produceTauGenJetsForTauAnalyses = cms.Sequence( tauGenJets )
|
31 |
|
32 |
|
33 |
####################################################################
|
34 |
######### genMET with muons ########################################
|
35 |
####################################################################
|
36 |
|
37 |
import RecoMET.Configuration.GenMETParticles_cff
|
38 |
import RecoMET.METProducers.genMet_cfi
|
39 |
|
40 |
genCandidatesForMETWithMuForTauAnalyses = RecoMET.Configuration.GenMETParticles_cff.genCandidatesForMET.clone()
|
41 |
|
42 |
genCandidatesForMETWithMuForTauAnalyses.ignoreParticleIDs = cms.vuint32(
|
43 |
1000022, 2000012, 2000014,
|
44 |
2000016, 1000039, 5000039,
|
45 |
4000012, 9900012, 9900014,
|
46 |
9900016, 39, 18, 12, 14, 16) ###These ID's will contribute to MET
|
47 |
|
48 |
genMETWithMuForTauAnalyses = RecoMET.METProducers.genMet_cfi.genMet.clone()
|
49 |
genMETWithMuForTauAnalyses.src = cms.InputTag("genCandidatesForMETWithMuForTauAnalyses") ## Output MET type
|
50 |
genMETWithMuForTauAnalyses.alias = cms.string('GenMETWithMu') ## Alias for FWLite
|
51 |
|
52 |
produceGenMETwithMuForTauAnalyses = cms.Sequence(genCandidatesForMETWithMuForTauAnalyses * genMETWithMuForTauAnalyses)
|
53 |
|
54 |
|