ATLAS Offline Software
Loading...
Searching...
No Matches
JetValidationHistoDefs.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3def GetJetVariables(container, refcontainer=''):
4 vars = []
5
6 vars += ["leadingjettrel"]
7
8 if ( ("Topo" in container or "PFlow" in container) and "Trimmed" not in container) and "SoftDrop" not in container:
9 vars += [ "Width",
10 # jet states
11 "basickinematics_emscale",
12 # track variables
13 "JVF[0]",
14 "JVF",
15 "JVFCorr",
16 "Jvt",
17 "JvtRpt",
18 # calo variables
19 "NegativeE",
20 "Timing",
21 ]
22
23 if "Topo" in container or "PFlow" in container or "UFO" in container:
24 vars += [
25 # jet states
26 "basickinematics_constscale",
27
28 #track variables
29 "SumPtTrkPt500",
30 "SumPtTrkPt500[0]",
31 "NumTrkPt500[0]",
32 "NumTrkPt1000[0]",
33 "TrackWidthPt1000[0]",
34 "GhostTrackCount",
35 "GhostTruthAssociationFraction",
36 "GhostMuonSegmentCount",
37
38 #calo variables
39 "EMFrac",
40 "HECFrac",
41 "EMB2",
42 "EMB3",
43 "EME2",
44 "EME3",
45 "HEC2",
46 "HEC3",
47 "FCAL0",
48 "FCAL1",
49 "TileBar0",
50 "TileBar1",
51 "TileExt0",
52 "TileExt1",
53 ]
54
55 if "PFlow" in container:
56 vars += [
57 "SumPtChargedPFOPt500[0]",
58 "NumChargedPFOPt500[0]",
59 "NumChargedPFOPt1000[0]",
60 "ChargedPFOWidthPt1000[0]",
61 "DFCommonJets_fJvt",
62 ]
63
64 if refcontainer != '':
65 vars += [
66 "effresponse",
67 ]
68
69 if "SoftDrop" in container:
70 vars += [
71 "rg",
72 "zg",
73 ]
74
75 if "Trimmed" in container:
76 vars += [
77 "NTrimSubjets",
78 "TrackSumPt",
79 "TrackSumMass",
80 ]
81
82 if "Trimmed" in container or "SoftDrop" in container:
83 if "Truth" in container:
84 vars += [
85 "D2",
86 "Tau1_wta",
87 "Tau2_wta",
88 "Tau3_wta",
89 "Qw",
90 ]
91 else:
92 vars += [
93 "ECF1",
94 "ECF2",
95 "ECF3",
96 "Tau1_wta",
97 "Tau2_wta",
98 "Tau3_wta",
99 "Split12",
100 "Split23",
101 "Split34",
102 "DetectorEta",
103 "Qw",
104 "PlanarFlow",
105 "FoxWolfram2",
106 "FoxWolfram0",
107 "Angularity",
108 "Aplanarity",
109 "KtDR",
110 "ZCut12",
111 "ZCut23",
112 "ZCut34",
113 "ThrustMin",
114 "ThrustMaj",
115 "Sphericity",
116 "Charge",
117 ]
118
119 if 'PV0Track' in container:
120 vars += [
121 "HadronConeExclTruthLabelID",
122 "HadronConeExclExtendedTruthLabelID",
123 "HadronGhostTruthLabelID",
124 "HadronGhostExtendedTruthLabelID",
125 ]
126 return vars
GetJetVariables(container, refcontainer='')