CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
offlineValidation.OfflineValidationDQM Class Reference
Inheritance diagram for offlineValidation.OfflineValidationDQM:
offlineValidation.OfflineValidation genericValidation.GenericValidationData genericValidation.GenericValidation

Public Member Functions

def __init__
 
def createConfiguration
 
def createScript
 
def getRepMap
 
- Public Member Functions inherited from offlineValidation.OfflineValidation
def __init__
 
def appendToExtendedValidation
 
def appendToMerge
 
def createConfiguration
 
def createCrabCfg
 
def createScript
 
def getRepMap
 
- Public Member Functions inherited from genericValidation.GenericValidationData
def __init__
 
def createCrabCfg
 
def createScript
 
def getRepMap
 
- Public Member Functions inherited from genericValidation.GenericValidation
def __init__
 
def createConfiguration
 
def createCrabCfg
 
def createFiles
 
def createScript
 
def getCompareStrings
 
def getRepMap
 

Private Attributes

 __firstRun
 
 __lastRun
 
 __PrimaryDataset
 

Additional Inherited Members

- Public Attributes inherited from offlineValidation.OfflineValidation
 configBaseName
 
 crabCfgBaseName
 
 needParentFiles
 
 outputBaseName
 
 resultBaseName
 
 scriptBaseName
 
- Public Attributes inherited from genericValidation.GenericValidationData
 crabWorkingDir
 
 dataset
 
- 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 132 of file offlineValidation.py.

Constructor & Destructor Documentation

def offlineValidation.OfflineValidationDQM.__init__ (   self,
  valName,
  alignment,
  config,
  configBaseName = "TkAlOfflineValidationDQM" 
)

Definition at line 133 of file offlineValidation.py.

134  def __init__(self, valName, alignment, config, configBaseName = "TkAlOfflineValidationDQM"):
135  OfflineValidation.__init__(self, valName, alignment, config,
136  configBaseName = configBaseName)
137  if not config.has_section("DQM"):
138  msg = "You need to have a DQM section in your configfile!"
139  raise AllInOneError(msg)
140 
141  self.__PrimaryDataset = config.get("DQM", "primaryDataset")
142  self.__firstRun = int(config.get("DQM", "firstRun"))
143  self.__lastRun = int(config.get("DQM", "lastRun"))

Member Function Documentation

def offlineValidation.OfflineValidationDQM.createConfiguration (   self,
  path 
)

Definition at line 144 of file offlineValidation.py.

145  def createConfiguration(self, path):
146  OfflineValidation.createConfiguration(self, path)
def offlineValidation.OfflineValidationDQM.createScript (   self,
  path 
)

Definition at line 147 of file offlineValidation.py.

148  def createScript(self, path):
149  return OfflineValidation.createScript(self, path)
def offlineValidation.OfflineValidationDQM.getRepMap (   self,
  alignment = None 
)

Definition at line 150 of file offlineValidation.py.

References offlineValidation.OfflineValidationDQM.__firstRun, offlineValidation.OfflineValidationDQM.__lastRun, and offlineValidation.OfflineValidationDQM.__PrimaryDataset.

Referenced by plottingOptions.PlottingOptionsTrackSplitting.validsubdets().

151  def getRepMap(self, alignment = None):
152  repMap = OfflineValidation.getRepMap(self, alignment)
153  repMap.update({
154  "workdir": os.path.expandvars(repMap["workdir"]),
155  "offlineValidationMode": "Dqm",
156  "offlineValidationFileOutput": configTemplates.offlineDqmFileOutputTemplate,
157  "workflow": ("/%s/TkAl%s-.oO[alignmentName]Oo._R%09i_R%09i_"
158  "ValSkim-v1/ALCARECO"
159  %(self.__PrimaryDataset,
160  datetime.datetime.now().strftime("%y"),
161  self.__firstRun, self.__lastRun)),
162  "firstRunNumber": "%i"% self.__firstRun
163  })
164  if "__" in repMap["workflow"]:
165  msg = ("the DQM workflow specefication must not contain '__'. "
166  "it is: %s"%repMap["workflow"])
167  raise AllInOneError(msg)
168  return repMap

Member Data Documentation

offlineValidation.OfflineValidationDQM.__firstRun
private

Definition at line 141 of file offlineValidation.py.

Referenced by offlineValidation.OfflineValidationDQM.getRepMap().

offlineValidation.OfflineValidationDQM.__lastRun
private

Definition at line 142 of file offlineValidation.py.

Referenced by offlineValidation.OfflineValidationDQM.getRepMap().

offlineValidation.OfflineValidationDQM.__PrimaryDataset
private

Definition at line 140 of file offlineValidation.py.

Referenced by offlineValidation.OfflineValidationDQM.getRepMap().