BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnLink.cxx
Go to the documentation of this file.
1
/**
2
* \file BmnLink.cxx
3
* \author Andrey Lebedev <andrey.lebedev@gsi.de> - original author for CBM experiment
4
* \author Sergey Merts <sergey.merts@gmail.com> - modifications for BMN experiment
5
* \date 2013-2014
6
**/
7
8
#include "
BmnLink.h
"
9
10
#include <sstream>
11
12
using
std::stringstream;
13
14
BmnLink::BmnLink
()
15
:
TObject
()
16
,
fFile
(-1)
17
,
fEntry
(-1)
18
,
fIndex
(-1)
19
,
fWeight
(-1)
20
{}
21
22
BmnLink::BmnLink
(
Float_t
weight,
Int_t
index,
Int_t
entry,
Int_t
file)
23
:
TObject
()
24
,
fFile
(file)
25
,
fEntry
(entry)
26
,
fIndex
(index)
27
,
fWeight
(weight)
28
{}
29
30
BmnLink::~BmnLink
() {}
31
32
string
BmnLink::ToString
()
const
33
{
34
stringstream ss;
35
ss <<
"BmnLink: weight="
<<
fWeight
<<
" index="
<<
fIndex
<<
" entry="
<<
fEntry
<<
" file="
<<
fFile
<<
"\n"
;
36
return
ss.str();
37
}
Int_t
int Int_t
Float_t
float Float_t
BmnLink.h
BmnLink::BmnLink
BmnLink()
Constructor.
Definition
BmnLink.cxx:14
BmnLink::fFile
Int_t fFile
Definition
BmnLink.h:63
BmnLink::fEntry
Int_t fEntry
Definition
BmnLink.h:64
BmnLink::fWeight
Float_t fWeight
Definition
BmnLink.h:66
BmnLink::ToString
virtual string ToString() const
Return string representation of the object.
Definition
BmnLink.cxx:32
BmnLink::fIndex
Int_t fIndex
Definition
BmnLink.h:65
BmnLink::~BmnLink
virtual ~BmnLink()
Destructor.
Definition
BmnLink.cxx:30
TObject::TObject
TObject()
base
data
BmnLink.cxx
Generated on
for BmnRoot by
1.17.0