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
monteCarloValidation.MonteCarloValidation Class Reference
Inheritance diagram for monteCarloValidation.MonteCarloValidation:

Public Member Functions

def __init__
 
def cfgTemplate
 
def createCrabCfg
 
def createScript
 
def getRepMap
 

Static Public Attributes

string configBaseName = "TkAlMcValidate"
 
string crabCfgBaseName = "TkAlMcValidate"
 
 needParentFiles = True
 
string outputBaseName = "McValidation"
 
string resultBaseName = "McValidation"
 
string scriptBaseName = "TkAlMcValidate"
 
string valType = "mcValidate"
 

Detailed Description

Definition at line 11 of file monteCarloValidation.py.

Constructor & Destructor Documentation

def monteCarloValidation.MonteCarloValidation.__init__ (   self,
  valName,
  alignment,
  config 
)

Definition at line 19 of file monteCarloValidation.py.

References genericValidation.GenericValidation.NJobs.

19 
20  def __init__(self, valName, alignment, config):
21  super(MonteCarloValidation, self).__init__(valName, alignment, config)
22  if self.NJobs > 1:
23  raise AllInOneError("Parallel jobs not implemented for the MC validation!\n"
24  "Please set parallelJobs = 1.")

Member Function Documentation

def monteCarloValidation.MonteCarloValidation.cfgTemplate (   self)

Definition at line 26 of file monteCarloValidation.py.

26 
27  def cfgTemplate(self):
28  return configTemplates.mcValidateTemplate
def monteCarloValidation.MonteCarloValidation.createCrabCfg (   self,
  path 
)

Definition at line 32 of file monteCarloValidation.py.

References monteCarloValidation.MonteCarloValidation.crabCfgBaseName.

32 
33  def createCrabCfg(self, path):
34  return super(MonteCarloValidation, self).createCrabCfg(path, self.crabCfgBaseName)
def monteCarloValidation.MonteCarloValidation.createScript (   self,
  path 
)

Definition at line 29 of file monteCarloValidation.py.

29 
30  def createScript(self, path):
31  return super(MonteCarloValidation, self).createScript(path)
def monteCarloValidation.MonteCarloValidation.getRepMap (   self,
  alignment = None 
)

Definition at line 35 of file monteCarloValidation.py.

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

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

35 
36  def getRepMap( self, alignment = None ):
37  repMap = super(MonteCarloValidation, self).getRepMap(alignment)
38  repMap.update({
39  "nEvents": self.general["maxevents"]
40  })
41  repMap["outputFile"] = os.path.expandvars( repMap["outputFile"] )
42  repMap["resultFile"] = os.path.expandvars( repMap["resultFile"] )
43  return repMap
44 

Member Data Documentation

string monteCarloValidation.MonteCarloValidation.configBaseName = "TkAlMcValidate"
static

Definition at line 12 of file monteCarloValidation.py.

Referenced by genericValidation.GenericValidationData.cfgName().

string monteCarloValidation.MonteCarloValidation.crabCfgBaseName = "TkAlMcValidate"
static

Definition at line 14 of file monteCarloValidation.py.

Referenced by monteCarloValidation.MonteCarloValidation.createCrabCfg(), trackSplittingValidation.TrackSplittingValidation.createCrabCfg(), primaryVertexResolution.PrimaryVertexResolution.createCrabCfg(), primaryVertexValidation.PrimaryVertexValidation.createCrabCfg(), offlineValidation.OfflineValidation.createCrabCfg(), and zMuMuValidation.ZMuMuValidation.createCrabCfg().

monteCarloValidation.MonteCarloValidation.needParentFiles = True
static

Definition at line 17 of file monteCarloValidation.py.

string monteCarloValidation.MonteCarloValidation.outputBaseName = "McValidation"
static

Definition at line 16 of file monteCarloValidation.py.

Referenced by primaryVertexResolution.PrimaryVertexResolution.getRepMap(), primaryVertexValidation.PrimaryVertexValidation.getRepMap(), zMuMuValidation.ZMuMuValidation.getRepMap(), and genericValidation.GenericValidationData.getRepMap().

string monteCarloValidation.MonteCarloValidation.resultBaseName = "McValidation"
static

Definition at line 15 of file monteCarloValidation.py.

Referenced by genericValidation.GenericValidationData.getRepMap().

string monteCarloValidation.MonteCarloValidation.scriptBaseName = "TkAlMcValidate"
static

Definition at line 13 of file monteCarloValidation.py.

Referenced by genericValidation.GenericValidationData.createScript().

string monteCarloValidation.MonteCarloValidation.valType = "mcValidate"
static

Definition at line 18 of file monteCarloValidation.py.

Referenced by preexistingValidation.PreexistingValidation.getRepMap(), genericValidation.GenericValidation.getRepMap(), validateAlignments.ValidationJob.runJob(), and zMuMuValidation.ZMuMuValidation.trackcollection().