CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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.ValidationWithPlots genericValidation.ValidationWithPlotsSummaryBase genericValidation.GenericValidation genericValidation.GenericValidation genericValidation.GenericValidationData genericValidation.ValidationMetaClass

Public Member Functions

def __init__ (self, valName, config)
 
def appendToMerge (self, *args, **kwargs)
 
def getRepMap (self)
 
- Public Member Functions inherited from preexistingValidation.PreexistingValidation
def createConfiguration (self, *args, **kwargs)
 
def createCrabCfg (self, *args, **kwargs)
 
def createFiles (self, *args, **kwargs)
 
def createScript (self, *args, **kwargs)
 
def filesToCompare (self)
 
- Public Member Functions inherited from genericValidation.GenericValidation
def createConfiguration (self, fileContents, path, schedule=None, repMap=None, repMaps=None)
 
def createFiles (self, fileContents, path, repMap=None, repMaps=None)
 
def getCompareStrings (self, requestId=None, plain=False)
 
- Public Member Functions inherited from genericValidation.ValidationMetaClass
def __new__ (cls, clsname, bases, dct)
 
- 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 isPVValidation (self)
 
def TrackSelectionRefitting (self)
 
def use_d0cut (self)
 
- Public Member Functions inherited from genericValidation.GenericValidationData
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 filesToCompare (self)
 
def LoadBasicModules (self)
 
- Public Member Functions inherited from genericValidation.ParallelValidation
def doInitMerge (cls)
 
def doMerge (self)
 
- Public Member Functions inherited from genericValidation.ValidationWithComparison
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 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 createPlottingScript (cls, validations)
 
def doRunPlots (cls, validations)
 
def runPlots (cls, validations)
 

Static Public Attributes

dictionary 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 genericValidation.ValidationMetaClass
list dicts = ["defaults"]
 
list sets = ["mandatories", "optionals", "needpackages"]
 
- 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

◆ __init__()

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

Reimplemented from preexistingValidation.PreexistingValidation.

Definition at line 93 of file preexistingValidation.py.

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 

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

Member Function Documentation

◆ appendToMerge()

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 

◆ getRepMap()

def preexistingValidation.PreexistingOfflineValidation.getRepMap (   self)

Reimplemented from preexistingValidation.PreexistingValidation.

Definition at line 99 of file preexistingValidation.py.

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

References genericValidation.GenericValidation.general.

Member Data Documentation

◆ defaults

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

Definition at line 92 of file preexistingValidation.py.

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

◆ deprecateddefaults

dictionary preexistingValidation.PreexistingOfflineValidation.deprecateddefaults
static
Initial value:
= {
"DMRMethod":"",
"DMRMinimum":"",
"DMROptions":"",
"OfflineTreeBaseDir":"",
"SurfaceShapes":""
}

Definition at line 85 of file preexistingValidation.py.

Referenced by zMuMuValidation.ZMuMuValidation.__init__().