1 from PhysicsTools.HeppyCore.framework.services.service
import Service
6 The file attribute is a TFile that can be used in several analyzers.
7 The file is closed when the service stops.
11 output_rootfile = cfg.Service(
14 fname='histograms.root',
20 fname =
'/'.
join([outdir, cfg.fname])
21 self.
file = TFile(fname, cfg.option)
27 if __name__ ==
'__main__':
static std::string join(char **cmd)