9 #include <gtest/gtest.h>
10 #include <tracking/trackFindingVXD/filterMap/filterFramework/Shortcuts.h>
11 #include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
12 #include <tracking/trackFindingVXD/filterMap/filterFramework/Filter.h>
14 #include <tracking/trackFindingVXD/filterMap/training/VariablesTTree.h>
26 static double value(
const double& t1,
34 static double value(
const double& t1,
48 tree1 =
new TTree(
"t1",
"t1");
49 tree2 =
new TTree(
"t2",
"t2");
63 auto filter1 = 0 < Difference() < 1 && 0 < Sum() < 1;
66 auto filter2 = 0 < Difference() < 1 && 0 < Sum() < 1;
70 variables1.evaluateOn(a, b);
74 variables2.evaluateOn(c, d);
TTree * tree2
another TTree
Dump on a TTree the values of all the variables in a filter.
TEST_F(GlobalLabelTest, LargeNumberOfTimeDependentParameters)
Test large number of time-dep params for registration and retrieval.
SELECTION_VARIABLE(Difference, 2, double, static double value(const double &t1, const double &t2) { return t1 - t2;};)
Quick definition of a selection variable implementing the difference of 2 doubles.
Abstract base class for different kinds of events.