ATLAS Offline Software
Loading...
Searching...
No Matches
Functions
LCClassificationConfig Namespace Reference
Functions
GetLCCCfg
(flags)
Function Documentation
◆
GetLCCCfg()
LCClassificationConfig.GetLCCCfg
(
flags
)
Definition at line
6
of file
LCClassificationConfig.py
.
6
def
GetLCCCfg(flags):
7
8
result = ComponentAccumulator()
9
10
GetLCC = CompFactory.GetLCClassification(
"GetLCC"
,ClusterCollectionName =
"CaloTopoClusters"
)
11
GetLCC.OutputFileName = flags.LCW.outFileNameLCC
12
13
#
14
# Example how to set dimensions for classiciation:
15
#
16
#from AthenaCommon.SystemOfUnits import deg, GeV, MeV
17
#from math import ( pi as m_pi, log10 as m_log10 )
18
#GetLCC.ClassificationDimensions = {
19
# 'side': ('side',-1.5,1.5,1),
20
# '|eta|': ('|eta|',0.,5.,25),
21
# 'phi': ('phi',-m_pi,m_pi,1),
22
# 'log10(E_clus (MeV))': ('log10(E_clus (MeV))',m_log10(200*MeV),m_log10(1*TeV),13),
23
# 'log10(<rho_cell (MeV/mm^3)>)-log10(E_clus (MeV))': ('log10(<rho_cell (MeV/mm^3)>)-log10(E_clus (MeV))',-9.0,-4.0,20),
24
# 'log10(lambda_clus (mm))': ('log10(lambda_clus (mm))',0.0,4.0,20)}
25
#
26
27
result.addEventAlgo(GetLCC)
28
29
return
result
30
Generated on
for ATLAS Offline Software by
1.14.0