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 objects.autophobj.float, createfilelist.int, PixelDCSObject< T >.items, DictTypes.SortedKeysDict.items(), EcalContainer< EcalTrigTowerDetId, Item >.items(), EcalContainer< EBDetId, EcalMappingElement >.items(), EcalContainer< DetId, T >.items(), EcalContainer< EcalScDetId, EcalChannelStatusCode >.items(), EcalContainer< EBDetId, EcalDQMStatusCode >.items(), EcalContainer< EBDetId, EcalPulseSymmCovariance >.items(), EcalContainer< EEDetId, EcalDQMStatusCode >.items(), EcalContainer< EBDetId, EcalPulseShape >.items(), EcalContainer< EEDetId, EcalMGPAGainRatio >.items(), EcalContainer< EBDetId, EcalTimeDependentCorrections::Values >.items(), EcalContainer< EEDetId, EcalLaserAPDPNRatios::EcalLaserAPDPNpair >.items(), EcalContainer< EEDetId, EcalMappingElement >.items(), EcalContainer< EBDetId, EcalXtalGroupId >.items(), EcalContainer< EEDetId, EcalTimeDependentCorrections::Values >.items(), EcalContainer< EBDetId, EcalTPGCrystalStatusCode >.items(), EcalContainer< EEDetId, EcalChannelStatusCode >.items(), EcalContainer< EcalTrigTowerDetId, EcalDQMStatusCode >.items(), EcalContainer< EBDetId, float >.items(), EcalContainer< EcalScDetId, EcalDQMStatusCode >.items(), EcalContainer< EBDetId, EcalChannelStatusCode >.items(), EcalContainer< ESDetId, Item >.items(), EcalContainer< EcalScDetId, Item >.items(), EcalContainer< EEDetId, EcalPulseCovariance >.items(), EcalContainer< EBDetId, EcalMGPAGainRatio >.items(), EcalContainer< EEDetId, EcalPedestal >.items(), EcalContainer< EEDetId, float >.items(), EcalContainer< EcalTrigTowerDetId, EcalDAQStatusCode >.items(), EcalContainer< EEDetId, EcalXtalGroupId >.items(), EcalContainer< EBDetId, EcalTPGPedestal >.items(), EcalContainer< EcalScDetId, EcalDAQStatusCode >.items(), EcalContainer< EBDetId, Item >.items(), EcalContainer< EBDetId, EcalPedestal >.items(), EcalContainer< EEDetId, EcalTPGCrystalStatusCode >.items(), EcalContainer< EBDetId, EcalTPGLinearizationConstant >.items(), EcalContainer< EcalTrigTowerDetId, EcalChannelStatusCode >.items(), EcalContainer< EEDetId, EcalTPGPedestal >.items(), EcalContainer< EBDetId, EcalLaserAPDPNRatios::EcalLaserAPDPNpair >.items(), EcalContainer< EBDetId, EcalPulseCovariance >.items(), EcalContainer< EEDetId, EcalPulseSymmCovariance >.items(), EcalContainer< EEDetId, EcalTPGLinearizationConstant >.items(), EcalContainer< EEDetId, EcalPulseShape >.items(), EcalContainer< EEDetId, Item >.items(), betterConfigParser.AdaptedDict.items(), AlignmentSurfaceDeformations.items(), edm::ErrorObj.items(), FWTableViewManager.items(), tensorflow::NTSession::ExecutorsAndKeys.items, tensorflow::TBBSession::ExecutorsAndKeys.items, betterConfigParser.BetterConfigParser.items(), argparse.HelpFormatter._Section.items, python.rootplot.argparse.HelpFormatter._Section.items, svgfig.SVG.items(), and harvestTrackValidationPlots.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.