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 | Private Attributes
Config.ProcessAcceleratorTest2 Class Reference
Inheritance diagram for Config.ProcessAcceleratorTest2:
Config.ProcessAccelerator

Public Member Functions

def __init__
 
def apply
 
def dumpPythonImpl
 
def enabledLabels
 
def labels
 
def setEnabled
 
- Public Member Functions inherited from Config.ProcessAccelerator
def __init__
 
def apply
 
def dumpPython
 
def dumpPythonImpl
 
def enabledLabels
 
def labels
 
def type_
 

Private Attributes

 _enabled
 
 _labels
 

Detailed Description

Definition at line 2094 of file Config.py.

Constructor & Destructor Documentation

def Config.ProcessAcceleratorTest2.__init__ (   self,
  enabled = ["anothertest3",
  anothertest4 
)

Definition at line 2095 of file Config.py.

2096  def __init__(self, enabled=["anothertest3", "anothertest4"]):
2097  super(ProcessAcceleratorTest2,self).__init__()
2098  self._labels = ["anothertest3", "anothertest4"]
self.setEnabled(enabled)

Member Function Documentation

def Config.ProcessAcceleratorTest2.apply (   self,
  process,
  accelerators 
)

Definition at line 2112 of file Config.py.

Referenced by heavyIonTools.ConfigureHeavyIons.__call__(), coreTools.RunOnData.__call__(), trackTools.MakeAODTrackCandidates.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), metTools.AddMETCollection.__call__(), heavyIonTools.ProductionDefaults.__call__(), cmsswVersionTools.PickRelValInputFiles.__call__(), coreTools.RemoveMCMatching.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties.__call__(), heavyIonTools.SelectionDefaults.__call__(), heavyIonTools.DisbaleMonteCarloDeps.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), tauTools.AddTauCollection.__call__(), trackTools.MakeTrackCandidates.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.AddJetCollection.__call__(), jetTools.SwitchJetCollection.__call__(), jetTools.UpdateJetCollection.__call__(), jetTools.AddJetID.__call__(), and jetTools.SetTagInfos.__call__().

2113  def apply(self, process, accelerators):
2114  pass
specialImportRegistry.registerSpecialImportForType(ProcessAcceleratorTest2, "from test import ProcessAcceleratorTest2")
def Config.ProcessAcceleratorTest2.dumpPythonImpl (   self,
  options 
)

Definition at line 2104 of file Config.py.

References Config.ProcessAcceleratorTest._enabled, Config.ProcessAcceleratorTest2._enabled, and join().

2105  def dumpPythonImpl(self,options):
2106  result = "{}enabled = [{}]".format(options.indentation(),
2107  ", ".join(["'{}'".format(e) for e in self._enabled]))
return result
static std::string join(char **cmd)
Definition: RemoteFile.cc:19
def Config.ProcessAcceleratorTest2.enabledLabels (   self)

Definition at line 2110 of file Config.py.

References Config.ProcessAcceleratorTest._enabled, and Config.ProcessAcceleratorTest2._enabled.

2111  def enabledLabels(self):
return self._enabled
def Config.ProcessAcceleratorTest2.labels (   self)

Definition at line 2108 of file Config.py.

References DigiInvestigatorHistogramMaker._labels, SeedMultiplicityAnalyzer._labels, Config.ProcessAcceleratorTest._labels, and Config.ProcessAcceleratorTest2._labels.

Referenced by ProcessAcceleratorCUDA.ProcessAcceleratorCUDA.enabledLabels().

2109  def labels(self):
return self._labels
def Config.ProcessAcceleratorTest2.setEnabled (   self,
  enabled 
)

Definition at line 2099 of file Config.py.

References DigiInvestigatorHistogramMaker._labels, SeedMultiplicityAnalyzer._labels, Config.ProcessAcceleratorTest._labels, Config.ProcessAcceleratorTest2._labels, and join().

2100  def setEnabled(self, enabled):
2101  invalid = set(enabled).difference(set(self._labels))
2102  if len(invalid) > 0:
2103  raise Exception("Tried to enabled nonexistent test accelerators {}".format(",".join(invalid)))
self._enabled = enabled[:]
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

Member Data Documentation

Config.ProcessAcceleratorTest2._enabled
private

Definition at line 2103 of file Config.py.

Referenced by Config.ProcessAcceleratorTest2.dumpPythonImpl(), and Config.ProcessAcceleratorTest2.enabledLabels().

Config.ProcessAcceleratorTest2._labels
private

Definition at line 2097 of file Config.py.

Referenced by validation.SimpleValidation._doPlots(), validation.SeparateValidation._doPlots(), plotting.PlotFolder.draw(), Config.ProcessAcceleratorTest2.labels(), and Config.ProcessAcceleratorTest2.setEnabled().