KaliVeda
1.14/2
Toolkit for HIC analysis
KVSimReader_ELIE2023_asym.cpp
1
#include "KVSimReader_ELIE2023_asym.h"
2
3
4
5
18
19
void
KVSimReader_ELIE2023_asym::define_output_filename
()
20
{
21
// ROOT file called either
22
//
23
// ELIE_[PROJ]_[TARG]_[EBEAM]AMeV_ASYM.root
24
//
25
// or
26
//
27
// ELIE_[PROJ]_[TARG]_[EBEAM]AMeV_Run[xx...]_ASYM.root
28
//
29
// if run_number is defined
30
//
31
// Call after reading file header
32
33
if
(
run_number
>= 0)
34
SetROOTFileName
(
Form
(
"ELIE_%s_%s_%.1fAMeV_Run%d_ASYM.root"
,
35
proj
.
GetSymbol
(),
targ
.
GetSymbol
(),
ebeam
,
run_number
));
36
else
37
SetROOTFileName
(
Form
(
"ELIE_%s_%s_%.1fAMeV_ASYM.root"
,
38
proj
.
GetSymbol
(),
targ
.
GetSymbol
(),
ebeam
));
39
tree_title
.
Form
(
"ELIE secondary events %s + %s %.1f MeV/nuc."
,
40
proj
.
GetSymbol
(),
targ
.
GetSymbol
(),
ebeam
);
41
}
42
43
44
ClassImp
(
KVSimReader_ELIE2023_asym
)
45
46
47
Form
char * Form(const char *fmt,...)
KVNucleus::GetSymbol
const Char_t * GetSymbol(Option_t *opt="") const
Definition:
KVNucleus.cpp:81
KVSimReader_ELIE2023_asym
Read ASCII files generated by ELIE (new format 2022)
Definition:
KVSimReader_ELIE2023_asym.h:16
KVSimReader_ELIE2023_asym::define_output_filename
void define_output_filename()
Definition:
KVSimReader_ELIE2023_asym.cpp:19
KVSimReader_ELIE::ebeam
Double_t ebeam
Definition:
KVSimReader_ELIE.h:75
KVSimReader_ELIE::proj
KVNucleus proj
Definition:
KVSimReader_ELIE.h:74
KVSimReader_ELIE::run_number
int run_number
Definition:
KVSimReader_ELIE.h:77
KVSimReader_ELIE::targ
KVNucleus targ
Definition:
KVSimReader_ELIE.h:74
KVSimReader::tree_title
KVString tree_title
Definition:
KVSimReader.h:63
KVSimReader::SetROOTFileName
void SetROOTFileName(const Char_t *n)
Definition:
KVSimReader.h:166
TString::Form
void Form(const char *fmt,...)
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
KVMultiDet
simulation
KVSimReader_ELIE2023_asym.cpp
Generated on Fri Jan 17 2025 15:03:20 for KaliVeda by
1.9.1