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 | Private Attributes
offlineValidation.OfflineValidationDQM Class Reference
Inheritance diagram for offlineValidation.OfflineValidationDQM:
offlineValidation.OfflineValidation

Public Member Functions

def __init__
 
def FileOutputTemplate
 
def getRepMap
 
- Public Member Functions inherited from offlineValidation.OfflineValidation
def __init__
 
def appendToMerge
 
def appendToPlots
 
def comparealignmentsname
 
def createCrabCfg
 
def createScript
 
def FileOutputTemplate
 
def getRepMap
 
def initMerge
 
def plotsdirname
 
def plottingscriptname
 
def plottingscripttemplate
 
def presentationsubsections
 
def ProcessName
 
def ValidationSequence
 
def ValidationTemplate
 

Static Public Attributes

string configBaseName = "TkAlOfflineValidationDQM"
 
- 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"
 

Private Attributes

 __firstRun
 
 __lastRun
 
 __PrimaryDataset
 

Additional Inherited Members

- Public Attributes inherited from offlineValidation.OfflineValidation
 NTracks
 

Detailed Description

Definition at line 156 of file offlineValidation.py.

Constructor & Destructor Documentation

def offlineValidation.OfflineValidationDQM.__init__ (   self,
  valName,
  alignment,
  config 
)

Definition at line 158 of file offlineValidation.py.

159  def __init__(self, valName, alignment, config):
160  super(OfflineValidationDQM, self).__init__(valName, alignment, config)
161  if not config.has_section("DQM"):
162  msg = "You need to have a DQM section in your configfile!"
163  raise AllInOneError(msg)
164 
165  self.__PrimaryDataset = config.get("DQM", "primaryDataset")
166  self.__firstRun = int(config.get("DQM", "firstRun"))
167  self.__lastRun = int(config.get("DQM", "lastRun"))

Member Function Documentation

def offlineValidation.OfflineValidationDQM.FileOutputTemplate (   self)

Definition at line 187 of file offlineValidation.py.

188  def FileOutputTemplate(self):
189  return configTemplates.offlineDqmFileOutputTemplate
def offlineValidation.OfflineValidationDQM.getRepMap (   self,
  alignment = None 
)

Definition at line 168 of file offlineValidation.py.

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

Referenced by overlapValidation.OverlapValidation.appendToMerge(), trackSplittingValidation.TrackSplittingValidation.appendToMerge(), primaryVertexResolution.PrimaryVertexResolution.appendToMerge(), primaryVertexValidation.PrimaryVertexValidation.appendToMerge(), overlapValidation.OverlapValidation.appendToPlots(), trackSplittingValidation.TrackSplittingValidation.appendToPlots(), primaryVertexResolution.PrimaryVertexResolution.appendToPlots(), primaryVertexValidation.PrimaryVertexValidation.appendToPlots(), zMuMuValidation.ZMuMuValidation.appendToPlots(), zMuMuValidation.ZMuMuValidation.filesToCompare(), and plottingOptions.PlottingOptionsTrackSplitting.validsubdets().

169  def getRepMap(self, alignment = None):
170  repMap = super(OfflineValidationDQM, self).getRepMap(alignment)
171  repMap.update({
172  "workdir": os.path.expandvars(repMap["workdir"]),
173  "offlineValidationMode": "Dqm",
174  "workflow": ("/%s/TkAl%s-.oO[alignmentName]Oo._R%09i_R%09i_"
175  "ValSkim-v1/ALCARECO"
176  %(self.__PrimaryDataset,
177  datetime.datetime.now().strftime("%y"),
178  self.__firstRun, self.__lastRun)),
179  "firstRunNumber": "%i"% self.__firstRun
180  })
181  if "__" in repMap["workflow"]:
182  msg = ("the DQM workflow specefication must not contain '__'. "
183  "it is: %s"%repMap["workflow"])
184  raise AllInOneError(msg)
185  return repMap

Member Data Documentation

offlineValidation.OfflineValidationDQM.__firstRun
private

Definition at line 165 of file offlineValidation.py.

Referenced by offlineValidation.OfflineValidationDQM.getRepMap().

offlineValidation.OfflineValidationDQM.__lastRun
private

Definition at line 166 of file offlineValidation.py.

Referenced by offlineValidation.OfflineValidationDQM.getRepMap().

offlineValidation.OfflineValidationDQM.__PrimaryDataset
private

Definition at line 164 of file offlineValidation.py.

Referenced by offlineValidation.OfflineValidationDQM.getRepMap().

string offlineValidation.OfflineValidationDQM.configBaseName = "TkAlOfflineValidationDQM"
static

Definition at line 157 of file offlineValidation.py.

Referenced by genericValidation.GenericValidationData.cfgName().