The CrabConfigParser class. More...
Public Member Functions | |
def | __init__ (self) |
The constructor. More... | |
def | getSectionLines (self, section) |
Helper function to retrieve crab config output lines for one section self: CrabConfigParser. More... | |
def | writeCrabConfig (self, filename) |
Write CrabConfigParser object to file self: CrabConfigParser. More... | |
Public Attributes | |
optionxform | |
The CrabConfigParser class.
This class extends the python ConfigParser class and adds functions to output crab3 config files
Definition at line 13 of file crabConfigParser.py.
def crabConfigParser.CrabConfigParser.__init__ | ( | self | ) |
The constructor.
Definition at line 16 of file crabConfigParser.py.
def crabConfigParser.CrabConfigParser.getSectionLines | ( | self, | |
section | |||
) |
Helper function to retrieve crab config output lines for one section self: CrabConfigParser.
self:The | object pointer. section: string |
section:The | section name. : list of strings |
Definition at line 49 of file crabConfigParser.py.
References dqmMemoryStats.float, createfilelist.int, PixelDCSObject< T >.items, EcalContainer< EcalTrigTowerDetId, Item >.items(), DictTypes.SortedKeysDict.items(), EcalContainer< ESDetId, Item >.items(), EcalContainer< EcalScDetId, Item >.items(), EcalContainer< EEDetId, Item >.items(), EcalContainer< EBDetId, Item >.items(), EcalContainer< DetId, T >.items(), AlignmentSurfaceDeformations.items(), betterConfigParser.AdaptedDict.items(), edm::ErrorObj.items(), FWTableViewManager.items(), betterConfigParser.BetterConfigParser.items(), svgfig.SVG.items(), and str.
Referenced by crabConfigParser.CrabConfigParser.writeCrabConfig().
def crabConfigParser.CrabConfigParser.writeCrabConfig | ( | self, | |
filename | |||
) |
Write CrabConfigParser object to file self: CrabConfigParser.
self | The object pointer. filename: string |
filename | The name of the output crab3 config file. |
Definition at line 24 of file crabConfigParser.py.
References crabConfigParser.CrabConfigParser.getSectionLines(), join(), and DDCutTubsFromPoints.sections.
crabConfigParser.CrabConfigParser.optionxform |
Definition at line 18 of file crabConfigParser.py.