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.PreexistingOfflineValidation Class Reference
Inheritance diagram for preexistingValidation.PreexistingOfflineValidation:
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
 
 jobid
 
 jobmode
 
 name
 
 title
 
- Public Attributes inherited from genericValidation.GenericValidation
 alignmentToValidate
 
 AutoAlternates
 
 cmssw
 
 cmsswreleasebase
 
 config
 
 configFiles
 
 crabConfigFiles
 
 filesToCompare
 
 general
 
 jobmode
 
 name
 
 NJobs
 
 randomWorkdirPart
 
 scramarch
 
 scriptFiles
 
- Static Public Attributes inherited from genericValidation.GenericValidation
string defaultReferenceName = "DEFAULT"
 

Detailed Description

Definition at line 97 of file preexistingValidation.py.

Constructor & Destructor Documentation

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

Definition at line 99 of file preexistingValidation.py.

99 
100  addDefaults = {}, addMandatories=[]):
101  defaults = {
102  "DMRMethod":"median,rmsNorm",
103  "DMRMinimum":"30",
104  "DMROptions":"",
105  "OfflineTreeBaseDir":"TrackHitFilter",
106  "SurfaceShapes":"coarse",
107  }
108  defaults.update(addDefaults)
109  PreexistingValidation.__init__(self, valName, config, "offline",
defaults, addMandatories)

Member Function Documentation

def preexistingValidation.PreexistingOfflineValidation.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 110 of file preexistingValidation.py.

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

111  def appendToExtendedValidation( self, validationsSoFar = "" ):
112  """
113  if no argument or "" is passed a string with an instantiation is
114  returned, else the validation is appended to the list
115  """
116  repMap = self.getRepMap()
117  repMap["file"] = self.getCompareStrings("OfflineValidation", plain = True)
118  if validationsSoFar == "":
119  validationsSoFar = ('PlotAlignmentValidation p("%(file)s",'
120  '"%(title)s", %(color)s, %(style)s);\n')%repMap
121  else:
122  validationsSoFar += (' p.loadFileList("%(file)s", "%(title)s",'
123  '%(color)s, %(style)s);\n')%repMap
124  return validationsSoFar