NSL
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
src
NSL
Tof
ChargeInRange.cpp
Go to the documentation of this file.
1
#include "
NSL/Tof/ChargeInRange.h
"
2
3
NSL::Selections::Tof::ChargeInRange::ChargeInRange
(
float
min,
float
max, NAIA::Tof::ChargeType type) {
4
m_matcher
= std::make_shared<boolMatcher>([=](
Event
&event) {
5
auto
charge =
event
.tofBase->Charge[type];
6
return
(charge > min && charge < max);
7
});
8
}
ChargeInRange.h
Event
NAIA::Event Event
Definition:
matchers.h:11
NSL::Selections::Tof::ChargeInRange::ChargeInRange
ChargeInRange(float min, float max, NAIA::Tof::ChargeType type)
Definition:
ChargeInRange.cpp:3
NSL::Selection::m_matcher
RefCMatcher m_matcher
Definition:
Selection.h:73
Generated by
1.8.5