ATLAS Offline Software
Loading...
Searching...
No Matches
python.HLT.MET.AlgConfigs Namespace Reference

Classes

class  CellConfig
class  CVFPufitConfig
class  MHTConfig
class  MHTPufitConfig
class  NNHLTConfig
class  PFOPufitConfig
class  PFSumConfig
class  TCConfig
class  TCPufitConfig
class  TrkMHTConfig

Functions

 test_configs ()

Variables

 log = logging.getLogger(__name__)

Function Documentation

◆ test_configs()

python.HLT.MET.AlgConfigs.test_configs ( )
Make sure that all algorithms defined in the METChainParts have
configurations

Really, this is mainly to have something sensible to call in the
ConfigHelpers file to succeed the ctest :(

Definition at line 37 of file AlgConfigs.py.

37def test_configs():
38 """Make sure that all algorithms defined in the METChainParts have
39 configurations
40
41 Really, this is mainly to have something sensible to call in the
42 ConfigHelpers file to succeed the ctest :(
43 """
44 unknown_algs = []
45 for alg in METChainParts["EFrecoAlg"]:
46 for subcls in AlgConfig._get_subclasses():
47 if subcls.algType() == alg:
48 break
49 else:
50 unknown_algs.append(alg)
51 assert (
52 len(unknown_algs) == 0
53 ), "The following EFrecoAlgs do not have AlgConfig classes: " "{}".format(
54 unknown_algs
55 )
56
57

Variable Documentation

◆ log

python.HLT.MET.AlgConfigs.log = logging.getLogger(__name__)

Definition at line 34 of file AlgConfigs.py.