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",
"JetGhostLabel")
69 AntiKtVR30Rmax4Rmin02PV0Track =
JetDefinition(
"AntiKt", 0.4, cst.PV0Track,
70 modifiers = (
"Sort",
"JetDeltaRLabel:4500",
"JetGhostLabel",
"vr"),
81 modifiers = (
"Sort",)+truthmods,
91 ghostdefs = standardghosts+flavourghosts,
92 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
96 AntiKt4EMPFlow_noElectrons =
JetDefinition(
"AntiKt",0.4,cst.GPFlow_noElectrons,
97 ghostdefs = standardghosts+flavourghosts,
98 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
103 ghostdefs = standardghosts+flavourghosts,
104 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
109 ghostdefs = standardghosts+flavourghosts,
110 modifiers = calibmods+truthmods+standardmods+(
"Filter_calibThreshold:10000",
"JetGhostLabel",
"LArHVCorr",
"jetiso"),
115 ghostdefs = standardghosts+flavourghosts,
116 modifiers = calibmods+(
"Filter_ifnotESD:15000",
"OriginSetPV",
"LArHVCorr")+standardmods+clustermods,
123 ghostdefs = standardghosts+[
"TrackLRT"]+flavourghosts,
124 modifiers = calibmods+truthmods+standardmods+clustermods+(
"Filter_calibThreshold:15000",
"LArHVCorr",
"jetiso",),
134 ghostdefs = standardghosts+flavourghosts,
135 modifiers = (
"ConstitFourMom",
"CaloEnergies",
"Sort",
"Filter:1",
"JetPtAssociation",
"LArHVCorr",
"jetiso")+truthmods+standardmods,
144 ghostdefs = standardghosts+flavourghosts,
145 modifiers = calibmods+(
"Filter_calibThreshold:10000",
"EMScaleMom",
"JetPtAssociation",
"CaloEnergiesClus",
"JetGhostLabel",
"jetiso")+truthmods+standardmods_ufo,
154 ghostdefs = standardghosts+flavourghosts,
155 modifiers = calibmods_noCut+(
"Filter:1",
"EMScaleMom",
"JetPtAssociation",
"CaloEnergiesClus",
"jetiso",)+truthmods+standardmods_ufo,
162 ghostdefs = standardghosts+flavourghosts,
163 modifiers = (
"ConstitFourMom",
"CaloEnergies",
"Sort",
"Filter:1",
"JetPtAssociation",
"jetiso")+truthmods+standardmods,
170 ghostdefs = standardghosts+flavourghosts,
171 modifiers = calibmods_lowCut+(
"Filter:1",)+truthmods+standardmods+(
"JetPtAssociation",
"CaloEnergiesClus",
"jetiso"),
177 ghostdefs = standardghosts+flavourghosts,
178 modifiers = calibmods_lowCut+(
"Filter:1",)+truthmods+standardmods+(
"JetPtAssociation",
"CaloEnergiesClus"),
186 ghostdefs = standardghosts+flavourghosts,
187 modifiers = calibmods_lowCut+(
"Filter:1",)+truthmods+standardmods+clustermods+(
"JetPtAssociation",
"jetiso",),
194 ghostdefs = standardghosts+flavourghosts,
195 modifiers = calibmods_noCut+(
"Filter:7000",
"EMScaleMom",
"JetPtAssociation",
"CaloEnergiesClus",
"jetiso",)+truthmods+standardmods_ufo,
202 ghostdefs = standardghosts+flavourghosts,
203 modifiers = calibmods_lowCut+(
"Filter:2000",)+truthmods+standardmods+(
"JetPtAssociation",
"jetiso",),
210 ghostdefs = standardghosts+flavourghosts,
211 modifiers = calibmods_lowCut+(
"Filter:2000",)+truthmods+standardmods+clustermods+(
"JetPtAssociation",
"jetiso",),
221 ghostdefs = flavourghosts,
222 modifiers = (
"Sort",
"Width",
"jetisoTruth")+truthmods,
227 ghostdefs = flavourghosts,
228 modifiers = (
"Sort",
"Width")+truthmods,
233 ghostdefs = flavourghosts,
234 modifiers = (
"Sort",
"Width",
"jetisoTruth")+truthmods,
239 ghostdefs = flavourghosts,
240 modifiers = (
"Sort",
"Width",
"jetisoTruth")+truthmods,
248 ghostdefs = flavourghosts,
249 modifiers = (
"Sort",)+truthmods,
258 modifiers = (
"Sort", )+truthmods,
262 AntiKt4TruthGENWZ = AntiKt4TruthGEN.clone(inputdef=cst.TruthGENWZ)
264 AntiKt6TruthGEN = AntiKt4TruthGEN.clone(radius=0.6)
265 AntiKt6TruthGENWZ = AntiKt4TruthGENWZ.clone(radius=0.6)
269 """Top-level function to schedule the smallR jets in standard reconstruction """
270 from JetRecConfig.JetRecConfig
import JetRecCfg
272 standarSmallRList = [
278 compacc =
JetRecCfg( flags, standarSmallRList[0], )
279 for jetdef
in standarSmallRList[1:]:
280 compacc.merge(
JetRecCfg( flags, jetdef) )