ATLAS Offline Software
Loading...
Searching...
No Matches
python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock Class Reference
Inheritance diagram for python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock:
Collaboration diagram for python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock:

Public Member Functions

 __init__ (self)
 instanceName (self)
 makeAlgs (self, config)

Public Attributes

 eventShape

Detailed Description

ConfigBlock for adding EventShape

Definition at line 6 of file EventShapeDensityDumperConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.__init__ ( self)

Definition at line 9 of file EventShapeDensityDumperConfig.py.

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

Member Function Documentation

◆ instanceName()

python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.instanceName ( self)
Return the instance name for this block

Definition at line 18 of file EventShapeDensityDumperConfig.py.

18 def instanceName(self):
19 """Return the instance name for this block"""
20 return self.eventShape + 'Density'
21

◆ makeAlgs()

python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.makeAlgs ( self,
config )

Definition at line 22 of file EventShapeDensityDumperConfig.py.

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)

Member Data Documentation

◆ eventShape

python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.eventShape

Definition at line 24 of file EventShapeDensityDumperConfig.py.


The documentation for this class was generated from the following file: