CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes
preexistingValidation.PreexistingOfflineValidation Class Reference
Inheritance diagram for preexistingValidation.PreexistingOfflineValidation:
preexistingValidation.PreexistingValidation offlineValidation.OfflineValidation genericValidation.GenericValidation genericValidation.GenericValidationData_CTSR genericValidation.ParallelValidation genericValidation.ValidationWithComparison genericValidation.ValidationWithPlotsSummary genericValidation.ValidationForPresentation genericValidation.GenericValidationData genericValidation.GenericValidation genericValidation.GenericValidation genericValidation.ValidationWithPlotsSummaryBase genericValidation.ValidationWithPlots genericValidation.GenericValidation genericValidation.ValidationWithPlots genericValidation.GenericValidation genericValidation.GenericValidation

Public Member Functions

def __init__ (self, valName, config)
 
def appendToMerge (self, args, kwargs)
 
def getRepMap (self)
 
- Public Member Functions inherited from preexistingValidation.PreexistingValidation
def __init__ (self, valName, config)
 
def createConfiguration (self, args, kwargs)
 
def createCrabCfg (self, args, kwargs)
 
def createFiles (self, args, kwargs)
 
def createScript (self, args, kwargs)
 
def filesToCompare (self)
 
def getRepMap (self)
 
- Public Member Functions inherited from genericValidation.GenericValidation
def __init__ (self, valName, alignment, config)
 
def createConfiguration (self, fileContents, path, schedule=None, repMap=None, repMaps=None)
 
def createCrabCfg (self, fileContents, path)
 
def createFiles (self, fileContents, path, repMap=None, repMaps=None)
 
def createScript (self, fileContents, path, downloadFiles=[], repMap=None, repMaps=None)
 
def filesToCompare (self)
 
def getCompareStrings (self, requestId=None, plain=False)
 
def getRepMap (self, alignment=None)
 
- Public Member Functions inherited from offlineValidation.OfflineValidation
def __init__ (self, valName, alignment, config)
 
def appendToMerge (self)
 
def appendToPlots (self)
 
def comparealignmentsname (cls)
 
def createCrabCfg (self, path)
 
def createScript (self, path)
 
def FileOutputTemplate (self)
 
def getRepMap (self, alignment=None)
 
def initMerge (cls)
 
def plotsdirname (cls)
 
def plottingscriptname (cls)
 
def plottingscripttemplate (cls)
 
def presentationsubsections (cls)
 
def ProcessName (self)
 
def ValidationSequence (self)
 
def ValidationTemplate (self)
 
- Public Member Functions inherited from genericValidation.GenericValidationData_CTSR
def cosmics0T (self)
 
def DefinePath (self)
 
def getRepMap (self, alignment=None)
 
def isPVValidation (self)
 
def TrackSelectionRefitting (self)
 
def use_d0cut (self)
 
def ValidationSequence (self)
 
- Public Member Functions inherited from genericValidation.GenericValidationData
def __init__ (self, valName, alignment, config)
 
def Bookkeeping (self)
 
def cfgName (self)
 
def cfgTemplate (self)
 
def createConfiguration (self, path)
 
def createCrabCfg (self, path, crabCfgBaseName)
 
def createScript (self, path, template=configTemplates.scriptTemplate, downloadFiles=[], repMap=None, repMaps=None)
 
def DefinePath (self)
 
def FileOutputTemplate (self)
 
def filesToCompare (self)
 
def getRepMap (self, alignment=None)
 
def LoadBasicModules (self)
 
def ProcessName (self)
 
def TrackSelectionRefitting (self)
 
def ValidationTemplate (self)
 
- Public Member Functions inherited from genericValidation.ParallelValidation
def appendToMerge (self)
 
def doInitMerge (cls)
 
def doMerge (self)
 
def initMerge (cls)
 
- Public Member Functions inherited from genericValidation.ValidationWithComparison
def comparealignmentsname (cls)
 
def comparealignmentspath (cls)
 
def comparisontemplate (cls)
 
def doComparison (cls, validations)
 
- Public Member Functions inherited from genericValidation.ValidationWithPlotsSummary
def getsummaryitems (cls, folder)
 
- Public Member Functions inherited from genericValidation.ValidationWithPlotsSummaryBase
def getsummaryitems (cls, folder)
 
def printsummaryitems (cls, args, kwargs)
 
def summaryitemsstring (cls, folder=None, latex=False, transpose=True)
 
def writesummaryitems (cls, filename, args, kwargs)
 
- Public Member Functions inherited from genericValidation.ValidationWithPlots
def appendToPlots (self)
 
def createPlottingScript (cls, validations)
 
def doRunPlots (cls, validations)
 
def plotsdirname (cls)
 
