ATLAS Offline Software
InnerDetector
InDetValidation
InDetTrackPerfMon
python
InDetTrackPerfMonFlags.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
#from AthenaConfiguration.Enums import LHCPeriod
4
5
6
def
createIDTPMConfigFlags
():
7
from
AthenaConfiguration.AthConfigFlags
import
AthConfigFlags
8
icf = AthConfigFlags()
9
10
icf.addFlag(
"DirName"
,
"InDetTrackPerfMonPlots/"
)
11
icf.addFlag(
"trkAnaNames"
, [
"Default"
] )
12
icf.addFlag(
"plotsDefFormat"
,
"JSON"
)
13
icf.addFlag(
"plotsDefFileList"
,
"InDetTrackPerfMon/HistoDefFileList_default.txt"
)
14
icf.addFlag(
"plotsCommonValuesFile"
,
"InDetTrackPerfMon/IDTPMPlotCommonValues.json"
)
15
icf.addFlag(
"sortPlotsByChain"
,
False
)
16
17
return
icf
18
19
20
22
def
createIDTPMTrkAnaConfigFlags
():
23
from
AthenaConfiguration.AthConfigFlags
import
AthConfigFlags
24
icf = AthConfigFlags()
25
26
# General properties
27
icf.addFlag(
"enabled"
,
True
)
28
icf.addFlag(
"anaTag"
,
""
)
29
icf.addFlag(
"SubFolder"
,
""
)
30
# Test-Reference collections properties
31
icf.addFlag(
"TestType"
,
"Offline"
)
32
icf.addFlag(
"RefType"
,
"Truth"
)
33
icf.addFlag(
"TrigTrkKey"
,
"HLT_IDTrack_Electron_IDTrig"
)
34
icf.addFlag(
"OfflineTrkKey"
,
"InDetTrackParticles"
)
35
icf.addFlag(
"TruthPartKey"
,
"TruthParticles"
)
36
# Matching properties
37
icf.addFlag(
"MatchingType"
,
"DeltaRMatch"
)
38
icf.addFlag(
"dRmax"
, 0.05 )
39
icf.addFlag(
"pTResMax"
, -9.9 )
40
icf.addFlag(
"truthProbCut"
, 0.5 )
41
# Trigger-specific properties
42
icf.addFlag(
"ChainNames"
, [] )
43
icf.addFlag(
"RoiKey"
,
""
)
44
icf.addFlag(
"ChainLeg"
, -1 )
45
icf.addFlag(
"doTagNProbe"
,
False
)
46
icf.addFlag(
"RoiKeyTag"
,
""
)
47
icf.addFlag(
"ChainLegTag"
, 0 )
48
icf.addFlag(
"RoiKeyProbe"
,
""
)
49
icf.addFlag(
"ChainLegProbe"
, 1 )
50
# Offline tracks selection properties
51
icf.addFlag(
"SelectOfflineObject"
,
""
)
52
icf.addFlag(
"OfflineQualityWP"
,
"TightPrimary"
, help=
"Apply track quality selection cuts to the reconstructed tracks, if blank no selections is done"
)
53
icf.addFlag(
"ObjectQuality"
,
"Medium"
)
54
icf.addFlag(
"TauType"
,
"RNN"
)
55
icf.addFlag(
"TauNprongs"
, 1 )
56
icf.addFlag(
"TruthProbMin"
, 0.5 )
57
# ...
58
# Truth particles selection properties
59
# ...
60
# Histogram properties
61
icf.addFlag(
"plotTrackParameters"
,
True
)
62
icf.addFlag(
"plotEfficiencies"
,
True
)
63
icf.addFlag(
"plotOfflineElectrons"
,
False
)
64
65
return
icf
InDetTrackPerfMonFlags.createIDTPMConfigFlags
def createIDTPMConfigFlags()
IDTPM whole job properties.
Definition:
InDetTrackPerfMonFlags.py:6
InDetTrackPerfMonFlags.createIDTPMTrkAnaConfigFlags
def createIDTPMTrkAnaConfigFlags()
IDTPM individual TrkAnalysis properties to be read from trkAnaCfgFile in JSON format.
Definition:
InDetTrackPerfMonFlags.py:22
Generated on Fri Jul 5 2024 21:17:52 for ATLAS Offline Software by
1.8.18