40 FillDetArray(0, 0, 0, 0, 0, 0);
41 retVal = fTrdId.SetDetectorInfo(detInfo_array);
44 FillDetArray(kTRD, 0, 0, 0, 0, 0);
45 retVal = fTrdId.SetDetectorInfo(detInfo_array);
48 FillDetArray(0, 1, 0, 0, 0, 0);
49 retVal = fTrdId.SetDetectorInfo(detInfo_array);
50 EXPECT_EQ(32, retVal);
52 FillDetArray(0, 0, 1, 0, 0, 0);
53 retVal = fTrdId.SetDetectorInfo(detInfo_array);
54 EXPECT_EQ(512, retVal);
56 FillDetArray(0, 0, 0, 1, 0, 0);
57 retVal = fTrdId.SetDetectorInfo(detInfo_array);
58 EXPECT_EQ(4096, retVal);
60 FillDetArray(0, 0, 0, 0, 1, 0);
61 retVal = fTrdId.SetDetectorInfo(detInfo_array);
62 EXPECT_EQ(131072, retVal);
64 FillDetArray(0, 0, 0, 0, 0, 1);
65 retVal = fTrdId.SetDetectorInfo(detInfo_array);
66 EXPECT_EQ(33554432, retVal);
68 FillDetArray(kTRD, 1, 1, 1, 1, 1);
69 retVal = fTrdId.SetDetectorInfo(detInfo_array);
70 EXPECT_EQ(33690149, retVal);
72 FillDetArray(kTRD, 3, 3, 2, 34, 3);
73 retVal = fTrdId.SetDetectorInfo(detInfo_array);
74 EXPECT_EQ(105129573, retVal);
76 FillDetArray(0, 0, 0, 8, 0, 0);
77 retVal = fTrdId.SetDetectorInfo(detInfo_array);
78 EXPECT_EQ(32768, retVal);
80 FillDetArray(kTRD, 2, 3, 5, 17, 2);
81 retVal = fTrdId.SetDetectorInfo(detInfo_array);
82 EXPECT_EQ(69359173, retVal);