KaliVeda
Toolkit for HIC analysis
KVINDRADSTConversionAnalyser.cpp
1 #include "KVINDRADSTConversionAnalyser.h"
2 #include "KVINDRADSTConverter.h"
3 
5 
6 
7 
11 {
12  // Run conversion job on ROOT TTree
13 
15 
16  TFile f(Form("run%d.root", fRunNumber));
17  auto t = (TTree*)f.Get("indra_data");
18  KVINDRADSTConverter dstconv;
19  t->Process(&dstconv, Form("run_number=%d", fRunNumber));
20  f.Close();
21  gSystem->Unlink(Form("run%d.root", fRunNumber));
22 }
23 
24 
#define f(i)
char * Form(const char *fmt,...)
R__EXTERN TSystem * gSystem
Headers needed by this particular selector.
virtual Bool_t Process(Long64_t entry)
virtual void EndRun()
virtual int Unlink(const char *name)
ClassImp(TPyArg)