ATLAS Offline Software
Loading...
Searching...
No Matches
python.CaloClusterMLCalibAlgLiteConfig Namespace Reference

Functions

 CaloClusterMLCalibAlgLiteCfg (flags, name="CaloClusterMLCalibAlgLite", **kwargs)

Function Documentation

◆ CaloClusterMLCalibAlgLiteCfg()

python.CaloClusterMLCalibAlgLiteConfig.CaloClusterMLCalibAlgLiteCfg ( flags,
name = "CaloClusterMLCalibAlgLite",
** kwargs )

Definition at line 10 of file CaloClusterMLCalibAlgLiteConfig.py.

10def CaloClusterMLCalibAlgLiteCfg(flags, name="CaloClusterMLCalibAlgLite", **kwargs):
11 print("CaloClusterMLCalibAlgLiteCfg: Configuring CaloClusterMLCalibAlgLite...")
12 ca = ComponentAccumulator()
13
14 clusterContainerName = "CaloCalTopoClusters" # the name you want on disk at the end
15
16 alg = CompFactory.CaloClusterMLCalibAlgLite(name, **kwargs)
17 alg.CaloClusterMLCalibToolLite = ca.popToolsAndMerge(CaloClusterMLCalibToolLiteCfg(flags))
18
19 # Read the temp key, write the legacy key
20 alg.ClusterContainer = clusterContainerName
21
22 # Decor goes on the OUTPUT (legacy) collection
23 alg.ClusterMLCalibratedEnergyKeyName = f"{clusterContainerName}.clusterE_ML"
24 alg.ClusterMLCalibratedEnergyUncKeyName = f"{clusterContainerName}.clusterE_ML_unc"
25
26 ca.addEventAlgo(alg)
27 return ca
void print(char *figname, TCanvas *c1)