CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions
Config.TestMakePSet Class Reference
Inheritance diagram for Config.TestMakePSet:

Public Member Functions

def __init__ (self)
 
def addBool (self, tracked, label, value)
 
def addDouble (self, tracked, label, value)
 
def addESInputTag (self, tracked, label, value)
 
def addEventID (self, tracked, label, value)
 
def addEventRange (self, tracked, label, value)
 
def addFileInPath (self, tracked, label, value)
 
def addInputTag (self, tracked, label, value)
 
def addInt32 (self, tracked, label, value)
 
def addInt64 (self, tracked, label, value)
 
def addLuminosityBlockID (self, tracked, label, value)
 
def addLuminosityBlockID (self, tracked, label, value)
 
def addPSet (self, tracked, label, value)
 
def addString (self, tracked, label, value)
 
def addUInt32 (self, tracked, label, value)
 
def addUInt64 (self, tracked, label, value)
 
def addVDouble (self, tracked, label, value)
 
def addVESInputTag (self, tracked, label, value)
 
def addVEventID (self, tracked, label, value)
 
def addVEventRange (self, tracked, label, value)
 
def addVInputTag (self, tracked, label, value)
 
def addVInt32 (self, tracked, label, value)
 
def addVInt64 (self, tracked, label, value)
 
def addVPSet (self, tracked, label, value)
 
def addVString (self, tracked, label, value)
 
def addVUInt32 (self, tracked, label, value)
 
def addVUInt64 (self, tracked, label, value)
 
def getVString (self, tracked, label)
 
def newPSet (self)
 

Public Attributes

 values
 

Private Member Functions

def __getValue (self, tracked, label)
 
def __insertValue (self, tracked, label, value)
 

Detailed Description

Has same interface as the C++ object that creates PSets

Definition at line 1753 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config.TestMakePSet.__init__ (   self)

Definition at line 1756 of file Config.py.

1756  def __init__(self):
1757  self.values = dict()

Member Function Documentation

◆ __getValue()

def Config.TestMakePSet.__getValue (   self,
  tracked,
  label 
)
private

Definition at line 1760 of file Config.py.

1760  def __getValue(self,tracked,label):
1761  pair = self.values[label]
1762  if pair[0] != tracked:
1763  raise Exception("Asked for %s parameter '%s', but it is %s" % ("tracked" if tracked else "untracked",
1764  label,
1765  "tracked" if pair[0] else "untracked"))
1766  return pair[1]

References BlobComplexData.values, UETable.values, SiStripNoises::ratioData.values, FWTriggerTableView::Column.values, MagFieldConfig.values, nanoaod::MergeableCounterTable::VectorColumn< T >.values, SiStripCorrelateNoise::Data.values, and Config.TestMakePSet.values.

Referenced by Config.TestMakePSet.getVString().

◆ __insertValue()

def Config.TestMakePSet.__insertValue (   self,
  tracked,
  label,
  value 
)
private

◆ addBool()

def Config.TestMakePSet.addBool (   self,
  tracked,
  label,
  value 
)

Definition at line 1787 of file Config.py.

1787  def addBool(self,tracked,label,value):
1788  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addDouble()

def Config.TestMakePSet.addDouble (   self,
  tracked,
  label,
  value 
)

Definition at line 1783 of file Config.py.

1783  def addDouble(self,tracked,label,value):
1784  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addESInputTag()

def Config.TestMakePSet.addESInputTag (   self,
  tracked,
  label,
  value 
)

Definition at line 1799 of file Config.py.

1799  def addESInputTag(self,tracked,label,value):
1800  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addEventID()

def Config.TestMakePSet.addEventID (   self,
  tracked,
  label,
  value 
)

Definition at line 1803 of file Config.py.

1803  def addEventID(self,tracked,label,value):
1804  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addEventRange()

def Config.TestMakePSet.addEventRange (   self,
  tracked,
  label,
  value 
)

Definition at line 1811 of file Config.py.

1811  def addEventRange(self,tracked,label,value):
1812  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addFileInPath()

def Config.TestMakePSet.addFileInPath (   self,
  tracked,
  label,
  value 
)

Definition at line 1819 of file Config.py.

1819  def addFileInPath(self,tracked,label,value):
1820  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addInputTag()

def Config.TestMakePSet.addInputTag (   self,
  tracked,
  label,
  value 
)

Definition at line 1795 of file Config.py.

1795  def addInputTag(self,tracked,label,value):
1796  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addInt32()

def Config.TestMakePSet.addInt32 (   self,
  tracked,
  label,
  value 
)

Definition at line 1767 of file Config.py.

1767  def addInt32(self,tracked,label,value):
1768  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addInt64()

def Config.TestMakePSet.addInt64 (   self,
  tracked,
  label,
  value 
)

