ATLAS Offline Software
Functions
python.CaloClusterMLCalibAlgLiteConfig Namespace Reference

Functions

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

Function Documentation

◆ CaloClusterMLCalibAlgLiteCfg()

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

Definition at line 10 of file CaloClusterMLCalibAlgLiteConfig.py.

10 def CaloClusterMLCalibAlgLiteCfg(flags, name="CaloClusterMLCalibAlgLite", **kwargs):
11  print("CaloClusterMLCalibAlgLiteCfg: Configuring CaloClusterMLCalibAlgLite...")
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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:342
python.CaloClusterMLCalibAlgLiteConfig.CaloClusterMLCalibAlgLiteCfg
def CaloClusterMLCalibAlgLiteCfg(flags, name="CaloClusterMLCalibAlgLite", **kwargs)
Definition: CaloClusterMLCalibAlgLiteConfig.py:10
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:26
CaloClusterMLCalibToolLiteCfg
Definition: CaloClusterMLCalibToolLiteCfg.py:1