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 227 of file CheckSteps.py.

Constructor & Destructor Documentation

◆ __init__()

def 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()

def 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 

Member Data Documentation

◆ args

python.TrigValSteering.CheckSteps.ZipStep.args

Definition at line 235 of file CheckSteps.py.

◆ executable

python.TrigValSteering.CheckSteps.ZipStep.executable

Definition at line 234 of file CheckSteps.py.

◆ output_stream

python.TrigValSteering.CheckSteps.ZipStep.output_stream

Definition at line 236 of file CheckSteps.py.

◆ zip_input

python.TrigValSteering.CheckSteps.ZipStep.zip_input

Definition at line 233 of file CheckSteps.py.

◆ zip_output

python.TrigValSteering.CheckSteps.ZipStep.zip_output

Definition at line 232 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