Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
python.L1.Config.L1CaloThresholdMapping Namespace Reference

Functions

def get_threshold_cut (threshold_type, threshold_val)
 

Variables

 threshold_mapping
 

Function Documentation

◆ get_threshold_cut()

def python.L1.Config.L1CaloThresholdMapping.get_threshold_cut (   threshold_type,
  threshold_val 
)

Definition at line 185 of file L1CaloThresholdMapping.py.

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

Variable Documentation

◆ threshold_mapping

python.L1.Config.L1CaloThresholdMapping.threshold_mapping

Definition at line 11 of file L1CaloThresholdMapping.py.

python.L1.Config.L1CaloThresholdMapping.get_threshold_cut
def get_threshold_cut(threshold_type, threshold_val)
Definition: L1CaloThresholdMapping.py:185