KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRADSTConversionAnalyser.cpp
1
#include "KVINDRADSTConversionAnalyser.h"
2
#include "KVINDRADSTConverter.h"
3
4
ClassImp
(
KVINDRADSTConversionAnalyser
)
5
6
7
9
10
void
KVINDRADSTConversionAnalyser
::EndRun()
11
{
12
// Run conversion job on ROOT TTree
13
14
KVINDRADSTReader::EndRun
();
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
f
#define f(i)
Form
char * Form(const char *fmt,...)
gSystem
R__EXTERN TSystem * gSystem
KVINDRADSTConversionAnalyser
Definition
KVINDRADSTConversionAnalyser.h:6
KVINDRADSTConverter
Headers needed by this particular selector.
Definition
KVINDRADSTConverter.h:21
KVINDRADSTConverter::Process
virtual Bool_t Process(Long64_t entry)
Definition
KVINDRADSTConverter.cpp:65
KVINDRADSTReader::EndRun
virtual void EndRun()
Definition
KVINDRADSTReader.cpp:41
TSystem::Unlink
virtual int Unlink(const char *name)
TTree
TFile
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
KVIndra
analysis
KVINDRADSTConversionAnalyser.cpp
Generated on Wed Oct 23 2024 12:45:19 for KaliVeda by
1.9.8