CbmRoot
CbmLink.cxx
Go to the documentation of this file.
1
6
#include "
CbmLink.h
"
7
8
#include <TObject.h>
// for TObject
9
10
#include <sstream>
// for operator<<, basic_ostream, stringstream
11
#include <string>
// for char_traits
12
13
using
std::stringstream;
14
15
CbmLink::CbmLink
()
16
: TObject(), fFile(-1), fEntry(-1), fIndex(-1), fWeight(-1.) {}
17
18
CbmLink::CbmLink
(Float_t weight, Int_t index, Int_t entry, Int_t file)
19
: TObject(), fFile(file), fEntry(entry), fIndex(index), fWeight(weight) {}
20
21
CbmLink::~CbmLink
() {}
22
23
std::string
CbmLink::ToString
()
const
{
24
stringstream ss;
25
ss <<
"CbmLink: weight="
<<
fWeight
<<
" index="
<<
fIndex
26
<<
" entry="
<<
fEntry
<<
" file="
<<
fFile
<<
"\n"
;
27
return
ss.str();
28
}
29
30
ClassImp
(
CbmLink
)
CbmLink::~CbmLink
virtual ~CbmLink()
Destructor.
Definition:
CbmLink.cxx:21
CbmLink::ToString
virtual std::string ToString() const
Return string representation of the object.
Definition:
CbmLink.cxx:23
CbmLink::fFile
Int_t fFile
Definition:
CbmLink.h:79
CbmLink::fWeight
Float_t fWeight
Definition:
CbmLink.h:82
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
CbmLink::fIndex
Int_t fIndex
Definition:
CbmLink.h:81
CbmLink.h
CbmLink::CbmLink
CbmLink()
Constructor.
Definition:
CbmLink.cxx:15
CbmLink::fEntry
Int_t fEntry
Definition:
CbmLink.h:80
CbmLink
Definition:
CbmLink.h:18
core
data
CbmLink.cxx
Generated on Wed Oct 28 2020 15:11:39 for CbmRoot by
1.8.18