ATLAS Offline Software
Loading...
Searching...
No Matches
LCOOCConfig Namespace Reference

Functions

 GetLCOOCCfg (flags)

Function Documentation

◆ GetLCOOCCfg()

LCOOCConfig.GetLCOOCCfg ( flags)

Definition at line 6 of file LCOOCConfig.py.

6def GetLCOOCCfg(flags):
7
8 result = ComponentAccumulator()
9
10 GetLCO = CompFactory.GetLCOutOfCluster("GetLCO", ClusterCollectionName = "CaloTopoClusters")
11 GetLCO.OutputFileName = flags.LCW.outFileNameLCO
12
13 #
14 # Example how to set dimensions for out-of-cluster corrections:
15 #
16 #from AthenaCommon.SystemOfUnits import deg, GeV, MeV
17 #from AthenaCommon.AlgSequence import AlgSequence
18 #from math import ( pi as m_pi, log10 as m_log10 )
19 #GetLCO.OutOfClusterDimensions = {
20 # 'side': ('side',-1.5,1.5,1),
21 # '|eta|': ('|eta|',0.,5.,50),
22 # 'phi': ('phi',-m_pi,m_pi,1),
23 # 'log10(E_clus (MeV))': ('log10(E_clus (MeV))',m_log10(200*MeV),m_log10(1*TeV),22),
24 # 'log10(lambda_clus (mm))': ('log10(lambda_clus (mm))',0.0,4.0,20),
25 # 'weight': ('weight',0.,5.,1)}
26 #
27
28 result.addEventAlgo(GetLCO)
29
30 return result