3 from JetRecConfig.StandardJetConstits
import stdConstitDic
as cst
4 from JetRecConfig.JetRecConfig
import registerAsInputConstit
5 from .JetDefinition
import JetDefinition
11 standardghosts = [
"Track",
"MuonSegment",
"Truth",
"Tower"]
14 flavourghosts = [
"BHadronsInitial",
"BHadronsFinal",
"BQuarksFinal",
15 "CHadronsInitial",
"CHadronsFinal",
"CQuarksFinal",
17 "WBosons",
"ZBosons",
"HBosons",
"TQuarksFinal",
29 "ConstitFourMom",
"CaloEnergies",
35 "ConstitFourMom",
"CaloEnergies",
36 "Calib:T0:mc:JetArea_Residual",
41 "ConstitFourMom",
"CaloEnergies",
"Sort"
46 "CaloQuality",
"TrackMoments",
"TrackSumMoments",
47 "JVF",
"JVT",
"Charge",
52 "CaloQualityFE",
"TrackMoments",
"TrackSumMoments",
53 "JVF",
"JVT",
"Charge",
56 clustermods = (
"ECPSFrac",
"ClusterMoments",)
57 truthmods = (
"PartonTruthLabel",
"JetDeltaRLabel:5000",)
64 AntiKtVR30Rmax4Rmin02PV0Track =
JetDefinition(
"AntiKt", 0.4, cst.PV0Track,
65 modifiers = (
"Sort",
"JetDeltaRLabel:4500",
"JetGhostLabel",
"vr"),
76 modifiers = (
"Sort",)+truthmods,
86 ghostdefs = standardghosts+flavourghosts,
87 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
91 AntiKt4EMPFlow_noElectrons =
JetDefinition(
"AntiKt",0.4,cst.GPFlow_noElectrons,
92 ghostdefs = standardghosts+flavourghosts,
93 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
98 ghostdefs = standardghosts+flavourghosts,
99 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
104 ghostdefs = standardghosts+flavourghosts,
105 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
110 ghostdefs = standardghosts+flavourghosts,
111 modifiers = calibmods+(
"Filter_ifnotESD:15000",
"OriginSetPV",
"LArHVCorr")+standardmods+clustermods,
118 ghostdefs = standardghosts+[
"TrackLRT"]+flavourghosts,
119 modifiers = calibmods+truthmods+standardmods+clustermods+(
"Filter_calibThreshold:15000",
"LArHVCorr",
"jetiso",),
129 ghostdefs = standardghosts+flavourghosts,
130 modifiers = (
"ConstitFourMom",
"CaloEnergies",
"Sort",
"Filter:1",
"JetPtAssociation",
"LArHVCorr",
"jetiso")+truthmods+standardmods,
139 ghostdefs = standardghosts+flavourghosts,
140 modifiers = calibmods+(
"Filter_calibThreshold:10000",
"EMScaleMom",
"JetPtAssociation",
"CaloEnergiesClus",
"JetGhostLabel",
"jetiso")+truthmods+standardmods_ufo,
149 ghostdefs = standardghosts+flavourghosts,
150 modifiers = calibmods_noCut+(
"Filter:1",
"EMScaleMom",
"JetPtAssociation",
"CaloEnergiesClus",
"jetiso",)+truthmods+standardmods_ufo,
157 ghostdefs = standardghosts+flavourghosts,
158 modifiers = (
"ConstitFourMom",
"CaloEnergies",
"Sort",
"Filter:1",
"JetPtAssociation",
"jetiso")+truthmods+standardmods,
165 ghostdefs = standardghosts+flavourghosts,
166 modifiers = calibmods_lowCut+(
"Filter:1",)+truthmods+standardmods+(
"JetPtAssociation",
"CaloEnergiesClus",
"jetiso"),
172 ghostdefs = standardghosts+flavourghosts,
173 modifiers = calibmods_lowCut+(
"Filter:1",)+truthmods+standardmods+(
"JetPtAssociation",
"CaloEnergiesClus"),
181 ghostdefs = standardghosts+flavourghosts,
182 modifiers = calibmods_lowCut+(
"Filter:1",)+truthmods+standardmods+clustermods+(
"JetPtAssociation",
"jetiso",),
189 ghostdefs = standardghosts+flavourghosts,
190 modifiers = calibmods_noCut+(
"Filter:7000",
"EMScaleMom",
"JetPtAssociation",
"CaloEnergiesClus",
"jetiso",)+truthmods+standardmods_ufo,
197 ghostdefs = standardghosts+flavourghosts,
198 modifiers = calibmods_lowCut+(
"Filter:2000",)+truthmods+standardmods+(
"JetPtAssociation",
"jetiso",),
205 ghostdefs = standardghosts+flavourghosts,
206 modifiers = calibmods_lowCut+(
"Filter:2000",)+truthmods+standardmods+clustermods+(
"JetPtAssociation",
"jetiso",),
216 ghostdefs = flavourghosts,
217 modifiers = (
"Sort",
"Width",
"jetisoTruth")+truthmods,
222 ghostdefs = flavourghosts,
223 modifiers = (
"Sort",
"Width")+truthmods,
228 ghostdefs = flavourghosts,
229 modifiers = (
"Sort",
"Width",
"jetisoTruth")+truthmods,
234 ghostdefs = flavourghosts,
235 modifiers = (
"Sort",
"Width",
"jetisoTruth")+truthmods,
243 ghostdefs = flavourghosts,
244 modifiers = (
"Sort",)+truthmods,
253 modifiers = (
"Sort", )+truthmods,
257 AntiKt4TruthGENWZ = AntiKt4TruthGEN.clone(inputdef=cst.TruthGENWZ)
259 AntiKt6TruthGEN = AntiKt4TruthGEN.clone(radius=0.6)
260 AntiKt6TruthGENWZ = AntiKt4TruthGENWZ.clone(radius=0.6)
264 """Top-level function to schedule the smallR jets in standard reconstruction """
265 from JetRecConfig.JetRecConfig
import JetRecCfg
267 standarSmallRList = [
273 compacc =
JetRecCfg( flags, standarSmallRList[0], )
274 for jetdef
in standarSmallRList[1:]:
275 compacc.merge(
JetRecCfg( flags, jetdef) )