BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnDataConvertToRoot.C
Go to the documentation of this file.
1
2
void
BmnDataConvertToRoot
(
char
* file =
"mpd_run815.data"
)
3
{
4
gROOT
->LoadMacro(
"$VMCWORKDIR/macro/run/bmnloadlibs.C"
);
5
bmnloadlibs();
// load BmnRoot libraries
6
7
BmnRawDataDecoder
* decoder =
new
BmnRawDataDecoder
(
TString
(file));
8
decoder->
ConvertRawToRoot
();
9
cout <<
"RUN#"
<< decoder->
GetRunId
() <<
" contains "
<< decoder->
GetNevents
() <<
" events"
<< endl;
10
delete
decoder;
11
}
gROOT
#define gROOT
BmnRawDataDecoder
Definition
BmnRawDataDecoder.h:58
BmnRawDataDecoder::ConvertRawToRoot
BmnStatus ConvertRawToRoot()
Definition
BmnRawDataDecoder.cxx:153
BmnRawDataDecoder::GetNevents
UInt_t GetNevents() const
Definition
BmnRawDataDecoder.h:112
BmnRawDataDecoder::GetRunId
UInt_t GetRunId() const
Definition
BmnRawDataDecoder.h:108
TString
install
macro
detectors
tof_700
BmnDataConvertToRoot.C
Generated on
for BmnRoot by
1.17.0