26 namespace SColdQcdCorrelatorAnalysis {
27 namespace SCorrelatorUtilities {
32 int type = numeric_limits<int>::max();
33 int cstID = numeric_limits<int>::max();
34 int embedID = numeric_limits<int>::max();
35 int pid = numeric_limits<int>::max();
36 double z = numeric_limits<double>::max();
37 double dr = numeric_limits<double>::max();
38 double ene = numeric_limits<double>::max();
39 double pt = numeric_limits<double>::max();
40 double eta = numeric_limits<double>::max();
41 double phi = numeric_limits<double>::max();
43 void SetInfo(
int t,
int id,
double z,
double d,
double e,
double p,
double h,
double f, optional<int> eid = nullopt, optional<int>
pdg = nullopt) {
52 if (eid.has_value()) {
53 embedID = eid.value();
55 if (
pdg.has_value()) {
62 type = numeric_limits<int>::max();
63 cstID = numeric_limits<int>::max();
64 embedID = numeric_limits<int>::max();
65 pid = numeric_limits<int>::max();
66 z = numeric_limits<double>::max();
67 dr = numeric_limits<double>::max();
68 ene = numeric_limits<double>::max();
69 pt = numeric_limits<double>::max();
70 eta = numeric_limits<double>::max();
71 phi = numeric_limits<double>::max();
76 vector<string> members = {
95 const bool isLessThan = (
111 const bool isGreaterThan = (
119 return isGreaterThan;
132 CstInfo(
int t,
int id,
double z,
double d,
double e,
double p,
double h,
double f, optional<int> eid = nullopt, optional<int>
pdg = nullopt) {
133 SetInfo(t,
id, z, d, e, p, h, f, eid,
pdg);
144 return ((cst >= minimum) && (cst <= maximum));