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

Public Member Functions

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

Detailed Description

Print what branches are used in analysis

Definition at line 185 of file AsgAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

python.AsgAnalysisConfig.IOStatsBlock.__init__ ( self)

Definition at line 188 of file AsgAnalysisConfig.py.

188 def __init__(self):
189 super(IOStatsBlock, self).__init__()
190 self.addOption("printOption", "Summary", type=str,
191 info='option to pass the standard ROOT printing function. Can be `Summary`, `ByEntries` or `ByBytes`.',
192 meta={'choices':(['Summary','ByEntries','ByBytes'],1)})
193

Member Function Documentation

◆ instanceName()

python.AsgAnalysisConfig.IOStatsBlock.instanceName ( self)
Return the instance name for this block

Definition at line 194 of file AsgAnalysisConfig.py.

194 def instanceName (self) :
195 """Return the instance name for this block"""
196 return '' # no instance name, this is a singleton
197

◆ makeAlgs()

python.AsgAnalysisConfig.IOStatsBlock.makeAlgs ( self,
config )

Definition at line 198 of file AsgAnalysisConfig.py.

198 def makeAlgs(self, config):
199 alg = config.createAlgorithm('CP::IOStatsAlg', 'IOStatsAlg')
200 alg.printOption = self.printOption
201
202

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