96 |
|
for (UInt_t i=0; i<fTrigNames.size(); ++i) { |
97 |
|
BitMask256 tmask; //trigger mask |
98 |
|
BitMask256 amask; //bitand mask |
99 |
+ |
Bool_t gotamask = 0; |
100 |
|
TString names(fTrigNames.at(i).c_str()); |
101 |
|
|
102 |
|
TObjArray *arr = names.Tokenize("&"); |
116 |
|
Warning("BeginRun", "Trigger %s not found.", sptr); |
117 |
|
continue; |
118 |
|
} |
119 |
+ |
gotamask = 1; |
120 |
|
UShort_t bit = tn->Id(); |
121 |
|
amask.SetBit(bit); //always set and-mask bit |
122 |
|
if (!invert) |
124 |
|
} |
125 |
|
delete arr; |
126 |
|
} |
127 |
< |
fTrigBitsAnd.push_back(amask); |
128 |
< |
fTrigBitsCmp.push_back(tmask); |
127 |
> |
if (gotamask) { |
128 |
> |
fTrigBitsAnd.push_back(amask); |
129 |
> |
fTrigBitsCmp.push_back(tmask); |
130 |
> |
} |
131 |
|
} |
132 |
|
} |
133 |
|
|