3 from JetRecConfig.StandardJetConstits
import stdConstitDic
as cst
4 from .JetDefinition
import JetDefinition
5 from .JetGrooming
import JetTrimming, JetSoftDrop
6 from JetRecConfig.JetRecConfig
import registerAsInputConstit
9 import JetRecConfig.StandardSmallRJets
14 standardghosts = [
"Track",
"MuonSegment",
"Truth"]
17 flavourghosts = [
"BHadronsFinal",
"CHadronsFinal",
18 "WBosons",
"ZBosons",
"HBosons",
"TQuarksFinal",
35 ufo_dnn_moments = (
"CaloEnergiesLargeR",
"ConstitFrac",
"groomMRatio")
37 clustermods = (
"ECPSFrac",
"ClusterMoments",)
38 truthmods = (
"PartonTruthLabel",)
41 truthlabels = (
"JetTaggingTruthLabel:R10TruthLabel_R21Consolidated",
"JetTaggingTruthLabel:R10TruthLabel_R21Precision",
"JetTaggingTruthLabel:R10TruthLabel_R21Precision_2022v1",
"JetTaggingTruthLabel:R10TruthLabel_R22v1")
42 truthlabels_SD = (
"JetTaggingTruthLabel:R10TruthLabel_R21Precision",
"JetTaggingTruthLabel:R10TruthLabel_R21Precision_2022v1",
"JetTaggingTruthLabel:R10TruthLabel_R22v1",
"JetTaggingTruthLabel:R10WZTruthLabel_R22v1")
44 substrmods = (
"nsubjettiness",
"nsubjettinessR",
"ktsplitter",
45 "ecorr",
"ecorrR",
"qw",
50 lctopo_trimmed_mods = (
"planarflow",
"angularity",
"comshapes",
"ktdr",
"TrackSumMoments",
"softdropobs")
51 ufo_softdrop_mods = (
"planarflow",
"angularity",
"comshapes",
"ktdr",
"ecorrgeneral",
"ecorrgeneralratios",
"softdropobs")
59 ghostdefs = standardghosts+flavourghosts+[
"AntiKtVR30Rmax4Rmin02PV0TrackJets"] ,
60 modifiers = (
"Sort",
"Filter:50000",
"TrackMoments",
"JetGhostLabel"),
61 standardRecoMode =
True,
66 AntiKt10LCTopo_noVR = AntiKt10LCTopo.clone(
67 ghostdefs = standardghosts+flavourghosts
70 AntiKt10LCTopo_withmoms = AntiKt10LCTopo.clone(
71 modifiers = (
"Sort",
"Filter:50000",
"Width",
"TrackMoments",
"TrackSumMoments",
"JetDeltaRLabel:5000")+clustermods+truthmods,
77 modifiers = (
"Filter:1000",
"Calib:CombinedMass:mc",
"Filter:100000",)+standardrecomods+substrmods+lctopo_trimmed_mods+truthlabels,
78 PtFrac = 0.05, RClus = 0.2,
81 AntiKt10LCTopoTrimmed_trigger =
JetTrimming(AntiKt10LCTopo_noVR,
83 modifiers = (
"Filter:1000",
"Calib:CombinedMass:mc",
"Filter:50000",
"Sort",
"ConstitFourMom"),
84 PtFrac = 0.05, RClus = 0.2,
88 modifiers = standardrecomods+substrmods,
94 standardRecoMode =
True)
98 ghostdefs = standardghosts+flavourghosts+[
"AntiKtVR30Rmax4Rmin02PV0TrackJets"] ,
99 modifiers = (
"Sort",
"Filter:50000",
"TrackMoments",
"JetGhostLabel",
"PartonTruthLabel"),
100 standardRecoMode =
True,
103 AntiKt10UFOCSSK_noElectrons =
JetDefinition(
"AntiKt",1.0,cst.UFOCSSK_noElectrons,
104 ghostdefs = standardghosts+flavourghosts+[
"AntiKtVR30Rmax4Rmin02PV0TrackJets"],
105 modifiers = (
"Sort",
"Filter:50000",
"TrackMoments",
"JetGhostLabel",
"PartonTruthLabel"),
106 standardRecoMode =
True,
110 ghostdefs = standardghosts+flavourghosts+[
"AntiKtVR30Rmax4Rmin02PV0TrackJets"],
111 modifiers = (
"Sort",
"Filter:50000",
"TrackMoments",
"JetGhostLabel",
"PartonTruthLabel"),
112 standardRecoMode =
True,
115 AntiKt10UFOCSSK_noLeptons =
JetDefinition(
"AntiKt",1.0,cst.UFOCSSK_noLeptons,
116 ghostdefs = standardghosts+flavourghosts+[
"AntiKtVR30Rmax4Rmin02PV0TrackJets"],
117 modifiers = (
"Sort",
"Filter:50000",
"TrackMoments",
"JetGhostLabel",
"PartonTruthLabel"),
118 standardRecoMode =
True,
123 modifiers = (
"Filter:1000",
"Calib:SoftDrop:mc",
"Filter:100000",
"JetGhostLabel")+standardrecomods+substrmods+ufo_softdrop_mods+truthlabels_SD+ufo_dnn_moments,
124 Beta = 1., ZCut= 0.1,
127 AntiKt10UFOCSSKSoftDrop_noElectrons =
JetSoftDrop(AntiKt10UFOCSSK_noElectrons,
129 modifiers = (
"Filter:1000",
"Calib:SoftDrop:mc",
"Filter:100000",
"Sort",
"JetGhostLabel")+standardrecomods+substrmods+ufo_softdrop_mods+truthlabels_SD+ufo_dnn_moments,
130 Beta = 1., ZCut= 0.1,
133 AntiKt10UFOCSSKSoftDrop_noMuons =
JetSoftDrop(AntiKt10UFOCSSK_noMuons,
135 modifiers = (
"Filter:1000",
"Calib:SoftDrop:mc",
"Filter:100000",
"Sort",
"JetGhostLabel")+standardrecomods+substrmods+ufo_softdrop_mods+truthlabels_SD+ufo_dnn_moments,
136 Beta = 1., ZCut= 0.1,
139 AntiKt10UFOCSSKSoftDrop_noLeptons =
JetSoftDrop(AntiKt10UFOCSSK_noLeptons,
141 modifiers = (
"Filter:1000",
"Calib:SoftDrop:mc",
"Filter:100000",
"Sort",
"JetGhostLabel")+standardrecomods+substrmods+ufo_softdrop_mods+truthlabels_SD+ufo_dnn_moments,
142 Beta = 1., ZCut= 0.1,
147 modifiers = (
"Filter:1000",
"Calib:SoftDrop:mc",
"Filter:50000",
"Sort",
"ConstitFourMom"),
148 Beta = 1., ZCut= 0.1,
154 ghostdefs = flavourghosts ,
155 modifiers = (
"Sort",
"Filter:50000",
"ktsplitter",
"JetGhostLabel"),
156 standardRecoMode =
True,
161 modifiers = (
"Sort",
"JetGhostLabel")+substrmods+truthmods,
162 PtFrac = 0.05, RClus = 0.2,
166 modifiers = (
"Sort",
"JetGhostLabel")+substrmods+truthmods,
167 Beta = 1., ZCut= 0.1,
172 ghostdefs = flavourghosts,
173 modifiers = (
"Sort",
"Filter:50000",
"ktsplitter",
"JetGhostLabel"),
174 standardRecoMode =
True,
179 modifiers = (
"Sort",
"JetGhostLabel")+substrmods+truthmods,
180 Beta = 1., ZCut= 0.1,
184 ghostdefs = flavourghosts ,
185 modifiers = (
"Sort",
"Filter:50000",
"ktsplitter",
"JetGhostLabel"),
186 standardRecoMode =
True,
190 AntiKt10TruthDressedWZSoftDrop =
JetSoftDrop(AntiKt10TruthDressedWZ,
191 modifiers = (
"Sort",
"JetGhostLabel")+substrmods+truthmods,
192 Beta = 1., ZCut= 0.1,
201 modifiers = (
"Sort", )+truthmods,
205 AntiKt10TruthGENWZ = AntiKt10TruthGEN.clone(inputdef=cst.TruthGENWZ)