Go to the documentation of this file. 1 #ifndef COMPARECLUSTER_H
2 #define COMPARECLUSTER_H 1
11 std::vector<Int_t> indices,
14 Int_t retValInt {-111};
17 EXPECT_EQ(vectorsize, retValInt);
22 EXPECT_EQ(indices[
counter], retValInt);
24 std::vector<Int_t> compare = test.
GetDigis();
25 EXPECT_TRUE(std::equal(indices.begin(), indices.end(), compare.begin()));
29 EXPECT_EQ(address, retValInt);
31 if (match !=
nullptr) {
39 #endif // COMPARECLUSTER_H
Int_t GetNofLinks() const
Int_t GetNofDigis() const
Number of digis in cluster.
Double_t GetTotalWeight() const
void compareClusterDataMembers(CbmCluster &test, Int_t vectorsize, std::vector< Int_t > indices, Int_t address, CbmMatch *match)
const std::vector< Int_t > & GetDigis() const
Get array of digi indices.
void compareMatchDataMembers(CbmMatch &testMatch, Int_t noflinks, Double_t weight)
Base class for cluster objects.
Base class for cluster objects.
Int_t GetDigi(Int_t index) const
Get digi at position index.
CbmMatch * GetMatch() const