ATLAS Offline Software
Enumerations | Functions
jet::CompFlavorLabelVar Namespace Reference

Enumerations

enum  TypeEnum {
  UNKNOWN =0, t_qqb, t, V_qq,
  W_qq, Z_qq, W_qq_From_t, t_other,
  q
}
 

Functions

TString enumToString (const TypeEnum type)
 
TypeEnum stringToEnum (const TString &type)
 

Enumeration Type Documentation

◆ TypeEnum

Enumerator
UNKNOWN 
t_qqb 
V_qq 
W_qq 
Z_qq 
W_qq_From_t 
t_other 

Definition at line 130 of file UncertaintyEnum.h.

131  {
132  UNKNOWN=0, // error state
133  t_qqb, // full-contained top
134  t, // inclusive top
135  V_qq, // W/Z->qq
136  W_qq, // W->qq
137  Z_qq, // Z->qq
138  W_qq_From_t,// t->W->qq
139  t_other, // inclusive top but not contain t_qqb
140  q // background jet
141  };

Function Documentation

◆ enumToString()

TString jet::CompFlavorLabelVar::enumToString ( const TypeEnum  type)

Definition at line 403 of file UncertaintyEnum.cxx.

404  {
405  switch (type)
406  {
407  case t_qqb: return "t_qqb";
408  case t: return "t";
409  case V_qq: return "V_qq";
410  case W_qq: return "W_qq";
411  case Z_qq: return "Z_qq";
412  case W_qq_From_t: return "W_qq_From_t";
413  case t_other: return "t_other";
414  case q: return "q";
415  default: return "UNKNOWN";
416  }
417  }

◆ stringToEnum()

TypeEnum jet::CompFlavorLabelVar::stringToEnum ( const TString &  type)

Definition at line 419 of file UncertaintyEnum.cxx.

420  {
421  if (type=="t_qqb")
422  return t_qqb;
423  if (type=="t")
424  return t;
425  if (type=="V_qq")
426  return V_qq;
427  if (type=="W_qq")
428  return W_qq;
429  if (type=="Z_qq")
430  return Z_qq;
431  if (type=="W_qq_From_t")
432  return W_qq_From_t;
433  if (type=="t_other")
434  return t_other;
435  if (type=="q")
436  return q;
437  return UNKNOWN;
438  }
python.StoreID.UNKNOWN
int UNKNOWN
Definition: StoreID.py:16
jet::CompFlavorLabelVar::V_qq
@ V_qq
Definition: UncertaintyEnum.h:135
jet::CompFlavorLabelVar::t
@ t
Definition: UncertaintyEnum.h:134
jet::CompFlavorLabelVar::W_qq_From_t
@ W_qq_From_t
Definition: UncertaintyEnum.h:138
jet::CompFlavorLabelVar::q
@ q
Definition: UncertaintyEnum.h:140
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
jet::CompFlavorLabelVar::W_qq
@ W_qq
Definition: UncertaintyEnum.h:136
jet::CompFlavorLabelVar::t_other
@ t_other
Definition: UncertaintyEnum.h:139
jet::CompFlavorLabelVar::t_qqb
@ t_qqb
Definition: UncertaintyEnum.h:133
jet::CompFlavorLabelVar::Z_qq
@ Z_qq
Definition: UncertaintyEnum.h:137
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
extractSporadic.q
list q
Definition: extractSporadic.py:98
jet::Interpolate::UNKNOWN
@ UNKNOWN
Definition: UncertaintyEnum.h:242