BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
12using std::stringstream;
13
15 : TObject()
16 , fFile(-1)
17 , fEntry(-1)
18 , fIndex(-1)
19 , fWeight(-1)
20{}
21
22BmnLink::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
31
32string 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 Int_t
float Float_t