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 | Static Public Attributes
preexistingValidation.PreexistingOfflineValidation Class Reference
Inheritance diagram for preexistingValidation.PreexistingOfflineValidation:
preexistingValidation.PreexistingValidation

Public Member Functions

def __init__
 
def appendToMerge
 
def getRepMap
 
- Public Member Functions inherited from preexistingValidation.PreexistingValidation
def __init__
 
def createConfiguration
 
def createCrabCfg
 
def createFiles
 
def createScript
 
def filesToCompare
 
def getRepMap
 

Static Public Attributes

tuple 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"}
 

Additional Inherited Members

- Public Attributes inherited from preexistingValidation.PreexistingValidation
 config
 
 general
 
 jobid
 
 jobmode
 
 name
 
 needsproxy
 
 originalValName
 
 title
 

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, preexistingValidation.PreexistingOfflineValidation.deprecateddefaults, preexistingValidation.PreexistingValidation.general, plottingOptions.BasePlottingOptions.general, and genericValidation.GenericValidation.general.

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

Member Function Documentation

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

Definition at line 106 of file preexistingValidation.py.

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

Definition at line 99 of file preexistingValidation.py.

References preexistingValidation.PreexistingValidation.general, plottingOptions.BasePlottingOptions.general, and genericValidation.GenericValidation.general.

Referenced by trackSplittingValidation.TrackSplittingValidation.appendToMerge(), primaryVertexResolution.PrimaryVertexResolution.appendToMerge(), primaryVertexValidation.PrimaryVertexValidation.appendToMerge(), trackSplittingValidation.TrackSplittingValidation.appendToPlots(), primaryVertexResolution.PrimaryVertexResolution.appendToPlots(), primaryVertexValidation.PrimaryVertexValidation.appendToPlots(), zMuMuValidation.ZMuMuValidation.appendToPlots(), and zMuMuValidation.ZMuMuValidation.filesToCompare().

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

Member Data Documentation

tuple 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__(), and preexistingValidation.PreexistingOfflineValidation.__init__().