def plottingscriptname (cls)
 
def plottingscripttemplate (cls)
 
def runPlots (cls, validations)
 
- Public Member Functions inherited from genericValidation.ValidationForPresentation
def presentationsubsections (cls)
 

Static Public Attributes

 defaults = deprecateddefaults.copy()
 
dictionary deprecateddefaults
 
- Static Public Attributes inherited from preexistingValidation.PreexistingValidation
dictionary defaults = {"title": ".oO[name]Oo."}
 
dictionary mandatories = {"file", "color", "style", "originalValName", "eosdirName", "multiIOV"}
 
dictionary removemandatories = {"dataset", "maxevents", "trackcollection"}
 
- Static Public Attributes inherited from genericValidation.GenericValidation
string defaultReferenceName = "DEFAULT"
 
dictionary defaults
 
 mandatories = set()
 
dictionary needpackages = {"Alignment/OfflineValidation"}
 
dictionary optionals = {"jobmode"}
 
- Static Public Attributes inherited from offlineValidation.OfflineValidation
string configBaseName = "TkAlOfflineValidation"
 
string crabCfgBaseName = "TkAlOfflineValidation"
 
dictionary defaults
 
dictionary deprecateddefaults
 
dictionary mandatories = {"trackcollection"}
 
string outputBaseName = "AlignmentValidation"
 
string resultBaseName = "AlignmentValidation"
 
string scriptBaseName = "TkAlOfflineValidation"
 
string valType = "offline"
 
- Static Public Attributes inherited from genericValidation.GenericValidationData_CTSR
dictionary defaults
 
- Static Public Attributes inherited from genericValidation.GenericValidationData
dictionary defaults
 
dictionary mandatories = {"dataset", "maxevents"}
 
bool needParentFiles = False
 
dictionary optionals = {"magneticfield"}
 

Additional Inherited Members

- Public Attributes inherited from preexistingValidation.PreexistingValidation
 config
 
 general
 
 jobid
 
 jobmode
 
 name
 
 needsproxy
 
 originalValName
 
 title
 
- Public Attributes inherited from genericValidation.GenericValidation
 alignmentToValidate
 
 AutoAlternates
 
 cmssw
 
 cmsswreleasebase
 
 config
 
 configFiles
 
 crabConfigFiles
 
 general
 
 jobid
 
 jobmode
 
 name
 
 needsproxy
 
 NJobs
 
 packages
 
 randomWorkdirPart
 
 scramarch
 
 scriptFiles
 
- Public Attributes inherited from offlineValidation.OfflineValidation
 NTracks
 
- Public Attributes inherited from genericValidation.GenericValidationData
 crabWorkingDir
 
 dataset
 

Detailed Description

Definition at line 84 of file preexistingValidation.py.

Constructor & Destructor Documentation

def preexistingValidation.PreexistingOfflineValidation.__init__ (   self,
  valName,
  config 
)

Definition at line 93 of file preexistingValidation.py.

References offlineValidation.OfflineValidation.deprecateddefaults, and genericValidation.GenericValidation.general.

93  def __init__(self, valName, config):
94  super(PreexistingOfflineValidation, self).__init__(valName, config)
95  for option in self.deprecateddefaults:
96  if self.general[option]:
97  raise AllInOneError("The '%s' option has been moved to the [plots:offline] section. Please specify it there."%option)
98 

Member Function Documentation

def preexistingValidation.PreexistingOfflineValidation.appendToMerge (   self,
  args,
  kwargs 
)

Definition at line 106 of file preexistingValidation.py.

106  def appendToMerge(self, *args, **kwargs):
107  raise AllInOneError("Shouldn't be here...")
108 
def preexistingValidation.PreexistingOfflineValidation.getRepMap (   self)

Definition at line 99 of file preexistingValidation.py.

References genericValidation.GenericValidation.general.

99  def getRepMap(self):
100  result = super(PreexistingOfflineValidation, self).getRepMap()
101  result.update({
102  "filetoplot": self.general["file"],
103  })
104  return result
105 

Member Data Documentation

preexistingValidation.PreexistingOfflineValidation.defaults = deprecateddefaults.copy()
static

Definition at line 92 of file preexistingValidation.py.

Referenced by tree.Tree.reset(), and tree.Tree.var().

dictionary preexistingValidation.PreexistingOfflineValidation.deprecateddefaults
static
Initial value:
1 = {
2  "DMRMethod":"",
3  "DMRMinimum":"",
4  "DMROptions":"",
5  "OfflineTreeBaseDir":"",
6  "SurfaceShapes":""
7  }

Definition at line 85 of file preexistingValidation.py.

Referenced by zMuMuValidation.ZMuMuValidation.__init__().