NSL
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
src
NSL
Tof
GoodPathlength.cpp
Go to the documentation of this file.
1
#include "
NSL/Tof/GoodPathlength.h
"
2
3
NSL::Selections::Tof::GoodPathlength::GoodPathlength
(std::bitset<4> mask) {
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
}
NSL::Selections::Tof::GoodPathlength::GoodPathlength
GoodPathlength(std::bitset< 4 > mask)
Definition:
GoodPathlength.cpp:3
Event
NAIA::Event Event
Definition:
matchers.h:11
GoodPathlength.h
NSL::Selection::m_matcher
RefCMatcher m_matcher
Definition:
Selection.h:73
Generated by
1.8.5