/* * CbmStsMother6.h * with CbmMatch2 * * Created on: 23.06.2015 * Author: vfriese */ #ifndef CBMSTSMOTHER6_H_ #define CBMSTSMOTHER6_H_ #include "TObject.h" #include "CbmStsDigi.h" #include #include using std::string; using std::stringstream; #include "CbmMatch2.h" class CbmStsMother6 : public TObject { public: CbmStsMother6() : TObject(), fMatch() { } virtual ~CbmStsMother6() { } 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: CbmMatch2 fMatch; ClassDef(CbmStsMother6,1); }; #endif /* CBMSTSMOTHER6_H_ */