Belle II Software  release-05-02-19
validationTestEmptyRootFile.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 
4 """
5 <header>
6 <output>validationTestEmptyRootFile.root</output>
7 <contact>Kilian Lieret, Kilian.Lieret@campus.lmu.de</contact>
8 </header>
9 """
10 
11 """
12 This file will not generate an output root file to probe
13 the validation suite properly handles this case.
14 """
15 
16 VALIDATION_OUTPUT_FILE = 'validationTestEmptyRootFile.root'
17 
18 from ROOT import TFile
19 
20 tfile = TFile(VALIDATION_OUTPUT_FILE, "RECREATE")
21 tfile.Close()