CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
preexistingValidation.PreexistingTrackSplittingValidation Class Reference
Inheritance diagram for preexistingValidation.PreexistingTrackSplittingValidation:
preexistingValidation.PreexistingValidation genericValidation.GenericValidation

Public Member Functions

def __init__
 
def appendToExtendedValidation
 
- Public Member Functions inherited from preexistingValidation.PreexistingValidation
def __init__
 
def createConfiguration
 
def createCrabCfg
 
def createFiles
 
def createScript
 
def getCompareStrings
 
def getRepMap
 
- Public Member Functions inherited from genericValidation.GenericValidation
def __init__
 
def createConfiguration
 
def createCrabCfg
 
def createFiles
 
def createScript
 
def getCompareStrings
 
def getRepMap
 

Additional Inherited Members

- Public Attributes inherited from preexistingValidation.PreexistingValidation
 config
 
 filesToCompare
 
 general
 
 jobmode
 
 name
 
 title
 
- Public Attributes inherited from genericValidation.GenericValidation
 alignmentToValidate
 
 AutoAlternates
 
 cmssw
 
 cmsswreleasebase
 
 config
 
 configFiles
 
 crabConfigFiles
 
 filesToCompare
 
 general
 
 jobid
 
 jobmode
 
 name
 
 NJobs
 
 packages
 
 randomWorkdirPart
 
 scramarch
 
 scriptFiles
 
 valType
 
- Static Public Attributes inherited from genericValidation.GenericValidation
string defaultReferenceName = "DEFAULT"
 

Detailed Description

Definition at line 123 of file preexistingValidation.py.

Constructor & Destructor Documentation

def preexistingValidation.PreexistingTrackSplittingValidation.__init__ (   self,
  valName,
  config,
  addDefaults = {},
  addMandatories = [] 
)

Definition at line 125 of file preexistingValidation.py.

126  addDefaults = {}, addMandatories=[]):
127  defaults = {"subdetector": "BPIX"}
128  defaults.update(addDefaults)
129  PreexistingValidation.__init__(self, valName, config, "split",
defaults, addMandatories)

Member Function Documentation

def preexistingValidation.PreexistingTrackSplittingValidation.appendToExtendedValidation (   self,
  validationsSoFar = "" 
)
if no argument or "" is passed a string with an instantiation is
returned, else the validation is appended to the list

Definition at line 130 of file preexistingValidation.py.

References genericValidation.GenericValidation.getCompareStrings(), genericValidation.GenericValidation.getRepMap(), and alignment.Alignment.getRepMap().

131  def appendToExtendedValidation( self, validationsSoFar = "" ):
132  """
133  if no argument or "" is passed a string with an instantiation is
134  returned, else the validation is appended to the list
135  """
136  repMap = self.getRepMap()
137  comparestring = self.getCompareStrings("TrackSplittingValidation")
138  if validationsSoFar != "":
139  validationsSoFar += ',"\n "'
140  validationsSoFar += comparestring
141  return validationsSoFar