/** * \file CbmCluster.cxx * \author Andrey Lebedev * \date 2012 */ #include "CbmCluster.h" #include using namespace std; CbmCluster::CbmCluster() : TObject(), fDigis(), fAddress(0), fMatch(NULL) { } CbmCluster::~CbmCluster() { } string CbmCluster::ToString() const { stringstream ss; ss << "CbmCluster: "; Int_t nofDigis = GetNofDigis(); ss << "nofDigis=" << nofDigis << " | "; for (Int_t i = 0; i < nofDigis; i++) { ss << fDigis[i] << " "; } ss << " | address=" << fAddress << endl; return ss.str(); } ClassImp(CbmCluster);