1 |
lantonel |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
import copy
|
3 |
|
|
|
4 |
|
|
###########################################################
|
5 |
|
|
##### Set up the event selections (channels) #####
|
6 |
|
|
###########################################################
|
7 |
|
|
|
8 |
|
|
##### List of valid input collections #####
|
9 |
|
|
# jets, muons, electrons, taus, photons, mets,
|
10 |
|
|
# events, tracks, primaryvertexs,
|
11 |
|
|
# genjets, mcparticles,
|
12 |
|
|
# bxlumis, superclusters
|
13 |
|
|
|
14 |
|
|
Event_Preselection = cms.PSet(
|
15 |
|
|
cuts = cms.VPSet (
|
16 |
|
|
cms.PSet (
|
17 |
|
|
inputCollection = cms.string("events"),
|
18 |
|
|
cutString = cms.string("FilterOutScraping > 0"),
|
19 |
|
|
numberRequired = cms.string(">= 1")
|
20 |
|
|
),
|
21 |
|
|
cms.PSet (
|
22 |
|
|
inputCollection = cms.string("primaryvertexs"),
|
23 |
|
|
cutString = cms.string("isGood > 0"),
|
24 |
|
|
numberRequired = cms.string(">= 1")
|
25 |
|
|
),
|
26 |
|
|
)
|
27 |
|
|
)
|
28 |
|
|
|
29 |
|
|
Muon_Preselection = cms.PSet(
|
30 |
|
|
cuts = cms.VPSet (
|
31 |
|
|
cms.PSet (
|
32 |
|
|
inputCollection = cms.string("muons"),
|
33 |
|
|
cutString = cms.string("abs(eta) < 2.5"),
|
34 |
|
|
numberRequired = cms.string(">= 1")
|
35 |
|
|
),
|
36 |
|
|
cms.PSet (
|
37 |
|
|
inputCollection = cms.string("muons"),
|
38 |
|
|
cutString = cms.string("pt > 25"),
|
39 |
|
|
numberRequired = cms.string(">= 1")
|
40 |
|
|
),
|
41 |
|
|
cms.PSet (
|
42 |
|
|
inputCollection = cms.string("muons"),
|
43 |
|
|
cutString = cms.string("tightID > 0"),
|
44 |
|
|
numberRequired = cms.string(">= 1")
|
45 |
|
|
),
|
46 |
|
|
cms.PSet (
|
47 |
|
|
inputCollection = cms.string("muons"),
|
48 |
|
|
cutString = cms.string("relPFdBetaIso < 0.12"),
|
49 |
|
|
numberRequired = cms.string(">= 1")
|
50 |
|
|
),
|
51 |
|
|
)
|
52 |
|
|
)
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
Electron_Preselection = cms.PSet(
|
56 |
|
|
cuts = cms.VPSet (
|
57 |
|
|
cms.PSet (
|
58 |
|
|
inputCollection = cms.string("electrons"),
|
59 |
|
|
cutString = cms.string("abs(eta) < 2.5"),
|
60 |
|
|
numberRequired = cms.string(">= 1")
|
61 |
|
|
),
|
62 |
|
|
cms.PSet (
|
63 |
|
|
inputCollection = cms.string("electrons"),
|
64 |
|
|
cutString = cms.string("pt > 25"),
|
65 |
|
|
numberRequired = cms.string(">= 1")
|
66 |
|
|
),
|
67 |
|
|
cms.PSet (
|
68 |
|
|
inputCollection = cms.string("electrons"),
|
69 |
|
|
cutString = cms.string("mvaTrigV0 > 0.9"),
|
70 |
|
|
numberRequired = cms.string(">= 1")
|
71 |
|
|
),
|
72 |
|
|
cms.PSet (
|
73 |
|
|
inputCollection = cms.string("electrons"),
|
74 |
|
|
cutString = cms.string("relPFrhoIso < 0.1"),
|
75 |
|
|
numberRequired = cms.string(">= 1")
|
76 |
|
|
),
|
77 |
|
|
)
|
78 |
|
|
)
|
79 |
|
|
|
80 |
|
|
## Preselection_EMu_PF_withTrigger = copy.deepcopy(Preselection_EMu_PF)
|
81 |
|
|
## Preselection_EMu_PF_withTrigger.name = "Preselection_EMu_PF_withTrigger"
|
82 |
|
|
## Preselection_EMu_PF_withTrigger.triggers = cms.vstring("HLT_Mu22_Photon22_CaloIdL_v")
|