We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f01d701 commit b8c0fd1Copy full SHA for b8c0fd1
Detectors/MUON/MCH/DigitFiltering/src/DigitFilter.cxx
@@ -96,11 +96,13 @@ o2::mch::DigitFilter createSelectSignal()
96
97
namespace o2::mch
98
{
99
-DigitFilter createDigitFilter(int minADC, bool rejectBackground, bool selectSignal)
+DigitFilter createDigitFilter(uint32_t minADC, bool rejectBackground, bool selectSignal)
100
101
std::vector<DigitFilter> parts;
102
103
- parts.emplace_back(createMinAdcCut(minADC));
+ if (minADC > 0) {
104
+ parts.emplace_back(createMinAdcCut(minADC));
105
+ }
106
if (rejectBackground) {
107
parts.emplace_back(createRejectBackground());
108
}
0 commit comments