The CrabConfigParser class. More...
Public Member Functions | |
def | __init__ |
The constructor. More... | |
def | getSectionLines |
Helper function to retrieve crab config output lines for one section self: CrabConfigParser. More... | |
def | writeCrabConfig |
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 PixelDCSObject< class >.items, DictTypes.SortedKeysDict.items(), EcalContainer< ESDetId, Item >.items(), EcalContainer< EBDetId, Item >.items(), EcalContainer< EcalScDetId, Item >.items(), EcalContainer< DetId, T >.items(), EcalContainer< EEDetId, Item >.items(), EcalContainer< EcalTrigTowerDetId, Item >.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.