ATLAS Offline Software
Loading...
Searching...
No Matches
python.L1.Config.L1CaloThresholdMapping Namespace Reference

Functions

 get_threshold_cut (threshold_type, threshold_val)

Variables

dict threshold_mapping

Function Documentation

◆ get_threshold_cut()

get_threshold_cut ( threshold_type,
threshold_val )

Definition at line 189 of file L1CaloThresholdMapping.py.

189def get_threshold_cut(threshold_type,threshold_val):
190 # To support more generality in topo alg configs
191 if threshold_val == 0:
192 return 0
193 # For jJ thresholds, there are different maps for:
194 # - jJ: 0-3.2 in eta
195 # - CjJ: 0-2.X (X=1,3,5) in eta
196 # - FjJ: 3.0-4.9 in eta
197 # - AjJ: 0-4.9 in eta uses the default range (L1Topo triggers)
198 _threshold_type = threshold_type
199 if threshold_type == 'AjJ':
200 _threshold_type = 'jJ'
201 return threshold_mapping[_threshold_type][threshold_val]

Variable Documentation

◆ threshold_mapping

dict python.L1.Config.L1CaloThresholdMapping.threshold_mapping

Definition at line 11 of file L1CaloThresholdMapping.py.