Public Member Functions | List of all members
order_cuts Struct Reference

Public Member Functions

bool operator() (const std::string &a, const std::string &b)

Detailed Description

Definition at line 29 of file preselection_cutflow.C.

Member Function Documentation

bool order_cuts::operator() ( const std::string a,
const std::string b 

Definition at line 30 of file preselection_cutflow.C.

References a, b, and cut_labels.

31  {
32  auto aidx = std::find(cut_labels.begin(), cut_labels.end(), a);
33  auto bidx = std::find(cut_labels.begin(), cut_labels.end(), b);
34  return aidx < bidx;
35  }
std::vector< std::string > cut_labels
const double a
const hit & b
Definition: hits.cxx:21

The documentation for this struct was generated from the following file: