ATLAS Offline Software
Functions | Variables
validateBDTTau Namespace Reference

Functions

def get_vector (lines, startswith)
 

Variables

 test_status
 
 test_output_file
 
 bdt_config_file
 
 out_log_content
 
 bdt_algo_lines
 
 rgx_vartitle
 
 rgx_coretitle
 
 rgx_etaphilayer
 
 variables
 
 last_var_line
 
 vartitle
 
 coretitle
 
 etaphilayer
 
 vt
 
 bdt_config
 
 bdt_scores
 

Function Documentation

◆ get_vector()

def validateBDTTau.get_vector (   lines,
  startswith 
)
Extract a vector of numbers from a line that starts with a string from a list of Athena log file lines

Definition at line 18 of file validateBDTTau.py.

18 def get_vector(lines, startswith):
19  """
20  Extract a vector of numbers from a line that starts with a string from a list of Athena log file lines
21  """
22  vals = [x[x.rfind(':')+1:].split() for x in lines if startswith in x]
23  vals = np.array(vals).astype(int)
24  return vals
25 

Variable Documentation

◆ bdt_algo_lines

validateBDTTau.bdt_algo_lines

Definition at line 29 of file validateBDTTau.py.

◆ bdt_config

validateBDTTau.bdt_config

Definition at line 50 of file validateBDTTau.py.

◆ bdt_config_file

validateBDTTau.bdt_config_file

Definition at line 16 of file validateBDTTau.py.

◆ bdt_scores

validateBDTTau.bdt_scores

Definition at line 58 of file validateBDTTau.py.

◆ coretitle

validateBDTTau.coretitle

Definition at line 39 of file validateBDTTau.py.

◆ etaphilayer

validateBDTTau.etaphilayer

Definition at line 40 of file validateBDTTau.py.

◆ last_var_line

validateBDTTau.last_var_line

Definition at line 36 of file validateBDTTau.py.

◆ out_log_content

validateBDTTau.out_log_content

Definition at line 26 of file validateBDTTau.py.

◆ rgx_coretitle

validateBDTTau.rgx_coretitle

Definition at line 33 of file validateBDTTau.py.

◆ rgx_etaphilayer

validateBDTTau.rgx_etaphilayer

Definition at line 34 of file validateBDTTau.py.

◆ rgx_vartitle

validateBDTTau.rgx_vartitle

Definition at line 32 of file validateBDTTau.py.

◆ test_output_file

validateBDTTau.test_output_file

Definition at line 15 of file validateBDTTau.py.

◆ test_status

validateBDTTau.test_status

Definition at line 10 of file validateBDTTau.py.

◆ variables

validateBDTTau.variables

Definition at line 35 of file validateBDTTau.py.

◆ vartitle

validateBDTTau.vartitle

Definition at line 38 of file validateBDTTau.py.

◆ vt

validateBDTTau.vt

Definition at line 43 of file validateBDTTau.py.

validateBDTTau.get_vector
def get_vector(lines, startswith)
Definition: validateBDTTau.py:18
Trk::split
@ split
Definition: LayerMaterialProperties.h:38