Belle II Software development
validationTestEmptyRootFile.py
1#!/usr/bin/env python3
2
3
10
11"""
12<header>
13<output>validationTestEmptyRootFile.root</output>
14<contact>Kilian Lieret, Kilian.Lieret@campus.lmu.de</contact>
15
16
17<description>
18This file will not generate an output root file to probe
19the validation suite properly handles this case.
20</description>
21</header>
22"""
23
24from ROOT import TFile
25
26
27VALIDATION_OUTPUT_FILE = "validationTestEmptyRootFile.root"
28
29
30if __name__ == "__main__":
31 tfile = TFile(VALIDATION_OUTPUT_FILE, "RECREATE")
32 tfile.Close()