CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
Mixins.PrintOptions Class Reference
Inheritance diagram for Mixins.PrintOptions:

Public Member Functions

def __init__
 
def indent
 
def indentation
 
def unindent
 

Public Attributes

 deltaIndent_
 
 indent_
 
 isCfg
 
 targetDirectory
 
 useSubdirectories
 

Detailed Description

Definition at line 10 of file Mixins.py.

Constructor & Destructor Documentation

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

Definition at line 11 of file Mixins.py.

11 
12  def __init__(self, indent = 0, deltaIndent = 4, process = True, targetDirectory = None, useSubdirectories = False):
13  self.indent_= indent
14  self.deltaIndent_ = deltaIndent
15  self.isCfg = process
16  self.targetDirectory = targetDirectory
self.useSubdirectories = useSubdirectories

Member Function Documentation

def Mixins.PrintOptions.indent (   self)

Definition at line 19 of file Mixins.py.

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

Referenced by ntuplePrintersDiff.TrackingParticlePrinter._parentageChain(), ntuplePrintersDiff.SeedPrinter.printHits(), ntuplePrintersDiff.TrackPrinter.printHits(), and ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle().

19 
20  def indent(self):
self.indent_ += self.deltaIndent_
def Mixins.PrintOptions.indentation (   self)

Definition at line 17 of file Mixins.py.

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

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

Definition at line 21 of file Mixins.py.

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

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

Member Data Documentation

Mixins.PrintOptions.deltaIndent_

Definition at line 13 of file Mixins.py.

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

Mixins.PrintOptions.indent_

Definition at line 12 of file Mixins.py.

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

Mixins.PrintOptions.isCfg

Definition at line 14 of file Mixins.py.

Mixins.PrintOptions.targetDirectory

Definition at line 15 of file Mixins.py.

Mixins.PrintOptions.useSubdirectories

Definition at line 16 of file Mixins.py.