29 fDigis.assign(indices.begin(), indices.end());
34 , fDigis(other.fDigis)
35 , fAddress(other.fAddress)
39 fMatch = new CbmMatch();
40 fMatch->AddLinks(*(other.fMatch));
46 , fDigis(std::move(other.fDigis))
47 , fAddress(std::move(other.fAddress))
48 , fMatch(other.fMatch)
50 other.fMatch =
nullptr;
70 fDigis = std::move(other.fDigis);
71 fAddress = std::move(other.fAddress);
72 fMatch = other.fMatch;
73 other.fMatch =
nullptr;
92 ss <<
"nofDigis=" << nofDigis <<
" | ";
93 for (int32_t i = 0; i < nofDigis; i++) {
96 ss <<
" | address=" <<
fAddress << endl;
Base class for cluster objects.
Base class for cluster objects.
CbmMatch * fMatch
link to Monte-Carlo information
std::vector< int32_t > fDigis
Array of digi indices.
int32_t fAddress
Unique detector ID.
void SetMatch(CbmMatch *match)
virtual std::string ToString() const
Return string representation of the object.
virtual ~CbmCluster()
Destructor.
CbmCluster & operator=(const CbmCluster &)
int32_t GetNofDigis() const
Number of digis in cluster.
void AddLinks(const CbmMatch &match)