ATLAS Offline Software
JetValidationHistoDefs.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 def 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_QGTagger_NTracks",
62  "DFCommonJets_QGTagger_TracksWidth",
63  "DFCommonJets_QGTagger_TracksC1",
64  "DFCommonJets_fJvt",
65  ]
66 
67  if refcontainer != '':
68  vars += [
69  "effresponse",
70  ]
71 
72  if "SoftDrop" in container:
73  vars += [
74  "rg",
75  "zg",
76  ]
77 
78  if "Trimmed" in container:
79  vars += [
80  "NTrimSubjets",
81  "TrackSumPt",
82  "TrackSumMass",
83  ]
84 
85  if "Trimmed" in container or "SoftDrop" in container:
86  if "Truth" in container:
87  vars += [
88  "D2",
89  "Tau1_wta",
90  "Tau2_wta",
91  "Tau3_wta",
92  "Qw",
93  ]
94  else:
95  vars += [
96  "ECF1",
97  "ECF2",
98  "ECF3",
99  "Tau1_wta",
100  "Tau2_wta",
101  "Tau3_wta",
102  "Split12",
103  "Split23",
104  "Split34",
105  "DetectorEta",
106  "Qw",
107  "PlanarFlow",
108  "FoxWolfram2",
109  "FoxWolfram0",
110  "Angularity",
111  "Aplanarity",
112  "KtDR",
113  "ZCut12",
114  "ZCut23",
115  "ZCut34",
116  "ThrustMin",
117  "ThrustMaj",
118  "Sphericity",
119  "Charge",
120  ]
121 
122  if 'PV0Track' in container:
123  vars += [
124  "HadronConeExclTruthLabelID",
125  "HadronConeExclExtendedTruthLabelID",
126  "HadronGhostTruthLabelID",
127  "HadronGhostExtendedTruthLabelID",
128  ]
129  return vars
python.JetValidationHistoDefs.GetJetVariables
def GetJetVariables(container, refcontainer='')
Definition: JetValidationHistoDefs.py:3