testOutputConvention.cxx
1 /* -*- C++ -*-.***************************************************************************************************
2  Author: Ben Strutt
3  Email: b.strutt.12@ucl.ac.uk
4 
5  Description:
6  Just for fun.
7 *************************************************************************************************************** */
8 
9 #include "OutputConvention.h"
10 #include <unistd.h>
11 
12 int main(int argc, char* argv[]){
13 
14 
15  OutputConvention oc(argc, argv);
16 
17  TString outFileName = oc.getOutputFileName();
18 
19  TFile* f = new TFile(outFileName, "recreate");
20  f->Close();
21 
22 
23  return 0;
24 }
A class to systematically name files produced by my analysis programs.