def run(self): with self.localize_output("w") as outp: with self.localize_input("r") as inp: cms_run_and_publish(self, "$HGC_BASE/hgc/files/ntup_cfg.py", dict( inputFiles=[inp["reco"]["reco"].path], outputFile=outp.path, ))
def run(self): inp = self.input() outp = self.output() cms_run_and_publish(self, "$HGC_BASE/hgc/files/ntup_cfg.py", dict( inputFiles=[inp["reco"]["reco"].path], outputFile=outp.path, ))
def run(self): inp = self.input() outp = self.output() cms_run_and_publish(self, "$HGC_BASE/hgc/files/reco_cfg.py", dict( inputFiles=[inp["gsd"].path], outputFile=outp["reco"].path, outputFileDQM=outp["dqm"].path, ))
def run(self): with self.localize_input("r") as inp, self.localize_output( "w") as outp: cms_run_and_publish( self, self.ntup_cfg, dict( inputFiles=[inp["reco"]["reco"].uri()], outputFile=outp.uri(), ))
def run(self): with self.localize_input("r") as inp, self.localize_output( "w") as outp: cms_run_and_publish( self, self.reco_cfg, dict( inputFiles=[inp["gsd"].uri()], outputFile=outp["reco"].uri(), outputFileDQM=outp["dqm"].uri(), ))
def run(self): inp = self.input() outp = self.output() outp["harvesting"].parent.touch() cms_run_and_publish(self, "$HGC_BASE/hgc/files/harvesting_cfg.py", dict( inputFiles=inp["dqm"].path, outputDir=outp["harvesting"].parent.path, nThreads=self.n_threads, maxEvents=self.n_events, ))
def run(self): inp = self.input() outp = self.output() cms_run_and_publish(self, "$HGC_BASE/hgc/files/reco_for_validation_cfg.py", dict( inputFiles=[inp.path], outputFile=outp["reco"].path, outputFileDQM=outp["dqm"].path, nThreads=self.n_threads, maxEvents=self.n_events, ))
def run(self): with self.localize_output("w") as outp: cms_run_and_publish( self, self.gsd_cfg, dict( outputFile=outp.uri(), maxEvents=self.n_events, generator=self.generator, pileup=self.pileup, seed=self.seed + self.branch, ))
def run(self): # run the command using a helper that publishes the current progress to the scheduler cms_run_and_publish(self, "$HGC_BASE/hgc/files/gsd_cfg.py", dict( outputFile=self.output().path, maxEvents=self.n_events, gunType=self.gun_type, gunMin=self.gun_min, gunMax=self.gun_max, particleIds=self.particle_ids, deltaR=self.delta_r, nParticles=self.n_particles, exactShoot=self.exact_shoot, randomShoot=self.random_shoot, seed=self.seed + self.branch, ))
def run(self): # localize the output file # (i.e. create a temporary local representation and move it to the destination on success) with self.output().localize("w") as outp: # run the command using a helper that publishes the current progress to the scheduler cms_run_and_publish(self, "$HGC_BASE/hgc/files/gsd_cfg.py", dict( outputFile=outp.path, maxEvents=self.n_events, gunType=self.gun_type, gunMin=self.gun_min, gunMax=self.gun_max, particleIds=self.particle_ids, deltaR=self.delta_r, nParticles=self.n_particles, exactShoot=self.exact_shoot, randomShoot=self.random_shoot, seed=self.seed + self.branch, ))