NSL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
RTISelections.cpp
Go to the documentation of this file.
1  #include "NSL/RTI/RTISelections.h"
2 
3 namespace NSL {
4 namespace Selections {
5 
6 bool DefaultRTISelection(const NAIA::RTIInfo &rti_info) {
7  if (rti_info.LivetimeFraction < 0.5 || rti_info.Zenith > 40 || rti_info.nTrigger / rti_info.nEvent < 0.98 ||
8  rti_info.nError < 0 || rti_info.nError / rti_info.nEvent > 0.1 || rti_info.MeanAlignDiffExtLayer[0][1] > 35 ||
9  rti_info.MeanAlignDiffExtLayer[1][1] > 45)
10  return false;
11 
12  return true;
13 }
14 
15 } // namespace Selections
16 } // namespace NSL
bool DefaultRTISelection(const NAIA::RTIInfo &rti_info)