ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.TrigValSteering.CheckSteps.ZipStep Class Reference
Inheritance diagram for python.TrigValSteering.CheckSteps.ZipStep:
Collaboration diagram for python.TrigValSteering.CheckSteps.ZipStep:

Public Member Functions

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

Public Attributes

 zip_output
 
 zip_input
 
 executable
 
 args
 
 output_stream
 

Detailed Description

Compress a large log file

Definition at line 228 of file CheckSteps.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 231 of file CheckSteps.py.

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

Member Function Documentation

◆ configure()

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

Definition at line 239 of file CheckSteps.py.

239  def configure(self, test=None):
240  self.args += ' '+self.zip_output+' '+self.zip_input
241  # Remove the file after zipping
242  self.args += ' && rm ' + self.zip_input
243  super(ZipStep, self).configure(test)
244 
245 

Member Data Documentation

◆ args

python.TrigValSteering.CheckSteps.ZipStep.args

Definition at line 236 of file CheckSteps.py.

◆ executable

python.TrigValSteering.CheckSteps.ZipStep.executable

Definition at line 235 of file CheckSteps.py.

◆ output_stream

python.TrigValSteering.CheckSteps.ZipStep.output_stream

Definition at line 237 of file CheckSteps.py.

◆ zip_input

python.TrigValSteering.CheckSteps.ZipStep.zip_input

Definition at line 234 of file CheckSteps.py.

◆ zip_output

python.TrigValSteering.CheckSteps.ZipStep.zip_output

Definition at line 233 of file CheckSteps.py.


The documentation for this class was generated from the following file:
configure
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)
Definition: TrigGlobEffCorrValidation.cxx:514
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18