CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
Mixins.PrintOptions Class Reference
Inheritance diagram for Mixins.PrintOptions:

Public Member Functions

def __init__ (self, indent=0, deltaIndent=4, process=True, targetDirectory=None, useSubdirectories=False)
 
def indent (self)
 
def indentation (self)
 
def unindent (self)
 

Public Attributes

 deltaIndent_
 
 indent_
 
 isCfg
 
 targetDirectory
 
 useSubdirectories
 

Detailed Description

Definition at line 10 of file Mixins.py.

Constructor & Destructor Documentation

◆ __init__()

def Mixins.PrintOptions.__init__ (   self,
  indent = 0,
  deltaIndent = 4,
  process = True,
  targetDirectory = None,
  useSubdirectories = False 
)

Definition at line 11 of file Mixins.py.

11  def __init__(self, indent = 0, deltaIndent = 4, process = True, targetDirectory = None, useSubdirectories = False):
12  self.indent_= indent
13  self.deltaIndent_ = deltaIndent
14  self.isCfg = process
15  self.targetDirectory = targetDirectory
16  self.useSubdirectories = useSubdirectories
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ indent()

def Mixins.PrintOptions.indent (   self)

◆ indentation()

def Mixins.PrintOptions.indentation (   self)

Definition at line 17 of file Mixins.py.

References Mixins.PrintOptions.indent_, and MisalignmentScenarioBuilder.indent_.

17  def indentation(self):
18  return ' '*self.indent_

◆ unindent()

def Mixins.PrintOptions.unindent (   self)

Definition at line 21 of file Mixins.py.

References Mixins.PrintOptions.deltaIndent_, Mixins.PrintOptions.indent_, and MisalignmentScenarioBuilder.indent_.

21  def unindent(self):
22  self.indent_ -= self.deltaIndent_
23 

Member Data Documentation

◆ deltaIndent_

Mixins.PrintOptions.deltaIndent_

Definition at line 13 of file Mixins.py.

Referenced by Mixins.PrintOptions.indent(), and Mixins.PrintOptions.unindent().

◆ indent_

Mixins.PrintOptions.indent_

◆ isCfg

Mixins.PrintOptions.isCfg

Definition at line 14 of file Mixins.py.

◆ targetDirectory

Mixins.PrintOptions.targetDirectory

Definition at line 15 of file Mixins.py.

◆ useSubdirectories

Mixins.PrintOptions.useSubdirectories

Definition at line 16 of file Mixins.py.