4ComponentAccumulator configuration for DNN-based forward electron
5calibration and identification tools in Run 4 with ITk and HGTD.
7 Calibration: https://cds.cern.ch/record/2922184
8 ID: https://cds.cern.ch/record/2922175
11from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
12from AthenaConfiguration.ComponentFactory
import CompFactory
17 Configure the DNN-based pT calibration tool for forward electrons.
18 Three eta bins: [2.5,2.7], [2.7,3.2], [3.2,4.0]
20 acc = ComponentAccumulator()
22 kwargs.setdefault(
"ModelFiles", [
23 "ElectronPhotonSelectorTools/ForwardElectronCalibration/20260428/calibration_eta_2.5_2.7_DNN.json",
24 "ElectronPhotonSelectorTools/ForwardElectronCalibration/20260428/calibration_eta_2.7_3.2_DNN.json",
25 "ElectronPhotonSelectorTools/ForwardElectronCalibration/20260428/calibration_eta_3.2_4.0_DNN.json",
27 kwargs.setdefault(
"pTMin", 10000.)
28 kwargs.setdefault(
"pTMax", 255000.)
31 CompFactory.AsgForwardElectronCalibrationTool(name, **kwargs)
37 workingPoint="Medium", **kwargs):
39 Configure the DNN-based ID selector tool for forward electrons.
40 Three eta bins: [2.5,2.7], [2.7,3.2], [3.2,4.0]
41 Available working points: Loose = 90% | Medium = 80% | Tight = 70%
43 acc = ComponentAccumulator()
48 name=name +
"_CalibTool"
50 calibTool = acc.popToolsAndMerge(calibAcc)
52 kwargs.setdefault(
"ModelFiles", [
53 "ElectronPhotonSelectorTools/ForwardElectronSelector/20260428/id_eta_2.5_2.7_DNN.json",
54 "ElectronPhotonSelectorTools/ForwardElectronSelector/20260428/id_eta_2.7_3.2_DNN.json",
55 "ElectronPhotonSelectorTools/ForwardElectronSelector/20260428/id_eta_3.2_4.0_DNN.json",
57 kwargs.setdefault(
"WorkingPoint", workingPoint)
58 kwargs.setdefault(
"CalibrationTool", calibTool)
61 CompFactory.AsgForwardElectronSelectorTool(name, **kwargs)
AsgForwardElectronLooseSelectorToolCfg(flags, name="AsgForwardElectronLooseSelectorTool", **kwargs)
AsgForwardElectronTightSelectorToolCfg(flags, name="AsgForwardElectronTightSelectorTool", **kwargs)
AsgForwardElectronCalibrationToolCfg(flags, name="AsgForwardElectronCalibrationTool", **kwargs)
AsgForwardElectronMediumSelectorToolCfg(flags, name="AsgForwardElectronMediumSelectorTool", **kwargs)
AsgForwardElectronSelectorToolCfg(flags, name="AsgForwardElectronSelectorTool", workingPoint="Medium", **kwargs)