BmnRoot
Loading...
Searching...
No Matches
BmnLink.cxx
Go to the documentation of this file.
1
8#include "BmnLink.h"
9
10#include <sstream>
11
12using std::stringstream;
13
15 TObject(),
16 fFile(-1),
17 fEntry(-1),
18 fIndex(-1),
19 fWeight(-1)
20{
21
22}
23
24BmnLink::BmnLink(Float_t weight, Int_t index, Int_t entry, Int_t file) :
25 TObject(),
26 fFile(file),
27 fEntry(entry),
28 fIndex(index),
29 fWeight(weight)
30{
31
32}
33
35{
36
37}
38
39string BmnLink::ToString() const
40{
41 stringstream ss;
42 ss << "BmnLink: weight=" << fWeight << " index=" << fIndex << " entry="
43 << fEntry << " file=" << fFile << "\n";
44 return ss.str();
45}