/* * CbmStsMother4.h * * Created on: 16.06.2015 * Author: vfriese */ #ifndef CBMSTSMOTHER4_H_ #define CBMSTSMOTHER4_H_ #include "TObject.h" #include #include #include "CbmMatch.h" using std::string; using std::stringstream; class CbmStsMother4 : public TObject { public: CbmStsMother4() : TObject(), fMatch() { } virtual ~CbmStsMother4() { } void AddLink(Double_t weight, Int_t index, Int_t entry, Int_t file) { fMatch.AddLink(weight, index, entry, file); } virtual string ToString() const { stringstream ss; ss << fMatch.ToString(); return ss.str(); } private: CbmMatch fMatch; ClassDef(CbmStsMother4,1); }; #endif /* CBMSTSMOTHER4_H_ */