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, EcalContainer< EcalTrigTowerDetId, Item >.items(), EcalContainer< DetId, T >.items(), EcalContainer< EBDetId, EcalMappingElement >.items(), EcalContainer< EBDetId, EcalTPGPedestal >.items(), EcalContainer< EBDetId, float >.items(), EcalContainer< ESDetId, Item >.items(), EcalContainer< EBDetId, Item >.items(), EcalContainer< EBDetId, EcalPulseCovariance >.items(), EcalContainer< EBDetId, EcalPulseShape >.items(), EcalContainer< EBDetId, EcalXtalGroupId >.items(), EcalContainer< EBDetId, EcalTimeDependentCorrections::Values >.items(), EcalContainer< EBDetId, EcalTPGCrystalStatusCode >.items(), EcalContainer< EEDetId, EcalMappingElement >.items(), EcalContainer< EcalScDetId, EcalDQMStatusCode >.items(), EcalContainer< EEDetId, EcalTimeDependentCorrections::Values >.items(), EcalContainer< EcalTrigTowerDetId, EcalDAQStatusCode >.items(), EcalContainer< EBDetId, EcalChannelStatusCode >.items(), EcalContainer< EcalScDetId, Item >.items(), EcalContainer< EcalTrigTowerDetId, EcalDQMStatusCode >.items(), EcalContainer< EEDetId, EcalChannelStatusCode >.items(), EcalContainer< EEDetId, EcalPulseCovariance >.items(), EcalContainer< EBDetId, EcalTPGLinearizationConstant >.items(), EcalContainer< EEDetId, EcalLaserAPDPNRatios::EcalLaserAPDPNpair >.items(), EcalContainer< EEDetId, EcalDQMStatusCode >.items(), EcalContainer< EBDetId, EcalMGPAGainRatio >.items(), EcalContainer< EBDetId, EcalPedestal >.items(), EcalContainer< EEDetId, EcalTPGLinearizationConstant >.items(), EcalContainer< EEDetId, Item >.items(), EcalContainer< EEDetId, EcalTPGPedestal >.items(), EcalContainer< EcalScDetId, EcalChannelStatusCode >.items(), EcalContainer< EBDetId, EcalLaserAPDPNRatios::EcalLaserAPDPNpair >.items(), EcalContainer< EEDetId, EcalMGPAGainRatio >.items(), EcalContainer< EEDetId, EcalTPGCrystalStatusCode >.items(), EcalContainer< EcalTrigTowerDetId, EcalChannelStatusCode >.items(), EcalContainer< EEDetId, EcalPulseSymmCovariance >.items(), EcalContainer< EEDetId, float >.items(), EcalContainer< EEDetId, EcalXtalGroupId >.items(), EcalContainer< EcalScDetId, EcalDAQStatusCode >.items(), EcalContainer< EBDetId, EcalPulseSymmCovariance >.items(), EcalContainer< EEDetId, EcalPedestal >.items(), EcalContainer< EEDetId, EcalPulseShape >.items(), EcalContainer< EBDetId, EcalDQMStatusCode >.items(), DictTypes.SortedKeysDict.items(), betterConfigParser.AdaptedDict.items(), AlignmentSurfaceDeformations.items(), edm::ErrorObj.items(), FWTableViewManager.items(), tensorflow::TBBSession::ExecutorsAndKeys.items, tensorflow::NTSession::ExecutorsAndKeys.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.