ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrigValSteering.CheckSteps.ZipStep Class Reference
Inheritance diagram for python.TrigValSteering.CheckSteps.ZipStep:
Collaboration diagram for python.TrigValSteering.CheckSteps.ZipStep:

Public Member Functions

 __init__ (self, name='Zip')
 configure (self, test=None)

Public Attributes

 zip_output = None
 zip_input = None
str executable = 'tar'
str args = '-czf'
 output_stream = Step.OutputStream.STDOUT_ONLY

Detailed Description

Compress a large log file

Definition at line 227 of file CheckSteps.py.

Constructor & Destructor Documentation

◆ __init__()

python.TrigValSteering.CheckSteps.ZipStep.__init__ ( self,
name = 'Zip' )

Definition at line 230 of file CheckSteps.py.

230 def __init__(self, name='Zip'):
231 super(ZipStep, self).__init__(name)
232 self.zip_output = None
233 self.zip_input = None
234 self.executable = 'tar'
235 self.args = '-czf'
236 self.output_stream = Step.OutputStream.STDOUT_ONLY
237

Member Function Documentation

◆ configure()

python.TrigValSteering.CheckSteps.ZipStep.configure ( self,
test = None )

Definition at line 238 of file CheckSteps.py.

238 def configure(self, test=None):
239 self.args += ' '+self.zip_output+' '+self.zip_input
240 # Remove the file after zipping
241 self.args += ' && rm ' + self.zip_input
242 super(ZipStep, self).configure(test)
243
244
bool configure(asg::AnaToolHandle< ITrigGlobalEfficiencyCorrectionTool > &tool, ToolHandleArray< IAsgElectronEfficiencyCorrectionTool > &electronEffToolsHandles, ToolHandleArray< IAsgElectronEfficiencyCorrectionTool > &electronSFToolsHandles, ToolHandleArray< CP::IMuonTriggerScaleFactors > &muonToolsHandles, ToolHandleArray< IAsgPhotonEfficiencyCorrectionTool > &photonEffToolsHandles, ToolHandleArray< IAsgPhotonEfficiencyCorrectionTool > &photonSFToolsHandles, const std::string &triggers, const std::map< std::string, std::string > &legsPerTool, unsigned long nToys, bool debug)

Member Data Documentation

◆ args

str python.TrigValSteering.CheckSteps.ZipStep.args = '-czf'

Definition at line 235 of file CheckSteps.py.

◆ executable

str python.TrigValSteering.CheckSteps.ZipStep.executable = 'tar'

Definition at line 234 of file CheckSteps.py.

◆ output_stream

python.TrigValSteering.CheckSteps.ZipStep.output_stream = Step.OutputStream.STDOUT_ONLY

Definition at line 236 of file CheckSteps.py.

◆ zip_input

python.TrigValSteering.CheckSteps.ZipStep.zip_input = None

Definition at line 233 of file CheckSteps.py.

◆ zip_output

python.TrigValSteering.CheckSteps.ZipStep.zip_output = None

Definition at line 232 of file CheckSteps.py.


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