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 meta={'choices':(['Kt4EMPFlowEventShape', 'Kt4EMPFlowPUSBEventShape', 'Kt4EMTopoOriginEventShape', 'Kt4EMPFlowNeutEventShape'],1)}
17 )
18

Member Function Documentation

◆ instanceName()

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

Definition at line 19 of file EventShapeDensityDumperConfig.py.

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

◆ makeAlgs()

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

Definition at line 23 of file EventShapeDensityDumperConfig.py.

23 def makeAlgs(self, config):
24
25 config.setSourceName (self.eventShape, self.eventShape)
26 config.setContainerMeta (self.eventShape, "nonContainer", True)
27
28 config.addOutputVar(self.eventShape, "Density", "density", noSys=True, auxType="float")
29 config.addOutputVar(self.eventShape, "DensitySigma", "density_sigma", noSys=True, auxType="float", enabled=False)
30 config.addOutputVar(self.eventShape, "DensityArea", "density_area", noSys=True, auxType="float", enabled=False)
31 config.addOutputVar(self.eventShape, "Thrust", "thrust", noSys=True, auxType="float", enabled=False)
32 config.addOutputVar(self.eventShape, "ThrustEta", "thrust_eta", noSys=True, auxType="float", enabled=False)
33 config.addOutputVar(self.eventShape, "ThrustPhi", "thrust_phi", noSys=True, auxType="float", enabled=False)
34 config.addOutputVar(self.eventShape, "ThrustMinor", "thrust_minor", noSys=True, auxType="float", enabled=False)
35 config.addOutputVar(self.eventShape, "Sphericity", "sphericity", noSys=True, auxType="float", enabled=False)
36 config.addOutputVar(self.eventShape, "FoxWolfram", "foxwolfram", noSys=True, auxType="float", enabled=False)

Member Data Documentation

◆ eventShape

python.EventShapeDensityDumperConfig.EventShapeDensityDumperBlock.eventShape

Definition at line 25 of file EventShapeDensityDumperConfig.py.


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