Definition at line 1775 of file Config.py.

1775  def addInt64(self,tracked,label,value):
1776  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addLuminosityBlockID() [1/2]

def Config.TestMakePSet.addLuminosityBlockID (   self,
  tracked,
  label,
  value 
)

Definition at line 1807 of file Config.py.

1807  def addLuminosityBlockID(self,tracked,label,value):
1808  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

Referenced by Config.TestMakePSet.addLuminosityBlockID().

◆ addLuminosityBlockID() [2/2]

def Config.TestMakePSet.addLuminosityBlockID (   self,
  tracked,
  label,
  value 
)

Definition at line 1809 of file Config.py.

1809  def addLuminosityBlockID(self,tracked,label,value):
1810  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue(), and Config.TestMakePSet.addLuminosityBlockID().

◆ addPSet()

def Config.TestMakePSet.addPSet (   self,
  tracked,
  label,
  value 
)

Definition at line 1815 of file Config.py.

1815  def addPSet(self,tracked,label,value):
1816  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addString()

def Config.TestMakePSet.addString (   self,
  tracked,
  label,
  value 
)

Definition at line 1789 of file Config.py.

1789  def addString(self,tracked,label,value):
1790  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addUInt32()

def Config.TestMakePSet.addUInt32 (   self,
  tracked,
  label,
  value 
)

Definition at line 1771 of file Config.py.

1771  def addUInt32(self,tracked,label,value):
1772  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addUInt64()

def Config.TestMakePSet.addUInt64 (   self,
  tracked,
  label,
  value 
)

Definition at line 1779 of file Config.py.

1779  def addUInt64(self,tracked,label,value):
1780  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVDouble()

def Config.TestMakePSet.addVDouble (   self,
  tracked,
  label,
  value 
)

Definition at line 1785 of file Config.py.

1785  def addVDouble(self,tracked,label,value):
1786  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVESInputTag()

def Config.TestMakePSet.addVESInputTag (   self,
  tracked,
  label,
  value 
)

Definition at line 1801 of file Config.py.

1801  def addVESInputTag(self,tracked,label,value):
1802  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVEventID()

def Config.TestMakePSet.addVEventID (   self,
  tracked,
  label,
  value 
)

Definition at line 1805 of file Config.py.

1805  def addVEventID(self,tracked,label,value):
1806  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVEventRange()

def Config.TestMakePSet.addVEventRange (   self,
  tracked,
  label,
  value 
)

Definition at line 1813 of file Config.py.

1813  def addVEventRange(self,tracked,label,value):
1814  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVInputTag()

def Config.TestMakePSet.addVInputTag (   self,
  tracked,
  label,
  value 
)

Definition at line 1797 of file Config.py.

1797  def addVInputTag(self,tracked,label,value):
1798  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVInt32()

def Config.TestMakePSet.addVInt32 (   self,
  tracked,
  label,
  value 
)

Definition at line 1769 of file Config.py.

1769  def addVInt32(self,tracked,label,value):
1770  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVInt64()

def Config.TestMakePSet.addVInt64 (   self,
  tracked,
  label,
  value 
)

Definition at line 1777 of file Config.py.

1777  def addVInt64(self,tracked,label,value):
1778  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVPSet()

def Config.TestMakePSet.addVPSet (   self,
  tracked,
  label,
  value 
)

Definition at line 1817 of file Config.py.

1817  def addVPSet(self,tracked,label,value):
1818  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVString()

def Config.TestMakePSet.addVString (   self,
  tracked,
  label,
  value 
)

Definition at line 1791 of file Config.py.

1791  def addVString(self,tracked,label,value):
1792  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVUInt32()

def Config.TestMakePSet.addVUInt32 (   self,
  tracked,
  label,
  value 
)

Definition at line 1773 of file Config.py.

1773  def addVUInt32(self,tracked,label,value):
1774  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ addVUInt64()

def Config.TestMakePSet.addVUInt64 (   self,
  tracked,
  label,
  value 
)

Definition at line 1781 of file Config.py.

1781  def addVUInt64(self,tracked,label,value):
1782  self.__insertValue(tracked,label,value)

References Config.TestMakePSet.__insertValue().

◆ getVString()

def Config.TestMakePSet.getVString (   self,
  tracked,
  label 
)

Definition at line 1793 of file Config.py.

1793  def getVString(self,tracked,label):
1794  return self.__getValue(tracked, label)

References Config.TestMakePSet.__getValue().

◆ newPSet()

def Config.TestMakePSet.newPSet (   self)

Definition at line 1821 of file Config.py.

1821  def newPSet(self):
1822  return TestMakePSet()
1823 
1824  class SwitchProducerTest(SwitchProducer):

Member Data Documentation

◆ values

Config.TestMakePSet.values
Exception