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