NSL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
GoodPathlength.cpp
Go to the documentation of this file.
1  #include "NSL/Tof/GoodPathlength.h"
2 
4  m_matcher = std::make_shared<boolMatcher>([=](Event &event) {
5  bool result = true;
6  for (size_t i = 0; i < mask.size(); i++) {
7  if (mask[i] && NAIA::ContainsKeys(event.tofPlus->LayerGoodPathl, i))
8  result &= event.tofPlus->LayerGoodPathl[i];
9  }
10  return result;
11  });
12 }
GoodPathlength(std::bitset< 4 > mask)
NAIA::Event Event
Definition: matchers.h:11
RefCMatcher m_matcher
Definition: Selection.h:73