ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
python
EventShapeDensityDumperConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
from
AnalysisAlgorithmsConfig.ConfigBlock
import
ConfigBlock
4
5
6
class
EventShapeDensityDumperBlock
(ConfigBlock):
7
"""ConfigBlock for adding EventShape"""
8
9
def
__init__
(self):
10
super(EventShapeDensityDumperBlock, self).
__init__
()
11
self.addOption(
12
"eventShape"
,
13
"Kt4EMPFlowNeutEventShape"
,
14
type=str,
15
info=
"event shape variable to restore. Available options are: `Kt4EMPFlowEventShape`, `Kt4EMPFlowPUSBEventShape`, `Kt4EMTopoOriginEventShape`. `Kt4EMPFlowNeutEventShape`."
,
16
)
17
18
def
instanceName
(self):
19
"""Return the instance name for this block"""
20
return
self.
eventShape
+
'Density'
21
22
def
makeAlgs
(self, config):
23
24
config.setSourceName (self.
eventShape
, self.
eventShape
)
25
config.setContainerMeta (self.
eventShape
,
"nonContainer"
,
True
)
26
27
config.addOutputVar(self.
eventShape
,
"Density"
,
"density"
, noSys=
True
, auxType=
"float"
)
28
config.addOutputVar(self.
eventShape
,
"DensitySigma"
,
"density_sigma"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
29
config.addOutputVar(self.
eventShape
,
"DensityArea"
,
"density_area"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
30
config.addOutputVar(self.
eventShape
,
"Thrust"
,
"thrust"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
31
config.addOutputVar(self.
eventShape
,
"ThrustEta"
,
"thrust_eta"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
32
config.addOutputVar(self.
eventShape
,
"ThrustPhi"
,
"thrust_phi"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
33
config.addOutputVar(self.
eventShape
,
"ThrustMinor"
,
"thrust_minor"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
34
config.addOutputVar(self.
eventShape
,
"Sphericity"
,
"sphericity"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
35
config.addOutputVar(self.
eventShape
,
"FoxWolfram"
,
"foxwolfram"
, noSys=
True
, auxType=
"float"
, enabled=
False
)
python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock
Definition
EventShapeDensityDumperConfig.py:6
python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.instanceName
instanceName(self)
Definition
EventShapeDensityDumperConfig.py:18
python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.eventShape
eventShape
Definition
EventShapeDensityDumperConfig.py:24
python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.makeAlgs
makeAlgs(self, config)
Definition
EventShapeDensityDumperConfig.py:22
python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.__init__
__init__(self)
Definition
EventShapeDensityDumperConfig.py:9
Generated on
for ATLAS Offline Software by
1.17.0