def initCrab(self):
        crab_cfg_parser = loadCrabCfg()
        loadCrabDefault(crab_cfg_parser,self.config)
        crab_cfg_parser.set('CMSSW','pset',self.pset_name)
        crab_cfg_parser.set('CMSSW','output_file','%s,%s' % (self.outputDB,self.outputROOT))
        crab_cfg_parser.remove_option('USER','additional_input_files')

        self.crab_cfg = crab_cfg_parser
Beispiel #2
0
 def initCrab(self):
     crab_cfg_parser = loadCrabCfg(self.crab_template)
     loadCrabDefault(crab_cfg_parser, self.config)
     crab_cfg_parser.set('CMSSW', 'pset', self.pset_name)
     crab_cfg_parser.set('CMSSW', 'output_file', self.outputfile)
     if self.inputdb:
         crab_cfg_parser.set('USER', 'additional_input_files', self.inputdb)
     else:
         crab_cfg_parser.remove_option('USER', 'additional_input_files')
     self.crab_cfg = crab_cfg_parser
    def initCrab(self):
        crab_cfg_parser = loadCrabCfg()
        loadCrabDefault(crab_cfg_parser, self.config)
        crab_cfg_parser.set('CMSSW', 'pset', self.pset_name)
        crab_cfg_parser.set('CMSSW', 'output_file', self.outputfile)
        crab_cfg_parser.remove_option('USER', 'additional_input_files')
        if hasattr(self.config, 'inputTTrigDB') and self.config.inputTTrigDB:
            addCrabInputFile(crab_cfg_parser, self.config.inputTTrigDB)

        if hasattr(self.config, 'inputVDriftDB') and self.config.inputVDriftDB:
            addCrabInputFile(crab_cfg_parser, self.config.inputVDriftDB)

        self.crab_cfg = crab_cfg_parser
    def initCrab(self):
        crab_cfg_parser = loadCrabCfg()
        loadCrabDefault(crab_cfg_parser,self.config)
        crab_cfg_parser.set('CMSSW','pset',self.pset_name)
        crab_cfg_parser.set('CMSSW','output_file',self.outputfile)
        crab_cfg_parser.remove_option('USER','additional_input_files')
        if self.inputdb:
            addCrabInputFile(crab_cfg_parser,self.inputdb)

        if hasattr(self.config,'inputVDriftDB') and self.config.inputVDriftDB:
            addCrabInputFile(crab_cfg_parser,self.config.inputVDriftDB)

        self.crab_cfg = crab_cfg_parser
Beispiel #5
0
 def initCrab(self):
     crab_cfg_parser = loadCrabCfg()
     crab_cfg_parser = loadCrabDefault(crab_cfg_parser, self.config)
     crab_cfg_parser.set('CMSSW', 'pset', self.pset_name)
     crab_cfg_parser.set('CMSSW', 'output_file', self.outputfile)
     self.crab_cfg = crab_cfg_parser
Beispiel #6
0
 def initCrab(self):
     crab_cfg_parser = loadCrabCfg()
     crab_cfg_parser = loadCrabDefault(crab_cfg_parser,self.config)
     crab_cfg_parser.set('CMSSW','pset',self.pset_name)
     crab_cfg_parser.set('CMSSW','output_file',self.outputfile) 
     self.crab_cfg = crab_cfg_parser