def createMakefile(self, lines_makefile):
     """Creates Makefile that runs the MEM
     """
     targets = self.hadd_records.keys()
     tools_createMakefile(self.makefile, targets, lines_makefile, self.filesToClean)
     logging.info("Run it with:\tmake -f %s -j %i " %
         (self.makefile, self.num_parallel_jobs))
Example #2
0
 def createMakefile(self, lines_makefile):
     """Creates Makefile that runs the Ntuple production.
     """
     targets = None
     if self.is_sbatch:
         targets = [ "sbatch" ]
     else:
         targets = self.outputFiles.values()
     tools_createMakefile(self.makefile, targets, lines_makefile, self.filesToClean)
     logging.info("Run it with:\tmake -f %s -j %i " %
         (self.makefile, self.num_parallel_jobs))    
Example #3
0
 def createMakefile(self, lines_makefile):
     """Creates Makefile that runs the complete analysis workfow.
     """        
     targets = []
     targets.extend(self.datacardFiles.values())
     if self.rootOutputAux:
         targets.append("selEventTree_hadd")
     for idxJob in range(len(self.cfgFiles_make_plots_modified)):
         targets.append("makePlots%i" % idxJob)
     for rootOutput in self.rootOutputAux.values():
         self.filesToClean.append(rootOutput[0])
     tools_createMakefile(self.makefile, targets, lines_makefile, self.filesToClean)
     logging.info("Run it with:\tmake -f %s -j %i " %
         (self.makefile, self.num_parallel_jobs))